Unable to create multiple pages with same name but different type
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?
The [documentation](https://github.com/logseq/docs/blob/master/db-version.md) sais:
> Page names are unique by tag e.g. there can be Apple #Company and Apple #Fruit.
This does not work anymore. It creates an empty block on the first page instead!
Demo: https://youtu.be/i7VTp9H61C8?si=6dYV7VVPLH_Vw--A&t=36 (i interpreted the quote mentioned later wrong. please ignore that)
### Reproduce the Bug
1. Create page "Apple #Company"
2. Then try to create page "Apple #Fruit"
### Expected Behavior
A second page is created.
### Screenshots
_No response_
### Files
_No response_
### Browser, Desktop or Mobile Platform Information
NixOS 26.05.4193.a50de1b7d8a5
Logseq-linux-x86_64-2.0.1-alpha+nightly.20260710
### Additional Context
This is an important feature. Please prioritize fixing it.
I tried to import both pages from EDN, but i ended up with one page with both tags.
Demo: https://youtu.be/2jwlVf3FZtI?si=XkPi_Lh0r9zbAEQC&t=49
```
{:pages-and-blocks
[{:page
{:build/tags #{:user.class/Firma-HacVBUZC}, :block/title "Apfel"},
:blocks [{:block/title ""} {:block/title ""}]}],
:classes {:user.class/Firma-HacVBUZC {:block/title "Firma"}},
:logseq.db.sqlite.export/export-type :page}
```
```
{:pages-and-blocks
[{:page
{:build/tags #{:user.class/Frucht-GhI7U-kc}, :block/title "Apfel"},
:blocks [{:block/title ""} {:block/title ""}]}],
:classes {:user.class/Frucht-GhI7U-kc {:block/title "Frucht"}},
:logseq.db.sqlite.export/export-type :page}
```
(i'm using german names here because i messed up the english page)
#### Workaround
Have one page with tag 1
have the second page with a differen name and tag 2
the rename the second page to the same name of first. that works, because they have different tags. so the database accepts it, but the UI don't let me create the second page
### 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read db-version.md and reproduce the two page-creation steps on the listed Logseq build. Compare the UI result with the EDN import examples and the rename workaround; done means creating Apple #Company and Apple #Fruit produces two distinct pages without an empty block on the first.
Written by the indexing model from the issue text.
Assessment
- Domain
- database, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100