Skip to content

fix: preserve parent tag expanded state on child create/delete (#142)#151

Open
kenforthewin wants to merge 1 commit intomainfrom
fix/issue-142-tag-collapse-state
Open

fix: preserve parent tag expanded state on child create/delete (#142)#151
kenforthewin wants to merge 1 commit intomainfrom
fix/issue-142-tag-collapse-state

Conversation

@kenforthewin
Copy link
Copy Markdown
Owner

Replace w.atom_count (stored at wiki generation time) with a live subquery counting current atoms from atom_tags. This ensures the wiki list view always shows the correct source count matching the actual tagged atoms.

- Persist expandedTagIds in localStorage so expansion state survives reloads
- Call expandTagPath after creating child tag to ensure parent stays expanded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant