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

editor效率提高 #71

Closed
lzhmarkk opened this issue May 15, 2020 · 1 comment
Closed

editor效率提高 #71

lzhmarkk opened this issue May 15, 2020 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@lzhmarkk
Copy link

Tags edit页面的效率亟待提高

比如修改一个Tag的类型(string→integer),目前分为以下几步:

  1. save project(不是asset是project,700k数据,用时2s-10s不等)
  2. load project(同上)
  3. 修改前端的tag的属性

我认为上述1、2两步是不必要的,理想流程如下:

  1. 备份旧的tag属性,修改前端tag的属性成新值
  2. 发送tag修改请求
  3. 根据返回值确定修改成功与否,成功则清除备份、失败则恢复备份并提示

当然仅仅退出页面时统一保存一次,全部做成异步的更好

@lzhmarkk lzhmarkk added the enhancement New feature or request label May 15, 2020
lzhmarkk added a commit that referenced this issue May 15, 2020
meta改变的时候不saveProject,saveProject时不再需要从azure读取 && 删减了debug信息

comment #71
@lzhmarkk lzhmarkk added bug Something isn't working and removed enhancement New feature or request labels May 15, 2020
@lzhmarkk lzhmarkk changed the title enhancement:editor效率提高 editor效率提高 May 15, 2020
@lzhmarkk lzhmarkk added this to the beta milestone May 20, 2020
@lzhmarkk
Copy link
Author

修剪了很多不必要的数据交换,但是一点小改动就要saveProject的老问题没改(祖传bug,成本太高)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants