Conversation
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.
|
👋 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 feature adds a "Clear Device" button to the fingerprint enrollment application. Since the fprintd D-Bus API does not provide a single method to clear the whole device, this implementation iterates over all users known to the system (via AccountsService), claims the device for each, and deletes all their enrolled fingerprints.
A two-step confirmation process is implemented to prevent accidental deletions. The UI and localization have been updated to warn the user that this only affects known users and that hardware-level orphaned prints might remain.
Error handling has been improved to ensure that if any part of the clearing process fails, the user is notified.
Fixes #73
PR created automatically by Jules for task 8400983118941603589 started by @jotuel