Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改VideoModel #212

Merged
merged 23 commits into from
Jan 22, 2025
Merged

修改VideoModel #212

merged 23 commits into from
Jan 22, 2025

Conversation

putianyi889
Copy link
Collaborator

@putianyi889 putianyi889 commented Jan 20, 2025

  • 增加GeneratedField: cl_s, ce_s, ioe, thrp, corr
    • 删除ExpandVideoModel中如上五个域
    • 更新配套前后端
  • 增加view_utils.refresh_video的测试
  • 增加flake8测试代码规范
    • 忽略超长行报错
    • 忽略try except没有指定错误类型的问题(我不懂都有哪些类型)
    • 大量的代码格式化,过测flake8

- 增加GeneratedField: `cl_s`, `ce_s`, `ioe`, `thrp`, `corr`
- 删除ExpandVideoModel中如上五个域
- 更新view_utils.refresh_video以适应改动
- 增加view_utils.refresh_video的测试
@putianyi889 putianyi889 changed the title 修改VideoModel1 修改VideoModel Jan 20, 2025
@putianyi889 putianyi889 marked this pull request as ready for review January 22, 2025 09:22
@putianyi889 putianyi889 merged commit 9b41274 into eee555:dev Jan 22, 2025
3 checks passed
@putianyi889 putianyi889 mentioned this pull request Jan 22, 2025
Merged
eee555 added a commit that referenced this pull request Jan 22, 2025
* Update HomeView.vue (#211)

Co-authored-by: Tianyi Pu <[email protected]>

* 修改VideoModel (#212)

* 修改VideoModel1

- 增加GeneratedField: `cl_s`, `ce_s`, `ioe`, `thrp`, `corr`
- 删除ExpandVideoModel中如上五个域
- 更新view_utils.refresh_video以适应改动
- 增加view_utils.refresh_video的测试

* add flake8 tests

* Create flake8.yml

* Update backend.yml

* Update flake8.yml

* 格式化videomanager

* Update flake8.yml

* 格式化

* 格式化

* 格式化

* 格式化

* 格式化

* 格式化

* 格式化

* 格式化

* 格式化

* 忽略try except没有指定错误类型的问题

* fix

* 上传录像

* 增加flake8-commas测试

* fix

* 录像页、录像上传

* gzip压缩response (#213)

经测试,访问一个240录像用户主页,使用该middleware前响应大小34082B,使用后响应大小3683B

* 优化前端加载性能 (#214)

* 优化前端加载性能

- 个人主页的tab改用异步加载。#180 的改动取消了ms-toollib的异步引入,导致加载开销明显变大。此PR通过异步加载整个UploadView组件解决了这个问题。
- AccountLinkManager的子组件改用异步加载,未绑定账号的用户不会加载相应的子组件。
- vite打包使用gzip,使得加载内容减少了约三分之二

* Update package.json

* fix: 账号关联信息不显示 (#215)

---------

Co-authored-by: eee555 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant