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

Part of #17670: Replace Typography with Text component in beta-header/index.js #18964

Conversation

dhruvv173
Copy link
Contributor

Explanation

This PR partially fixes #17670
made changes to the beta-header/index.js component
ui/components/app/beta-header/index.js

Screenshots/Screencaps

Before

image

After

image

Manual Testing Steps

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes
  • Sufficient automated test coverage has been added

Pre-merge reviewer checklist

  • Manual testing (e.g. pull and build branch, run in browser, test code being changed)
  • PR is linked to the appropriate GitHub issue
  • IF this PR fixes a bug in the release milestone, add this PR to the release milestone

If further QA is required (e.g. new feature, complex testing steps, large refactor), add the Extension QA Board label.

In this case, a QA Engineer approval will be be required.

@dhruvv173 dhruvv173 requested a review from a team as a code owner May 2, 2023 19:33
@dhruvv173 dhruvv173 requested a review from Gtonizuka May 2, 2023 19:33
@github-actions
Copy link
Contributor

github-actions bot commented May 2, 2023

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@dhruvv173
Copy link
Contributor Author

Hey @georgewrmarshall @NidhiKJha
Could you guys please review this PR? It finally passed all the tests, attached the before/after screenshot and updated the snapshot as well.
Thanks!

Copy link
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

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

Looks great left one suggestion on an improvement that I missed in the other PR

Comment on lines 38 to 39
marginTop={0}
marginBottom={0}
Copy link
Contributor

Choose a reason for hiding this comment

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

The Text component doesn't have any default margins so you could remove these

Suggested change
marginTop={0}
marginBottom={0}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have made the suggested changes.
Please review the commit, thanks!

Copy link
Member

@NidhiKJha NidhiKJha left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for your contribution @dhruvv173

@NidhiKJha NidhiKJha merged commit 657b94c into MetaMask:develop May 3, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 3, 2023
@dhruvv173 dhruvv173 deleted the Part-of-#17670-Replace-Typography-with-Text-component branch July 25, 2023 10:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace deprecated Typography with Text component
4 participants