Improve context menus, add folder delete, fix dev version string#50
Merged
antoninbas merged 1 commit intomainfrom Apr 18, 2026
Merged
Improve context menus, add folder delete, fix dev version string#50antoninbas merged 1 commit intomainfrom
antoninbas merged 1 commit intomainfrom
Conversation
Context menu changes: - Top-level folders (notes/, logs/): show "Open" only - User-created folders: show "Open" and "Delete" - Note files: show "Open", "Edit" (opens in edit mode), and "Delete" - Log files: show "Open" and "Delete" (no Edit) - Fix Open action for folders (capture entry before clearing menu signal) New folder delete capability added end-to-end: - core/notes.ts: deleteFolder() using fs.rm recursive - core/router.ts + core/client.ts: route deleteFolder through server or direct - web/api/notes.ts: DELETE /api/notes/folder endpoint - web/app/lib/api.ts: notes.deleteFolder() frontend helper Version string fix: - scripts/build.js now runs git describe at build time - Dev builds show "0.11.0-dev.3+gabc1234" instead of plain "0.11.0" - Release builds (exact tag) still show clean "0.11.0" Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
notes/,logs/): Open onlydeleteFoldercapability (core/notes.ts→ router → HTTP client →DELETE /api/notes/folderendpoint → frontend API helper)scripts/build.jsnow runsgit describeat build time so dev builds show0.11.0-dev.3+gabc1234instead of the misleading plain0.11.0Bug fixes included
Test plan
notes/orlogs/top-level folder → only "Open" appears, clicking it navigates in0.11.0-dev.N+gXXXXXXX🤖 Generated with Claude Code