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

Improve display reference counts in the backlink panel #13678

Closed
TCOTC opened this issue Dec 31, 2024 · 6 comments
Closed

Improve display reference counts in the backlink panel #13678

TCOTC opened this issue Dec 31, 2024 · 6 comments
Assignees

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Dec 31, 2024

#13618

反链提及面板上的计数只在大于 1 时显示

image

@TCOTC TCOTC changed the title 反链面板文档上的计数只在大于 1 时显示 反链提及面板上的计数只在大于 1 时显示 Dec 31, 2024
@88250 88250 self-assigned this Dec 31, 2024
@88250 88250 added this to the 3.1.19 milestone Dec 31, 2024
@88250 88250 changed the title 反链提及面板上的计数只在大于 1 时显示 Improve display reference counts in the backlink panel Jan 1, 2025
@88250 88250 closed this as completed Jan 1, 2025
@TCOTC
Copy link
Contributor Author

TCOTC commented Jan 2, 2025

我这里还是会显示 1

image

@TCOTC
Copy link
Contributor Author

TCOTC commented Jan 5, 2025

@88250

@88250
Copy link
Member

88250 commented Jan 5, 2025

文档旁边这个是下面引用计数的总计,显示 1 是有意义的,不展开的情况下可以看出有多少。

这个 issue 改的是下面编辑器中的角标,只有大于 1 才显示:

image

但其实我觉得无论是否大于 1 都应该显示,嵌入块也有类似的 #7191

image

image

@88250 88250 reopened this Jan 5, 2025
@88250
Copy link
Member

88250 commented Jan 5, 2025

还是都显示吧,只要大于 0 就显示角标了。

@88250 88250 removed this from the 3.1.19 milestone Jan 5, 2025
@88250 88250 closed this as completed Jan 5, 2025
@TCOTC
Copy link
Contributor Author

TCOTC commented Jan 5, 2025

文档旁边这个是下面引用计数的总计,显示 1 是有意义的,不展开的情况下可以看出有多少。

就是说这里可以优化一下,只有 1 的时候不显示,反过来不显示数字的时候就能判断是 1

一排 1 过去感觉界面不够简洁

@88250
Copy link
Member

88250 commented Jan 5, 2025

呃……这个逻辑还是统一好,其他地方都是这样统计的吧。

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

2 participants