Skip to content
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

Merged
merged 6 commits into from
Sep 2, 2020

Conversation

rickycodes
Copy link
Contributor

@rickycodes rickycodes commented Aug 31, 2020

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:

image

instead of:

image

consistency++

opening as a Draft as I am sure this is likely to break some tests.

tests are passing now.

@rickycodes rickycodes requested a review from a team as a code owner August 31, 2020 00:30
@rickycodes rickycodes changed the title Feature/hide seedphrase restore vault Feature/hide seedphrase when restoring vault Aug 31, 2020
Copy link
Member

@rekmarks rekmarks left a 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.

Comment on lines 154 to 158
}

.import-account__input {
width: 350px;
}
&__input-label__disabled {
opacity: 0.5;
}
Copy link
Member

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:

Suggested change
}
.import-account__input {
width: 350px;
}
&__input-label__disabled {
opacity: 0.5;
}
&--disabled {
opacity: 0.5;
}
}

Copy link
Contributor Author

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 🤔

ui/app/pages/keychains/restore-vault.js Show resolved Hide resolved
@metamaskbot
Copy link
Collaborator

Builds ready [946fabf]
Page Load Metrics (422 ± 63 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint29403331
domContentLoaded25664242113263
load25764442213263
domInteractive25664242013263

Copy link
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rickycodes rickycodes merged commit f281df3 into develop Sep 2, 2020
@rickycodes rickycodes deleted the feature/hide-seedphrase-restore-vault branch September 2, 2020 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants