-
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 #18714 and #17670: Changes to nfts-detection-notice.js #19051
Part of #18714 and #17670: Changes to nfts-detection-notice.js #19051
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 Edit: 2 of my PRs today are failing are failing Label PR test due to (Resource not accessible by integration) error, otherwise everything works fine. |
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 @dhruvv173, code is looking good but could you please add some before/ after screenshots to ensure that there are no visual regressions as outlined in the acceptance criteria for the issue. Thanks!
You can create a story if you like. Documentation here: https://metamask.github.io/metamask-storybook/?path=/story/getting-started-documentation-guidelines--page#creating-a-story No need for arg types or MDX docs
Will render |
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 @dhruvv173, I've added a story so we can do a visual check. It LGTM! Thanks for your contribution
Hey @georgewrmarshall, I have added the before/after screenshots. The before screenshot is taken from the story which was built by you and the after one is from my local build. As you have added a new file is there a need to re-run the PR from my side? |
I think what you've done here is add 2 screenshots of the "After" changes. What you would need to do is create the story on the develop branch and take a screenshot there. No need to update this PR the code is good to go. |
Should I create a new fork, add the code for story there, run |
@dhruvv173 yes that sounds right. It should be off of the |
Updated it, could you please check it once? |
Hey @georgewrmarshall or is it because the snapshot of I also tried updating the screenshot with |
Hey @dhruvv173, you have to pass the component the write data either through props or mock redux state using the decorator and provider. |
Okay I'll do that and submit a PR. |
Explanation
This PR is a part of #18714 and #17670
Replaced Typography with Text component and deprecated Typography consts with enums for the file:
nfts-detection-notice.js
Screenshots/Screencaps
Before
After
Manual Testing Steps
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.