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

反链面板默认展开 #6083

Closed
Achuan-2 opened this issue Oct 7, 2022 · 17 comments
Closed

反链面板默认展开 #6083

Achuan-2 opened this issue Oct 7, 2022 · 17 comments
Assignees
Milestone

Comments

@Achuan-2
Copy link
Member

Achuan-2 commented Oct 7, 2022

在什么情况下你需要该特性?In what scenarios do you need this feature?

现在编辑器式反链面板默认折叠,只展示文档名称
还不如思源2.3.0版本之前的纯文本反链面板,能够按照反链类型展示层级,更能体现双链的价值,回顾之前的碎片记录

描述可能的最优解决方案 Describe the optimal solution

编辑器式反链面板自动展开各文档的反链内容,或者添加一键展开按钮

描述候选的解决方案 Describe the candidate solution

No response

其他信息 Other information

No response

@88250 88250 changed the title 编辑器式反链面板能否自动展开,或者添加一键展开按钮 反链面板自动展开或者添加一键展开按钮 Oct 7, 2022
@Vanessa219
Copy link
Member

新版默认展开一条,基本就可以占满屏幕了。
目前担心加载太多的话怕卡住,没敢加这个功能。

@88250
Copy link
Member

88250 commented Oct 9, 2022

这个估计还需要继续收集使用反馈,暂时先关闭了。

@88250 88250 closed this as completed Oct 9, 2022
@Achuan-2
Copy link
Member Author

Achuan-2 commented Oct 9, 2022

ok

@Achuan-2
Copy link
Member Author

Achuan-2 commented Oct 11, 2022

我觉得现在的反链面板的展示已经和编辑器实际内容是否折叠完全同步了,过去反链面板的展示规则貌似已经被抛弃了,比如传递型双链只展示下一级列表的内容,导致如果反链面板展开,就很容易变得很长,那能否让反链面板和编辑器的折叠相分离呢

@mozhux
Copy link

mozhux commented Oct 13, 2022

同求展开按钮,或者默认都折叠显示到第一段这样

@mdzz2048
Copy link
Contributor

我觉得现在的反链面板的展示已经和编辑器实际内容是否折叠完全同步了,过去反链面板的展示规则貌似已经被抛弃了,比如传递型双链只展示下一级列表的内容,导致如果反链面板展开,就很容易变得很长,那能否让反链面板和编辑器的折叠相分离呢

我也有这种感觉,还是希望可以有类似之前反链面板的展现方式。
之前按传递型双链的方式记了不少笔记。之前的反链面板有折叠,信息密度更高,可以快速查看反向链接的内容;如果需要看详细的笔记,可以用浮窗预览;如果笔记是折叠的,利用主题可以实现自动展开折叠列表,且不会影响编辑器实际折叠状态。目前的反链面板无法实现上述功能。

期望的效果:

  1. 反链面板按旧版逻辑折叠显示
  2. 反链面板折叠状态和编辑器分离
  3. 反链面板默认以折叠状态显示所有链接

@UserZYF
Copy link

UserZYF commented Oct 17, 2022

集市里边有朋友用js做出来这个功能了,加了个按钮在反向链接面板那里
https://ld246.com/article/1665991388222

@winter60
Copy link

这个结束了么

@MarsAuthority
Copy link

同求展开按钮,且能设置默认全部展开

@88250 88250 added this to the backlog milestone Jan 8, 2023
@88250 88250 changed the title 反链面板自动展开或者添加一键展开按钮 反链面板自动展开 Jan 8, 2023
@88250 88250 reopened this Jan 8, 2023
@88250 88250 changed the title 反链面板自动展开 反链面板默认展开 Jan 9, 2023
@Vanessa219
Copy link
Member

先默认展开8个试试吧

@ghost
Copy link

ghost commented Jan 9, 2023

先默认展开8个试试吧

可以实现的话还是全部展开吧,反链较多的话展开8个依然会用得很难受

@Vanessa219
Copy link
Member

太多的话怕电脑撑不住,还是要有限制的。

@ghost
Copy link

ghost commented Jan 9, 2023

太多的话怕电脑撑不住,还是要有限制的。

好滴,那能否参照动态加载让用户选择块数那样,这里也让用户选择默认展开条数呢?

@88250
Copy link
Member

88250 commented Jan 9, 2023

太多的话怕电脑撑不住,还是要有限制的。

好滴,那能否参照动态加载让用户选择块数那样,这里也让用户选择默认展开条数呢?

嗯,是个好主意。

88250 added a commit that referenced this issue Jan 9, 2023
@88250 88250 modified the milestones: backlog, 2.6.3 Jan 9, 2023
Vanessa219 added a commit that referenced this issue Jan 9, 2023
@88250
Copy link
Member

88250 commented Jan 9, 2023

image

@88250 88250 closed this as completed Jan 9, 2023
@88250
Copy link
Member

88250 commented Jan 9, 2023

另外,还会加入一个全部展开按钮。

@aptexd
Copy link

aptexd commented Jan 9, 2023

挺好,看来我的 i9-13900K、RTX 4090 需要提上日程了 🤣

Vanessa219 added a commit that referenced this issue Jan 9, 2023
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

9 participants