-
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
feat: permit signature simulation info #24862
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #24862 +/- ##
===========================================
+ Coverage 65.73% 65.74% +0.02%
===========================================
Files 1369 1365 -4
Lines 54417 54274 -143
Branches 14161 14109 -52
===========================================
- Hits 35766 35681 -85
+ Misses 18651 18593 -58 ☔ View full report in Codecov by Sentry. |
Builds ready [11dc68b]
Page Load Metrics (888 ± 527 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [9d17164]
Page Load Metrics (1674 ± 689 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
</ConfirmInfoRow> | ||
</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.
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 @digiwand : after certain with confirm row wraps, thus this is how it will look for wider values
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.
Derek had made some improvements on how we display long values within simulations here: #24036
Is this something we could re-use? Ideally, we have the same pattern in both places
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.
Yep that can be done, but I would prefer to address that in separate PR.
</Box> | ||
</ConfirmInfoRow> | ||
</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.
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.
- Confirm info row are center aligned and its hard to change for this specifically
> | ||
<ConfirmInfoRow | ||
label={t('simulationDetailsTitle')} | ||
tooltip={t('simulationDetailsTitleTooltip')} |
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.
Again these are limitations with ConfirmInfoRow. We need to see if its ok to generically change this for all usages.
...ges/confirmations/components/confirm/info/typed-sign/permit-simulation/permit-simulation.tsx
Outdated
Show resolved
Hide resolved
…it-simulation/permit-simulation.tsx Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
…k/metamask-extension into permit_signature_simulation_info
...ges/confirmations/components/confirm/info/typed-sign/permit-simulation/permit-simulation.tsx
Outdated
Show resolved
Hide resolved
...ges/confirmations/components/confirm/info/typed-sign/permit-simulation/permit-simulation.tsx
Outdated
Show resolved
Hide resolved
Builds ready [966267e]
Page Load Metrics (135 ± 172 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [966267e]
Page Load Metrics (135 ± 172 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [df189d4]
Page Load Metrics (50 ± 4 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Add simulation section to permit signatures
Related issues
Fixes: #24618, #24878
Manual testing steps
Screenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist