-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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: add announcement for users that blockaid will be enabled by default #22338
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 ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #22338 +/- ##
===========================================
- Coverage 67.92% 67.91% -0.00%
===========================================
Files 1070 1070
Lines 41360 41364 +4
Branches 11113 11115 +2
===========================================
+ Hits 28091 28092 +1
- Misses 13269 13272 +3 ☔ View full report in Codecov by Sentry. |
Builds ready [94e45f1]
Page Load Metrics (1294 ± 152 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
app/_locales/en/messages.json
Outdated
@@ -2971,6 +2971,21 @@ | |||
"notifications24Title": { | |||
"message": "Advanced gas fees by network" | |||
}, | |||
"notifications29ActionText": { | |||
"message": "Got it" |
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.
we have a few of instances of this message already. can we re-use the 'gotIt' key for this instead of creating another one?
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
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.
not sure if there is a PR open for this yet, but we'll want to update the gotIt
translation key for all language files to something like 'gotItExclamation' and condense the instances mentioned to "gotIt"
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.
Changes look good, just a nit about locales.
Can we please use the new format that would replace all those This new format makes it a lot easier to deal with merge conflicts. |
… blockaid_default_announcement
Thanks @HowardBraham : I made code updates. |
app/_locales/en/messages.json
Outdated
@@ -2971,6 +2971,21 @@ | |||
"notifications24Title": { | |||
"message": "Advanced gas fees by network" | |||
}, | |||
"notifications29ActionText": { | |||
"message": "Got it" |
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.
not sure if there is a PR open for this yet, but we'll want to update the gotIt
translation key for all language files to something like 'gotItExclamation' and condense the instances mentioned to "gotIt"
…etamask-extension into blockaid_default_announcement
…etamask-extension into blockaid_default_announcement
@jpuri Thanks for the replacement of the 29s, and that merge conflict already happened, pushing this to 30! I noticed one more thing though. I think all these |
@HowardBraham : all of blockaid code is currently code fenced and I would prefer to keep it this way, also we do not have a corresponding runtime check for code fencing. |
Description
Add announcement that blockaid is now enabled by default.
Related issues
Fixes: MetaMask/MetaMask-planning#1835
Manual testing steps
Screenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist