-
-
Notifications
You must be signed in to change notification settings - Fork 21
Added Remind me to save the backup key in onboarding while registration and in activity page. #3015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3015 +/- ##
==========================================
+ Coverage 41.37% 41.49% +0.12%
==========================================
Files 891 897 +6
Lines 56168 56299 +131
==========================================
+ Hits 23237 23359 +122
- Misses 32931 32940 +9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ption-backup-key # Conflicts: # app/lib/features/onboarding/pages/onboarding_page.dart
This is the wrong way around. The dialog and destruction should happen on the "I saved the Key"-side of the flow. The "remind me later" should just be going ahead without any destruction. |
Amazing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to see the tests, but there are some logical and technical bugs that we need to address before we can merge this.
app/lib/features/activities/actions/destroy_enc_key_action.dart
Outdated
Show resolved
Hide resolved
app/lib/features/activities/actions/key_storage_urgency_action.dart
Outdated
Show resolved
Hide resolved
.../features/activities/widgets/security_and_privacy_section/store_the_key_securely_widget.dart
Outdated
Show resolved
Hide resolved
.../features/activities/widgets/security_and_privacy_section/store_the_key_securely_widget.dart
Outdated
Show resolved
Hide resolved
.../features/activities/widgets/security_and_privacy_section/store_the_key_securely_widget.dart
Outdated
Show resolved
Hide resolved
app/test/features/activity/store_encryption_widgets/remindme_key_dialog_test.dart
Show resolved
Hide resolved
app/test/features/activity/store_encryption_widgets/store_the_key_securely_widget_test.dart
Outdated
Show resolved
Hide resolved
Ok, got it addressed in this commit |
Implement, #3007
This PR introduces significant changes to the encryption key management flow during user onboarding and in the security and privacy settings area. The key enhancements are as follows:
1. Updated Onboarding Flow for Encryption Key
2. New Reminder Placement in Activity Page
A persistent reminder to store the encryption key is now shown under the Security & Privacy section of the Activity Page, visible only if the key is still available or has been reset via settings.
When users click "Show the key", they are shown a dialog with the option "Don't remind me again":
If selected, the key is destroyed.
3. Visual Feedback for Key Storage Status
1. Normal (Default): Key not yet restored, but created within the last 2–3 days.
2. Warning: Key not securely stored between 3–7 days.
3. Critical (Red): Key not securely stored beyond 7 days.
Reference video (when user clicks i saved it for later):
Screen.Recording.2025-05-28.at.12.33.22.PM.mov
Reference video (when user clicks the remind me about later):
Screen.Recording.2025-05-28.at.12.37.41.PM.mov
Reference video (in activity when user clicks on don't remind me again):
Screen.Recording.2025-05-28.at.12.44.36.PM.mov
Reference video ( when user reset the key from setting then it user can see that key in activity):
Screen.Recording.2025-05-28.at.12.45.48.PM.mov
Reference image (when the user doesn't store securely for 2-3 days):
Reference image (when the user doesn't store securely for 3-7 days):
Reference image (when the user doesn't store securely for 7+ days):