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

UI: 升级 sidebar 的规约 #465

Open
2 of 10 tasks
zozoh opened this issue Aug 1, 2018 · 1 comment
Open
2 of 10 tasks

UI: 升级 sidebar 的规约 #465

zozoh opened this issue Aug 1, 2018 · 1 comment

Comments

@zozoh
Copy link
Owner

zozoh commented Aug 1, 2018

需求

考虑到一个域可能数据比较多,原来简单的 sidebar 模式可能有点不适用了,为此考虑做如下修改:

  • 侧边栏如果项目众多,应该支持自动收纳,即超出的部分收纳在一个 更多 按钮里,点击会出现一个弹出层,以便使用更多的屏幕空间
  • 项目支持节点类型,在右侧展现的是一个类似树形的结构
    • 如果在弹出层里,则会想文件夹一样,一层层进入
    • 节点项目右侧有弹出层按钮,点击的话,会展出弹出层,像文件夹一样进入
    • 节点还是不换行,超出的文字部分要截断,显示省略号
    • 节点有刷新按钮可以重新强制加载数据,否则懒加载
    • 节点的展开状态,是要本地记录的,同时允许多个节点展开
    • 右侧编辑器,还是会用老办法,自动寻找对应的高亮节点

任务

@zozoh
Copy link
Owner Author

zozoh commented Aug 5, 2018

mind_sidebar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant