Skip to content

feat: migrating all @kyper/messagebox usages to MUI Alert - #374

Open
Jameson13B wants to merge 4 commits into
masterfrom
jameson/CT-2461
Open

feat: migrating all @kyper/messagebox usages to MUI Alert#374
Jameson13B wants to merge 4 commits into
masterfrom
jameson/CT-2461

Conversation

@Jameson13B

@Jameson13B Jameson13B commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Jira Link: https://mxcom.atlassian.net/browse/246

Migrating all @kyper/messagebox usages to MUI Alert

Components Changed:

  • DeleteMemberSurvery
  • MemberError
  • Credentials
  • utils
  • LoginError
  • StatusAlert
  • manualAccountForm
  • MFAStep
  • MicrodepositErrors
  • VerifyDeposits
  • OAuthError
  • VerifyError

Test Evidence

Click to expand testing evidence image

Example Screenshots

Current Updated
image image
image image

style={styles.messageBox}
variant="error"
severity="error"
sx={styles.messageBox}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the ADR we should be using CSS style sheets and class names.

// Determines if we should show the message box at the top of the credentials view
export const shouldShowMessageBox = (error, currentMember, mode = AGG_MODE) => {
// Determines if we should show the alert at the top of the credentials view
export const shouldShowAlert = (error, currentMember, mode = AGG_MODE) => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this function is missing unit tests, because changing the name didn't break anything.

@wesrisenmay-mx

Copy link
Copy Markdown
Collaborator

Can we get screenshots for all the different places?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants