9406d3f0e2f2da5268467a0a244d170d84260b34
This commit introduces a major refactoring of the settings and advanced settings panels to improve user experience and code structure.
Key Changes:
1. **Reset Functionality Refactored:**
- The "Default Settings" logic has been moved from `actions.py` into `settings_frame.py`, where it belongs.
- Clicking "Reset" now opens a dedicated view with separate options for a "Default Reset" and a "Hard Reset", each with clear explanations.
- A global "Cancel" button was added for this new view, and the layout of the components has been centered and cleaned up.
- Error handling for the reset process has been improved to show feedback in the header.
2. **Keyfile Creation UX Overhauled:**
- The "Automation Settings" (Keyfile) view in Advanced Settings is completely redesigned for clarity.
- It now explicitly displays the currently selected backup destination, so the user knows which container will be affected.
- A detailed description has been added to explain the purpose and prerequisites of creating a keyfile.
- The redundant "Apply" button is now hidden in this view.
- Feedback for keyfile creation (success or failure) is now shown as a temporary message in the header instead of a blocking dialog.
- Error messages are more informative, guiding the user on how to proceed (e.g., by creating an encrypted backup first).
3. **String Externalization:**
- All new UI text for the keyfile and reset features has been added to `pbp_app_config.py` to support translation.
Py-Backup
Screenshots
Instruction
Languages
Python
97.8%
Shell
2.2%