logseq / logseq/db-test-cn

给节点添加 page 标签后的双链显示问题

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

如果给页面内节点添加 Page 标签,连接此节点的双链会显示此节点的层级关系,而双链代码本身则会正常显示。

如果在 Library 中 按 Shift+tab 将其脱离父级页面,则会将此节点连同下方节点一起脱离。下方节点变成该节点页面中的内容出现。只有提前将此节点移动到父级页面的底部,然后再进行上述步骤脱离,并且需要刷新一次数据库后,才能得到正确的结果。

### Reproduce the Bug

给页面中的节点添加 Page 标签

### Expected Behavior

1. 转换成页面的节点可以保留其页面层级关系。但不要在连接中显示,就像双链代码本身那样。
2. 节点脱离父级页面时,不会连同下方同级节点一起脱离。
3. 有办法能将页面转换成节点(指定为某个页面的子级)

### Screenshots

Image

### Browser, Desktop or Mobile Platform Information

Image

### Additional Context

_No response_

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior in Library: add a Page tag to a node, inspect its backlinks, then use Shift+Tab to detach it and refresh the database. Trace the page and node hierarchy handling involved; done means backlink displays omit hierarchy, detaching preserves sibling boundaries, and page-to-node conversion is supported as described.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.