Skip to content

fix: replace deprecated ActionableMessage with BannerAlert in SnapAccountErrorMessage#43080

Open
TheChyeahhh wants to merge 3 commits into
MetaMask:mainfrom
TheChyeahhh:fix/issue-19528-actionable-message-to-banneralert
Open

fix: replace deprecated ActionableMessage with BannerAlert in SnapAccountErrorMessage#43080
TheChyeahhh wants to merge 3 commits into
MetaMask:mainfrom
TheChyeahhh:fix/issue-19528-actionable-message-to-banneralert

Conversation

@TheChyeahhh
Copy link
Copy Markdown

@TheChyeahhh TheChyeahhh commented May 29, 2026

Explanation

Replaces the deprecated ActionableMessage component with BannerAlert from the component-library in SnapAccountErrorMessage.

Related Issue

Closes #19528

Changes

  • Replaced ActionableMessage with BannerAlert using BannerAlertSeverity.Danger
  • Updated imports to use BannerAlert and BannerAlertSeverity from component-library

Manual testing

N/A — visual change only (BannerAlert renders similarly to ActionableMessage with type=danger)

Screenshots

N/A

Pre-merge author checklist

  • I've followed the MetaMask Contributor Docs
  • I've completed the PR template sections
  • I've applied the appropriate labels

Note

Low Risk
Localized UI swaps with no auth, data, or business-logic changes; template ChipTag may affect Snap-rendered content that referenced Chip.

Overview
Snap account errors now render inline failures with BannerAlert (BannerAlertSeverity.Danger) instead of the deprecated ActionableMessage, using component-library imports and the same data-testid.

Home notification pulls Checkbox from the component-library and uses isChecked / onChange instead of the legacy checkbox API.

Snap template rendering maps the safe component name Chip to Tag from the component-library so templates can use the current tag component.

Reviewed by Cursor Bugbot for commit bc18199. Bugbot is set up for automated code reviews on this repo. Configure here.

@TheChyeahhh TheChyeahhh requested review from a team as code owners May 29, 2026 20:46
@github-actions
Copy link
Copy Markdown
Contributor

CLA Signature Action:

Thank you for your submission, we really appreciate it. We ask that you read and sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just by adding a comment to this pull request with this exact sentence:

I have read the CLA Document and I hereby sign the CLA

By commenting with the above message you are agreeing to the terms of the CLA. Your account will be recorded as agreeing to our CLA so you don't need to sign it again for future contributions to this repository.

0 out of 1 committers have signed the CLA.
@TheChyeahhh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated ActionableMessage component with new BannerAlert component

2 participants