-
Notifications
You must be signed in to change notification settings - Fork 983
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
Suppress back-up-seed prompt when already done (fixes #8938) #9105
Conversation
Pull Request Checklist
|
To reviewers, is the preference to suppress the whole security section when the backup seed has been saved, just the backup-seed menu option, or else to present the backup-seed option disabled? As currently coded, it suppresses the whole section since this is what the original issue states as the preferred outcome. |
Jenkins BuildsClick to see older builds (25)
|
src/status_im/ui/screens/privacy_and_security_settings/views.cljs
Outdated
Show resolved
Hide resolved
b5e9c84
to
e2b5b7d
Compare
@flexsurfer I fixed the merge conflict and it looks another security option around biometric auth got added so I moved the parens to just be around the backup seed phrase option. Unfortunately,my local environment has gotten hosed somehow so I'm not able to run the app locally so can't produce a new visual. Once I get it rebuilt, I'll post one but it may be a while. |
@andmironov That should be pretty straight-forward. Let me get my dev environment rebuilt and I can code that. @flexsurfer What do you think of that approach? |
UPD let's just grey it out with no "Done" not to confuse anyone ~figma https://www.figma.com/file/bPS9GrvMr7LnH7vnkmuveQfd/Settings?node-id=576%3A0 |
@flexsurfer @andmironov Is there an obvious way to override the default styling on the :title element in in the list-items section? I tried applying a conditional {:style {:color colors/gray}} to it and it threw an error. I guess I can always just show an alternate view using a nested-text element in that row but was curious if I'm missing something obvious. |
@acolytec3 you can use |
@acolytec3 |
src/status_im/ui/screens/privacy_and_security_settings/views.cljs
Outdated
Show resolved
Hide resolved
@andmironov @flexsurfer Here's a screengrab from the Android Emulator with the disabled prop and the chevron suppressed. Does this look about right? Here's the full screen. @churik I'm not sure what was happening before but it seems like the builds are working again with my latest push? I don't have access to the jenkins logs so can't tell you specifically what's wrong if anything. |
src/status_im/ui/screens/privacy_and_security_settings/views.cljs
Outdated
Show resolved
Hide resolved
59371e0
to
3596899
Compare
96% of end-end tests have passed
Failed tests (2)Click to expand
Passed tests (45)Click to expand
|
50% of end-end tests have passed
Failed tests (1)Click to expand
Passed tests (1) |
Tested (IOS 11.4.1, Android 8):
Failed e2e is not related to this PR. Thank you for excellent job @acolytec3 ! |
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
3596899
to
5ce678e
Compare
fixes #8938
Summary
Suppresses backup-seed-phrase option on Pirvacy & Security screen when already backed up
Platforms
Areas that maybe impacted
Privacy & Security Settings
Functional
Steps to test
status: ready
Visual representation on Android