Conversation
- Prevent user switching and page navigation when the application is busy (e.g., enrolling or deleting fingerprints) to avoid state corruption.
- Rename resource files to match the AppID `fi.joonastuomi.Fprint`:
- `resources/app.desktop` -> `resources/fi.joonastuomi.Fprint.desktop`
- `resources/app.metainfo.xml` -> `resources/fi.joonastuomi.Fprint.metainfo.xml`
- Update `justfile` to use the correct AppID and derived variable names for installation.
- Update Flatpak manifest `flatpak/fi.joonastuomi.Fprint.yml` to point to the renamed resource files.
…80875013408557 Fix AppModel busy logic and standardize resource naming
- Add `DeleteAllUsersPrints` variant to `Page` enum. - Implement `delete_fingers` function in `fprint.rs` for bulk deletion. - Update UI and logic in `mod.rs` to handle the new "Delete All" page. - Add localization key for the new page. - Update `as_finger_id()` to return `Option<&'static str>`.
Implemented a way to clear all fingerprints for all known system users. - Added `clear_all_fingers_dbus` helper in `src/app/fprint.rs`. - Added `ClearDevice` and `ClearComplete` messages. - Added a "Clear Device" button with a two-step confirmation. - Updated localization with warnings about orphaned fingerprints. - Improved error handling to capture failures during the clearing process.
…20024299952 Add delete all user fingerprints option
…603589 Add Clear Device feature
… deletion logic. - Added `delete_fingers` to `src/app/fprint.rs` for user-specific bulk fingerprint deletion. - Added `Message::CancelClear` to handle dialog dismissal. - Implemented `Application::dialog` in `src/app/mod.rs` to provide a modal confirmation for the "Clear Device" action. - Updated `AppModel::update` and `AppModel::view_controls` to support the new dialog-based workflow. - Bumped version to `0.3.11` and updated `CHANGES`.
Add Clear Device Confirmation Dialog and Fix Bulk Deletion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.