borg-backup-ui
borg-backup-ui copied to clipboard
Improve Browse & Restore navigation and multi-file/folder selection
Goal
Implement a revised Browse & Restore selection step with direct archive-folder navigation, a current-folder name filter, and persistent multi-file/folder selection. Approved for implementation by the maintainer after the initial analysis request.
Approved destination behavior
- One archive and one destination per operation.
- Multiple selections preserve paths below their common parent: Backup/Test1 and Backup/Test2 become Target/Test1 and Target/Test2.
- Different parent folders retain the intervening directories; duplicate names must not collide.
- Selecting a parent folder includes its descendants once. Existing single-directory target behavior remains supported.
Scope
- Checkbox selection with a persistent removable selection list and DE/EN text.
- Additive source_paths API contract, metadata precheck and source-to-destination preview.
- One locked Borg extraction on the target filesystem, literal path matching, skip/overwrite/rename behavior and durable history.
- Preserve repository/archive binding and allowed-target protections; clear selections when source context changes.
- Documentation, real Borg integration checks, UI state tests, and a test-channel candidate before stable approval.
Related to the previous tester request to restore Test1, Test2 and Test3 without restoring Test4 and Test5.