-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Feature/hide seedphrase when restoring vault #9329
Conversation
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.
Looks good! A couple of questions and one suggested change.
ui/app/pages/keychains/index.scss
Outdated
} | ||
|
||
.import-account__input { | ||
width: 350px; | ||
} | ||
&__input-label__disabled { | ||
opacity: 0.5; | ||
} |
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.
While we're here, we should do this and change the corresponding classname in the file:
} | |
.import-account__input { | |
width: 350px; | |
} | |
&__input-label__disabled { | |
opacity: 0.5; | |
} | |
&--disabled { | |
opacity: 0.5; | |
} | |
} |
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.
ISTM that this class isn't being used in either of the vault files 🤔
Builds ready [946fabf]
Page Load Metrics (422 ± 63 ms)
|
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.
LGTM!
Once upon a time I made a PR to hide the seed phrase (treat it as password) on seed phrase import here: #8730
this PR adds that same functionality to
restore-vault
which I missed the first time.I also moved the error feedback just under the
textarea
now:instead of:
consistency++
opening as a Draft as I am sure this is likely to break some tests.tests are passing now.