-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
[Bug]: Tag issues #505
Comments
Title: [Bug]: After updating to 2.3.57, the problem of NaN displayed on multi-level labels in the label panel has been improved, but only the second to last level has been improved. Labels at all levels above will still display NaN. In addition, the panel display needs to be improved! |
内容2已经修复了 |
Content 2 has been fixed |
计数问题已经修复,样式稍作修改,但部分建议不考虑采纳 1、标签如果没有前边的图案,在设计上和筛选器没有统一的设计风格,会显得很怪异; |
The counting problem has been fixed and the style has been slightly modified, but some suggestions will not be considered for adoption.
|
我不同意你说的这个属于较为边界的极限情况! 对于用户来说,使用之前未使用过的多级标签的情况是很常见的,不会是极限边界问题。 其实标签右侧的统计数字显示为NaN的原因很简单,就是对于任何首次出现的标签,不管是作为独立标签,还是作为多级标签中的某一级,其对应统计变量正确声明并赋值为1的处理环节不够完善。 如果缺少了对首次出现标签的对应统计变量声明并赋值为数字1的操作,那么标签对应的统计数字变量会是undefined的状态, 只要面对任何首次出现的标签的初始化工作做好了,赋予了对应的记录次数的统计变量的正确数值,后续该标签再出现时的统计数字相应增加的计算,才会正常,从而避免出现 NaN的错误显示。 |
I don't agree with what you said, this is a relatively borderline extreme situation! It is common for users to use multi-level tags that have not been used before and will not be a boundary issue. In fact, the reason why the statistics on the right side of the label are displayed as NaN is very simple. That is, for any label that appears for the first time, whether as an independent label or as a certain level of multi-level labels, the corresponding statistical variable is correctly declared and assigned a value of 1. The processing links are not perfect enough. If there is no operation to declare and assign the corresponding statistical variable to the number 1 for the first occurrence of the label, then the statistical variable corresponding to the label will be in an undefined state. As long as the initialization work for any label that appears for the first time is done well, and the correct value of the statistical variable of the corresponding number of records is assigned, the subsequent calculation of the corresponding increase in statistics when the label appears again will be normal, thereby avoiding NaN error display. |
已经更新到最新的2.3.58,修复速度感人,感谢! |
It has been updated to the latest 2.3.58, the repair speed is impressive, thank you! |
Bug Description | BUG 描述
Thino已更新到2.3.57,标签面板多级标签显示NaN问题有改善,但只改善了倒数第二级标签,往上各级标签依然会显示NaN:
截图说明:
【1】新创建一个多级标签的卡片,各级标签都是首次出现
【2】倒数第二级标签已经可以正常显示,但是往上各级标签依然显示 NaN
【3】目前标签面板存在的显示不佳的地方及修改建议。
比较完善的标签面板式样,建议参考下图:
希望开发者对于以上问题,予以完善,谢谢!
Relevant Screenshot | 相关截图
No response
To Reproduce | 重现问题
No response
Obsidian Version | Obsidian 版本
1.5.11
Which editor are you using? (If applicable)
Checklist
The text was updated successfully, but these errors were encountered: