-
Notifications
You must be signed in to change notification settings - Fork 5.2k
feat: Update blockaid friction modal copy #30809
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 [89119a6]
Page Load Metrics (1520 ± 45 ms)
|
Builds ready [ab56d88]
Page Load Metrics (1679 ± 62 ms)
|
ab56d88
to
6e98abb
Compare
Builds ready [12aeb23]
Page Load Metrics (2028 ± 133 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
12aeb23
to
a8137b0
Compare
Builds ready [a8137b0]
Page Load Metrics (2219 ± 121 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
return ( | ||
<Text textAlign={TextAlign.Center} variant={TextVariant.bodyMd}> | ||
{t('blockaidAlertInfo')} | ||
{copy} |
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.
do we have tests for this UI?
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.
done
const { securityAlertResponse } = currentConfirmation; | ||
|
||
let copy; | ||
switch (securityAlertResponse?.reason) { |
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.
@SayaGT Should this description, based on the security alert reason, also be reflected in the Alert System on mobile?
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.
yes please! @vinistevam
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.
Nice! I just created https://github.com/MetaMask/mobile-planning/issues/2169 .
7264b8e
329eb20
to
f87faf5
Compare
Builds ready [f87faf5]
Page Load Metrics (4327 ± 3110 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/4328
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist