logseq / logseq/db-test

Root Tag is added to Extends when deselecting the Root Tag option

Open
#1,179 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Search first

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

### What Happened?

When configuring the **Extends** property on a tag page, selecting a tag other than **Root Tag** opens a popup that remains open.

If I then click **Root Tag** in the popup to deselect the option, **Root Tag is incorrectly added to the Extends value** instead of simply being removed from the selection.

### Reproduce the Bug

1. Open a tag page.
2. Configure the **Extends** property.
3. Select a tag other than **Root Tag**.
4. While the popup remains open, click **Root Tag** to deselect it.
5. Check the resulting **Extends** value.

### Expected Behavior

Root Tag should not be available as an option in the popup.

### Screenshots

Image

Image

### Files

_No response_

### Browser, Desktop or Mobile Platform Information

windows 11
logseq 2.0.1-alpha+nightly.20260907

### 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 issue on a tag page in the Extends property popup, then trace the selection handling for Root Tag when another tag is selected. Done means Root Tag is unavailable in the popup and clicking to deselect it no longer adds Root Tag to the Extends value.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.