Conversation
- apply to SIWE actionable-message - .mm-icon is a <span>
|
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. |
This reverts commit c80a4a2.
There was a problem hiding this comment.
We could deprecate ActionableMessage for BannerAlert would it be possible to add a deprecation message above the component as well as this fix?
in ui/components/ui/actionable-message/actionable-message.js
/**
* @deprecated `<ActionableMessage />` has been deprecated in favour of the `<BannerAlert />` component in ./ui/components/component-library/banner-alert/banner-alert.js
*
* See storybook documentation for Text here https://metamask.github.io/metamask-storybook/?path=/docs/components-componentlibrary-banneralert--default-story#banneralert
*
* Help to replace `ActionableMessage` with `BannerAlert` by submitting a PR
*/
Builds ready [e65a1a1]
Page Load Metrics (1670 ± 65 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
…update-siwe-actionable-msg-and-support-mm-icon-in-icon-comp
…-icon-in-icon-comp
|
Thanks @georgewrmarshall! BannerAlerts are looking much better in the UI and code 👍 I added the deprecation warning to the ActionableMessage component |
Builds ready [893ee6f]
Page Load Metrics (1596 ± 35 ms)
Bundle size diffs
|
Codecov Report
@@ Coverage Diff @@
## develop #18207 +/- ##
===========================================
+ Coverage 64.01% 64.22% +0.21%
===========================================
Files 918 918
Lines 35310 35310
Branches 8993 8993
===========================================
+ Hits 22602 22675 +73
+ Misses 12708 12635 -73
... and 6 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Builds ready [c627db5]
Page Load Metrics (1791 ± 78 ms)
Bundle size diffs
|
georgewrmarshall
left a comment
There was a problem hiding this comment.
Looking great! One small suggestion
ui/components/app/signature-request-siwe/signature-request-siwe.js
Outdated
Show resolved
Hide resolved
| <Text variant={TextVariant.bodyMdBold}> | ||
| {t('SIWEDomainInvalidTitle')} | ||
| </Text>{' '} | ||
| <Text variant={TextVariant.bodyMd}>{t('SIWEDomainInvalidText')}</Text> |
There was a problem hiding this comment.
Note to DS team to allow for ` tags cc @garrettbear so we could do something like
<Text>
<strong>{t('SIWEDomainInvalidTitle')}</strong> {t('SIWEDomainInvalidText')}
</Text>
ui/components/app/signature-request-siwe/signature-request-siwe.js
Outdated
Show resolved
Hide resolved
…e.js Co-authored-by: George Marshall <george.marshall@consensys.net>
…e.js Co-authored-by: George Marshall <george.marshall@consensys.net>
…-icon-in-icon-comp
georgewrmarshall
left a comment
There was a problem hiding this comment.
LGTM! Just need to fix a linting issue that was probably introduced by my suggestions apologies!
|
Thanks @georgewrmarshall! fixed de6a131 |
…-icon-in-icon-comp
Builds ready [d7ab254]
Page Load Metrics (1602 ± 57 ms)
Bundle size diffs
|


Explanation
Fixes #18206
@deprecatejsdoc comment to ActionableMessageScreenshots/Screencaps
Before (v10.26.1)
(actually, the icon locations were temp fixed in this hotfix #18200 just before this PR.)


After
Manual Testing Steps
Login to the extension
Navigate to the test dapp
Click Sign In With Ethereum (Bad Account)
Scroll to the bottom and observe the warning
Check other ActionableMessage components
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 Boardlabel.In this case, a QA Engineer approval will be be required.