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

Backlink count at the doc block title including sub-blocks #13791

Closed
88250 opened this issue Jan 11, 2025 · 5 comments
Closed

Backlink count at the doc block title including sub-blocks #13791

88250 opened this issue Jan 11, 2025 · 5 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Jan 11, 2025

文档块标题处的反链计数包含子块(即忽略 设置 - 编辑器 - 反向链接包含子块 开关状态,固定显示包含子块的计数),和文档树统一。

@88250 88250 added this to the 3.1.20 milestone Jan 11, 2025
@88250 88250 assigned 88250 and Vanessa219 and unassigned 88250 Jan 11, 2025
Vanessa219 added a commit that referenced this issue Jan 12, 2025
Vanessa219 added a commit that referenced this issue Jan 12, 2025
@Vanessa219
Copy link
Member

  1. 文档树浮窗改进高亮点
  2. 文档树和标题计数浮窗保持统一

@TCOTC
Copy link
Contributor

TCOTC commented Jan 13, 2025

data-defids 和 data-id 属性没有了,文档树和编辑器里没有浮窗:

image

image

Vanessa219 added a commit that referenced this issue Jan 13, 2025
Vanessa219 added a commit that referenced this issue Jan 13, 2025
@88250
Copy link
Member Author

88250 commented Jan 13, 2025

@TCOTC 还在改

Vanessa219 added a commit that referenced this issue Jan 13, 2025
Vanessa219 added a commit that referenced this issue Jan 13, 2025
Vanessa219 added a commit to siyuan-note/petal that referenced this issue Jan 13, 2025
@Vanessa219
Copy link
Member

相关接口修改

public addFloatLayer = (options: {
        refDefs: IRefDefs[],
        x?: number,
        y?: number,
        targetElement?: HTMLElement,
        originalRefBlockIDs?: IObject,
        isBacklink: boolean,
    })

ids: string[], defIds?: string[] 合并为 refDefs: { refID: string, defIDs?: string[] }[],其中 ids 对应 refDefs.refIDdefIds 对应 refDefs.defIDs

@TCOTC
Copy link
Contributor

TCOTC commented Jan 14, 2025

感觉是不是该算 Development ?

#13816

EightDoor added a commit to EightDoor/siyuan that referenced this issue Jan 22, 2025
* commit '2ee69394da22d5cdbd30ae46b36f0bb4c8e15de4': (101 commits)
  🔖 Release v3.1.20
  🎨 PNPM Lint
  📝 Update changelogs
  📝 Improve the user guide
  📝 Improve User Guide (siyuan-note#13825)
  🎨 siyuan-note#13793
  🎨 Improve workspace path checking siyuan-note#7569
  🎨 siyuan-note#13677
  🎨 siyuan-note#13801
  🎨 siyuan-note#13796
  🎨 siyuan-note#13735
  🎨 siyuan-note#13704
  🎨 Supports setting keep-alive notification text on Android siyuan-note#13815
  🎨 Improve the user guide
  🎨 siyuan-note#13704
  🎨 Backlink count at the doc block title including sub-blocks siyuan-note#13791
  🎨 Improve tree block stat siyuan-note#13811
  🎨 Improve text
  🎨 Backlink count at the doc block title including sub-blocks siyuan-note#13791
  🎨 siyuan-note#13791
  ...
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

3 participants