Folder tree filter, right-click add menus, and reworked card layout - #196
Merged
Merged
Conversation
- Filter box (with clear "x" and Escape) on both folder trees: the left panel and the folder picker modal. Keeps matches plus their ancestors; "All notes" always shows. Branches auto-open while filtering without touching the saved expanded state. - Right-click on tree folders, "All notes", and folder-bar chips opens the folder menu at the cursor (create items for that folder). Right-click on empty notes background opens a create-only menu for the current folder. Note cards keep the browser's own context menu. - Extract the folder menu into a shared FolderMenu (viewport-clamped, Escape/outside-click to close) used by the tree, folder bar and background. - Card view: add Created date on its own line under the category, move the title to the top under it (2 lines before ellipsis), preview directly below, tags pinned to the bottom. - Unit tests for the filter/prune/menu-target helpers. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016UqmgUYdnBJ6ahmmJmWcNc
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.
Summary
Folder tree filter
Right-click menus
FolderMenucomponent (viewport-clamped, closes on Escape / outside click) used by the tree, the folder bar and the background. This also means folder-bar chips' ⋮ menu now includes the create items, matching the tree.Card view layout
Created … · Modified …, wraps on narrow cards, full timestamp on hover).Testing
tsc --noEmitclean;vitest164/164 (newfolderTree.test.tscovers filter, prune and menu-target helpers).🤖 Generated with Claude Code
https://claude.ai/code/session_016UqmgUYdnBJ6ahmmJmWcNc
Generated by Claude Code