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

[REQUEST] TODO清单 #12

Open
3 of 9 tasks
SAKURA-CAT opened this issue Jun 14, 2024 · 1 comment
Open
3 of 9 tasks

[REQUEST] TODO清单 #12

SAKURA-CAT opened this issue Jun 14, 2024 · 1 comment
Assignees
Labels
new version For a new version of swanboard refactor Refactoring a certain part

Comments

@SAKURA-CAT
Copy link
Contributor

SAKURA-CAT commented Jun 14, 2024

分包完毕后准备开始写测试和重构前端的图表部分,在此处列出需要完成的事情——按照执行顺序排列。

后端测试部分 @Feudalman

  • pytest测试环境搭建,先文字和我说一下准备搭一些什么,然后再开始写
  • utils部分的测试——这块应该是轻松又愉快的
  • 更改module为model
  • db部分的测试,测试的过程中删除db_connect的向下兼容脚本(包括migrate)
  • middleware部分测试,这块可能需要重构,写到了再说
  • controller部分测试,这块应该涉及到fastapi的单元测试,可以查看其官方文档,到时候可以一起讨论一下

图表重构部分 @SAKURA-CAT @Feudalman

  • 写一个具体的重构方案
  • 重构媒体类型图表,采用使用部分数据的设计(可能需要增加接口),并且异步加载各个数据项
  • 整体框架可能需要改变?暂时没想好
@SAKURA-CAT SAKURA-CAT added refactor Refactoring a certain part new version For a new version of swanboard labels Jun 14, 2024
@Feudalman Feudalman mentioned this issue Jun 18, 2024
6 tasks
@SAKURA-CAT
Copy link
Contributor Author

测试暂时不写了,因为可能需要重新设计一下数据库,这块还需要评估

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new version For a new version of swanboard refactor Refactoring a certain part
Projects
None yet
Development

No branches or pull requests

2 participants