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

Show origin in connect flow rather than site name #8885

Merged
merged 1 commit into from
Jul 2, 2020

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jul 2, 2020

The designs for the connect flow show the site origin below the site icon rather than the site name. This was done for security reasons, and because the site name is often set to an unwieldy long string.

This was accidentally undone in #8815 in the process of fixing a separate bug. The origin has now been restored. More specific PropTypes have been set on each use of the domainMetadata prop as well.

The designs for the connect flow show the site `origin` below the site
icon rather than the site name. This was done for security reasons,
and because the site name is often set to an unwieldy long string.

This was accidentally undone in #8815 in the process of fixing a
separate bug. The origin has now been restored. More specific PropTypes
have been set on each use of the `domainMetadata` prop as well.
@Gudahtt Gudahtt force-pushed the show-origin-on-connect-flow-instead-of-site-name branch from d94fdfa to 57f4ea5 Compare July 2, 2020 15:43
@Gudahtt Gudahtt marked this pull request as ready for review July 2, 2020 15:54
@Gudahtt Gudahtt requested a review from a team as a code owner July 2, 2020 15:54
@Gudahtt
Copy link
Member Author

Gudahtt commented Jul 2, 2020

Screenshots:

Before:

connect

After:

after-connect

@metamaskbot
Copy link
Collaborator

Builds ready [57f4ea5]
Page Load Metrics (751 ± 59 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint30125592814
domContentLoaded44184674912359
load44284675112359
domInteractive44084574912359

@Gudahtt Gudahtt merged commit e441072 into develop Jul 2, 2020
@Gudahtt Gudahtt deleted the show-origin-on-connect-flow-instead-of-site-name branch July 2, 2020 17:08
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.

3 participants