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

Persistent document tree expansion state #10652

Open
TCOTC opened this issue Mar 19, 2024 · 7 comments
Open

Persistent document tree expansion state #10652

TCOTC opened this issue Mar 19, 2024 · 7 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Mar 19, 2024

存储文档树展开状态

In what scenarios do you need this feature?

笔记本比较多、文档层级也很深,每次都要重新展开文档树比较麻烦,所以需要在重载界面、重启软件后恢复上次的文档树展开状态

如何保持文档树展开状态?投票 - 链滴

#6098

Describe the optimal solution

在重载界面、重启软件后恢复上次的文档树展开状态

Describe the candidate solution

No response

Other information

No response

@TCOTC
Copy link
Contributor Author

TCOTC commented Mar 19, 2024

另外不要折叠一下展开的文档就把低层级的文档也全部折叠了,举个例子就是:

原本是这样展开的:

image

但折叠了 【领域】创作 之后再展开,就会发现 写作 也被折叠了:

image

@88250
Copy link
Member

88250 commented Mar 20, 2024

保留子级的折叠状态在需要收起时会很麻烦,所以暂时不考虑了。

@88250 88250 added this to the backlog milestone Mar 20, 2024
@88250 88250 changed the title 存储文档树展开状态 Persistent document tree expansion state Mar 20, 2024
@realysy
Copy link

realysy commented Mar 21, 2024

保留子级的折叠状态在需要收起时会很麻烦,所以暂时不考虑了。

需要收起时,对收起按钮双击或者长按方便实现吗?

图片

@88250
Copy link
Member

88250 commented Mar 21, 2024

@realysy 双击操作不考虑了,会和展开冲突。长按的话好像桌面端没有这种交互逻辑,也不考虑了哦。

@realysy
Copy link

realysy commented Mar 21, 2024

好的吧

@Dayflare
Copy link

i would really like this feature. It's useful especially if you have many documents in your tree.

@LoneFireBlossom
Copy link

LoneFireBlossom commented Apr 16, 2024

@realysy 双击操作不考虑了,会和展开冲突。长按的话好像桌面端没有这种交互逻辑,也不考虑了哦。

这个操作参考macOS Finder,按住option键,在这种视图下,按住option键点击箭头可以一键展开所有目录(展开到层级的尽头,就是有20层也全部展开到底);在箭头展开的情况下,按住option键点击箭头可以一键收起整个目录。
image

另外在这种视图下macOS也会记忆之前文档树展开的情况。

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

No branches or pull requests

6 participants