Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup node
Expand All @@ -30,3 +30,7 @@ jobs:
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
commit_message: ${{ github.event.head_commit.message }}
- name: Release
env:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
run: npx semantic-release
29 changes: 29 additions & 0 deletions doc/OKR@7.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 添加业务逻辑

## 将所有数据独立,通过请求获取

### 所有 mock 数据存放在`public\api`下,具体如下

| 功能区域 | 包含文件 | 文件目录 | 其他 |
| :------- | :-----------------------------------------------------------------------: | :------------: | :--- |
| 主页 | header.get.json; body.get.json | api\index | 无 |
| 登录 | logon.post.json | api\logon | 无 |
| 注册 | login.post.json | api\login | 无 |
| 稍后再看 | watchLater.get.json; add.post.json; removeAll.post.json;search.get.json; | api\watchLater | 无 |
| 视频播放 | \ | \ | 无 |

### 此工作的重点在于将主页等数据独立,其余页面在之前的请求基础上完善

## 完善导航栏拖动的一些问题

- 拖动排序后定位异常
- 拖动重新排序后,页面排序无变化
- 增加:导航栏在排序时高亮显示
- 增加:在拖动排序时禁用导航栏外区域

## 具体安排

| 任务 | 要求 | 时间 | 人员 |
| :----------- | :------------------------------------: | :--: | :----- |
| 添加业务逻辑 | 将所有数据独立,能够通过简单的步骤修改 | 7.7 | 张鹏鹏 |
| 完善导航栏 | 完成上述功能 | 7.11 | 张鹏鹏 |
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bilibili",
"version": "0.1.0",
"version": "0.0.0-development",
"private": true,
"repository": {
"type": "git",
Expand All @@ -21,7 +21,8 @@
},
"scripts": {
"start": "ts-node scripts/start.ts",
"build": "ts-node scripts/build.ts"
"build": "ts-node scripts/build.ts",
"semantic-release": "semantic-release"
},
"homepage": "https://bilibili.hamomo.top",
"devDependencies": {
Expand All @@ -33,6 +34,7 @@
"@types/webpack-dev-server": "^3.11.0",
"@typescript-eslint/eslint-plugin": "^2.19.0",
"@typescript-eslint/parser": "^2.19.0",
"ts-node": "^8.10.2",
"case-sensitive-paths-webpack-plugin": "2.1.1",
"chalk": "<2.0.0",
"css-loader": "0.28.7",
Expand All @@ -55,6 +57,7 @@
"react-dev-utils": "^5.0.1",
"sass-loader": "^7.0.3",
"sass-resources-loader": "^1.3.3",
"semantic-release": "^17.1.1",
"source-map-loader": "^0.2.1",
"style-loader": "0.19.0",
"sw-precache-webpack-plugin": "0.11.4",
Expand Down
88 changes: 0 additions & 88 deletions src/main/Body/Top/index.tsx

This file was deleted.

Loading