-
Notifications
You must be signed in to change notification settings - Fork 5.4k
feat: add option of copy to info row component #25682
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
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. |
Builds ready [90b949f]
Page Load Metrics (68 ± 10 ms)
Bundle size diffs
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #25682 +/- ##
========================================
Coverage 69.96% 69.96%
========================================
Files 1390 1391 +1
Lines 48895 48905 +10
Branches 13451 13456 +5
========================================
+ Hits 34207 34216 +9
- Misses 14688 14689 +1 ☔ View full report in Codecov by Sentry. |
Builds ready [54a405c]
Page Load Metrics (270 ± 252 ms)
Bundle size diffs
|
| <ConfirmInfoRow label={t('advancedDetailsHexDesc')}> | ||
| <ConfirmInfoRow | ||
| label={t('advancedDetailsHexDesc')} | ||
| copyEnabled |
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.
Can we now delete the copy button below?
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.
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.
Exactly, my understanding was they do the same thing, so we are switching to just the copy icon on the row itself?
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.
I see, I removed that copy option now.
Builds ready [9d22922]
Page Load Metrics (186 ± 237 ms)
Bundle size diffs
|
| <ConfirmInfoRow label={t('advancedDetailsHexDesc')}> | ||
| <ConfirmInfoRow | ||
| label={t('advancedDetailsHexDesc')} | ||
| copyEnabled |
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.
Exactly, my understanding was they do the same thing, so we are switching to just the copy icon on the row itself?
|
Builds ready [49701b4]
Page Load Metrics (340 ± 404 ms)
Bundle size diffs
|
matthewwalsh0
left a comment
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.
My understanding is we've not enabled this on the data row in this PR, but that can be done in a subsequent one.




Description
Add option of copy to info row component
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2743
Manual testing steps
CopyEnabledstory inInfoRowcomponentScreenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist