Skip to content

Conversation

@tnswo561412
Copy link

Summary

  • Add ability to move entire folders (including subfolders and notes) to a different location
  • Long-press a folder in the Browse tab to access the new "Move" button
  • Dialog allows browsing and selecting destination folder
  • Automatically handles name conflicts by appending a number suffix
  • Prevents invalid moves (e.g., moving a folder into itself)

Test plan

  • Long-press a folder and verify the move icon appears between rename and delete
  • Tap move icon and verify destination picker dialog opens
  • Navigate to different folders within the dialog
  • Move a folder to a new location and verify all contents are preserved
  • Attempt to move a folder into its own subfolder and verify error message
  • Move a folder to a location with a same-named folder and verify auto-rename

Allow users to move folders (with all subfolders and notes) to a different
location. This helps organize notes by grouping month-based folders (e.g.,
24-01, 24-02) into year folders (e.g., 2024).

- Add moveDirectory method to FileManager
- Create MoveFolderButton component with destination picker dialog
- Add move button to folder long-press menu in GridFolders
- Prevent moving folder into its own subdirectory
- Auto-rename folders on conflict (e.g., "folder (2)")
@tnswo561412
Copy link
Author

I understand you must be busy, but I would highly appreciate it if you could spare some time to review this PR. As a part of a university course assignment, feedback or a merge is crucial for my submission deadline.

Please let me know if there are any issues I need to resolve, or if you have specific feedback on the code. Thank you for your time!

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