Parent Issue
Part of #118 (FUSE-based Archive & Remote Browsing Feature)
Summary
Add ability to unmount the current mounted filesystem from the menu.
Dependencies
Requires #123 (rclone integration) - menu structure already in place
Tasks
Action Enum
Menu Integration
Dynamic Menu State
App Method
Edge Cases
Testing
- Test
UNMOUNT action triggers unmount
- Test unmount navigates panel outside mount before unmounting
- Test unmount fails gracefully when not in mount
- Test "Unmount current" menu item enabled/disabled based on path
Files
- Modify:
tnc/app.py
- Modify:
tnc/menu.py
Parent Issue
Part of #118 (FUSE-based Archive & Remote Browsing Feature)
Summary
Add ability to unmount the current mounted filesystem from the menu.
Dependencies
Requires #123 (rclone integration) - menu structure already in place
Tasks
Action Enum
UNMOUNT = auto()to Action enumMenu Integration
'unmount': Action.UNMOUNTtoMENU_ACTION_MAPDynamic Menu State
App Method
Action.UNMOUNTin run loopApp._unmount_current():mount_manager.get_mount_for_path()mount_manager.unmount(mount_point)Edge Cases
Testing
UNMOUNTaction triggers unmountFiles
tnc/app.pytnc/menu.py