Skip to content

feat: add move file/directory option to FileTree context menu#343

Merged
rjroy merged 1 commit intomainfrom
feat/330-move-files
Jan 17, 2026
Merged

feat: add move file/directory option to FileTree context menu#343
rjroy merged 1 commit intomainfrom
feat/330-move-files

Conversation

@rjroy
Copy link
Copy Markdown
Owner

@rjroy rjroy commented Jan 17, 2026

Summary

  • Adds a Move option to the FileTree context menu for files and directories
  • Opens a dialog with a mini file tree for selecting the destination directory
  • Shows live path preview of the destination location
  • Automatically updates all wikilinks and markdown links after moving
  • Prevents moving directories into themselves or their subdirectories

Closes #330

Test plan

  • Open the Recall tab and navigate the file tree
  • Right-click a file and select "Move" from the context menu
  • Verify the MoveDialog opens with a mini file tree
  • Select a different destination directory and verify the path preview updates
  • Click Move and verify the file is moved to the new location
  • Verify any wikilinks/markdown links to the file are updated
  • Test moving a directory and verify contents are preserved
  • Verify you cannot move a directory into itself or its subdirectories

🤖 Generated with Claude Code

Adds a Move option to the FileTree context menu that opens a dialog
with a mini file tree for selecting the destination directory. After
moving, all wikilinks and markdown links are automatically updated.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 17, 2026

Codecov Report

❌ Patch coverage is 93.36870% with 25 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
frontend/src/components/MoveDialog.tsx 91.76% 14 Missing ⚠️
frontend/src/components/FileTree.tsx 80.76% 10 Missing ⚠️
frontend/src/components/BrowseMode.tsx 85.71% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@rjroy rjroy merged commit 7626ac5 into main Jan 17, 2026
2 checks passed
@rjroy rjroy deleted the feat/330-move-files branch January 17, 2026 22:12
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.

Move file/directory option

1 participant