Repository navigation
Hide recycled nested pages from All Pages - #13492
Merged
tiensonqin merged 1 commit intoSep 30, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔍 Devin Review: 2 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
All Pages and Graph View listed child pages after their parent was moved to Recycle, because the id-only exclude set only dropped pages with a direct deleted-at/hide flag. Co-authored-by: Tienson Qin <[email protected]>
tiensonqin
force-pushed
the
logseq/fix-recycled-child-pages-all-pages-ba85
branch
from
September 30, 2026 10:33
c755e8e to
c6dc222
Compare
tiensonqin
deleted the
logseq/fix-recycled-child-pages-all-pages-ba85
branch
September 30, 2026 10:33
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Sep 30, 2026
Co-authored-by: Tienson Qin <[email protected]> Signed-off-by: Tienson Qin <[email protected]>
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 1, 2026
All Pages and Graph View listed child pages after their parent was moved to Recycle, because the id-only exclude set only dropped pages with a direct deleted-at/hide flag. Co-authored-by: Cursor Agent <[email protected]>
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 1, 2026
Co-authored-by: Tienson Qin <[email protected]> Signed-off-by: Tienson Qin <[email protected]>
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 8, 2026
All Pages and Graph View listed child pages after their parent was moved to Recycle, because the id-only exclude set only dropped pages with a direct deleted-at/hide flag. Co-authored-by: Cursor Agent <[email protected]>
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 8, 2026
Co-authored-by: Tienson Qin <[email protected]> Signed-off-by: Tienson Qin <[email protected]>
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 8, 2026
All Pages and Graph View listed child pages after their parent was moved to Recycle, because the id-only exclude set only dropped pages with a direct deleted-at/hide flag. Co-authored-by: Cursor Agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes logseq/db-test#1333
Behavior
Moving a parent page to Recycle now hides its nested child pages from All Pages (first window, full list, and title filters). Graph View All Pages uses the same descendant contract.
ldb/get-all-pagesalready walked hidden/deleted parents and now has a regression test.Cause
All Pages' id-only exclude set only dropped pages with a direct
:logseq.property/deleted-ator:logseq.property/hide?datom. A nested#Pagechild keeps its own name and is recycled only through its parent, so it stayed listed.Tests
ldb/get-all-pages, and Graph View All Pages.pnpm test-vindeps/dbfor the new All Pages cases: 3 tests, 13 assertions, 0 failures.logseq.db.common.view-test: 44 tests, 141 assertions, 0 failures.bb dev:lint-and-test: clj-kondo 0 errors / 0 warnings, all unit batches 0 failures (includesfrontend.worker.graph-view-test).