-
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
Part of #17670: Replace Typography with Text component #17959
Conversation
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. |
Hey @georgewrmarshall and @digiwand , |
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.
Hey @ayushj1910, Code looks good and screenshots are great! Just need to fix linting and other failing tests
Hey @georgewrmarshall, |
Hi @ayushj1910, have you tried |
Hey @digiwand , |
Hey @ayushj1910, I think there is something wrong with the setup on your local machine. I have not encountered that error before. Maybe try
The command appears to work on my end. The other tests may be failing because some of the file paths are not resolving. I have the lint fixes on my local. I can add them to this PR if you'd like |
Hey @digiwand , |
{t('addEthereumChainWarningModalListPointThree')} | ||
</Typography> | ||
</Text> | ||
</li> | ||
</ul> | ||
</Box> |
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.
@@ -135,7 +135,7 @@ export default function CreateNewVault({ | |||
className="create-new-vault__terms-label" | |||
htmlFor="create-new-vault__terms-checkbox" | |||
> | |||
<Typography as="span">{termsOfUse}</Typography> | |||
<Text as="span">{termsOfUse}</Text> | |||
</label> | |||
</div> | |||
) : null} |
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.
3901cb1
to
6c127e8
Compare
title={title} | ||
> | ||
{titleComponent || title} | ||
</Typography> | ||
</Text> | ||
) : null} | ||
</div> | ||
{hideSubtitle ? null : ( |
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.
Hey @ayushj1910, I've fixed the import and linting errors as well as added a storybook file for |
Hey @georgewrmarshall , |
Hey @ayushj1910, I would suggest creating another PR for more changes so we can make improvements iteratively and prevent stale PRs. I'm going force push back to where there are no merge conflicts. Once that passes we can merge this PR. I would suggested branching off of |
bd23f1c
to
66fbdfd
Compare
Codecov Report
@@ Coverage Diff @@
## develop #17959 +/- ##
===========================================
+ Coverage 63.86% 63.91% +0.06%
===========================================
Files 908 908
Lines 35390 35398 +8
Branches 8966 8975 +9
===========================================
+ Hits 22599 22624 +25
+ Misses 12791 12774 -17
... and 5 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
66fbdfd
to
f1d616c
Compare
f1d616c
to
d2ecd04
Compare
Hey @georgewrmarshall , |
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! I can't see any reason for the code coverage to be failing on this PR? Would recommend merging after 2 approvals
Explanation
This pull request has the changes which are required in issue #17670. It changes all the Typography components with Text components.
Files updated through this PR :
Screenshots/Screencaps
Before
``
confirmation-warning-modol.js
create-new-vault.js
cusotm-spending-tooltip-cap.js
After
confirmation-warning-modol.js
create-new-vault.js
cusotm-spending-tooltip-cap.js
Pre-merge author checklist
Pre-merge reviewer checklist
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.