Repository navigation
feat(notes): a menu on each note in the tree to add inside, rename, move and delete - #412
Merged
Merged
Conversation
…ove and delete Each row of the notes tree has a ⋯ menu (always showing on a touch screen): add a note inside, rename in place (Enter saves, Escape leaves it), Move to… (find the note to put it in by name, never itself or a note inside it), Move to the top, and Delete with Undo. The navigation links and the tree scroll together, so a long tree has the whole height. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RrY2byt5BHVeBXJUyfwWpb
This was referenced Oct 15, 2026
Merged
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.
Requested by Adeel · project thread
Description
Before: the notes tree in the left navigation showed about three rows under the links, below the fold on a phone. A note could only be moved by dragging it (which a phone can't do), and couldn't be renamed or deleted from the tree.
After: each row has a ⋯ menu (always visible on a touch screen) to add a note inside, rename it in place (Enter saves, Escape leaves it), move it (Move to… finds the note to put it in by name, Enter takes the first; Move to the top) and delete it with Undo. The navigation links and the tree scroll together, so a long tree gets the whole height.
How:
components/notes/notes-tree.tsxgains the row menu, inline rename, aMoveTodialog on the sharedFindBox, and touch-visible row buttons ([@media(hover:none)]);components/app-shell/nav.tsxputs the links and the tree in one scroller. The existingPOST /notes/{pid}/move,PATCH /notes/{pid}andDELETE /notes/{pid}(with Undo from #409) do the work; no API change.Motivation and Context
Gap 6 of the notes UI audit (Adeel: "notes ui is very bad and is missing tons of things").
Steps to reproduce (if appropriate):
Notes tree → ⋯ on a note → Rename → type → Enter. ⋯ → Move to… → type part of another note's name → Enter. On a phone: open the navigation, the ⋯ shows on every row.
Types of changes
!in the title)Checklist:
make hookschecks it on commit).docs/accordingly.## UnreleasedinCHANGELOG.md.Done questions (AGENTS.md)
POST /notes/{pid}/move,PATCH /notes/{pid}andDELETE /notes/{pid}, and the assistant'supdate_notemoves notes.__tests__/notes-tree.test.tsx: rename, move into, move to the top, add inside, delete with Undo) and docs (docs/notes.md, The tree) updated. Local: web 904 passed.🤖 Generated with Claude Code
https://claude.ai/code/session_01RrY2byt5BHVeBXJUyfwWpb
Generated by Claude Code