Add Clear Device Confirmation Dialog and Fix Bulk Deletion#79
Add Clear Device Confirmation Dialog and Fix Bulk Deletion#79
Conversation
… 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`.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This submission fixes a bug where the "Clear Device" operation lacked a confirmation dialog and was missing the necessary bulk deletion logic. I implemented a modal dialog using the COSMIC
dialogwidget, added thedelete_fingersbackend function, and updated the application state and message handling to support a two-step confirmation process. The version has been bumped to 0.3.11.Fixes #78
PR created automatically by Jules for task 7823490878186087719 started by @jotuel