Skip to content

@W-21481530 Fix alert.js styling to have standard styling on login form and custom outlined styling on subscribe-form. - #3780

Merged
mitesh-patel-crm merged 6 commits into
developfrom
mitesh-patel-crm/w-21481530-fix-toast-description-styling
Apr 10, 2026
Merged

@W-21481530 Fix alert.js styling to have standard styling on login form and custom outlined styling on subscribe-form.#3780
mitesh-patel-crm merged 6 commits into
developfrom
mitesh-patel-crm/w-21481530-fix-toast-description-styling

Conversation

@mitesh-patel-crm

@mitesh-patel-crm mitesh-patel-crm commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

Fix alert.js styling to have standard styling on login form and custom outlined styling on subscribe-form.

Description

The introduction of marketing consent on the subscription form component caused a regression in the global alert styling, which was used by the login form. This fix changes the styling back to the default across the app, while maintaining the custom style on the form.

actual_email_invalid2 actual_email_success login_error1 actual_login_success

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Breaking change (could cause existing functionality to not work as expected)
  • Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

  • Removing a public function or component or prop
  • Adding a required argument to a function
  • Changing the data type of a function parameter or return value
  • Adding a new peer dependency to package.json

How to Test-Drive This PR

  • Enable the ENABLE_CONSENT_WITH_MARKETING_CLOUD Feature Switch in ECOM to enable Marketing Consent and test the styling changes.

Checklists

General

  • Changes are covered by test cases
  • CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance

You must check off all items in one of the follow two lists:

  • There are no changes to UI

or...

Localization

  • Changes include a UI text update in the Retail React App (which requires translation)

…d not interfere with the default alert styling, such as what was used on the login form.
@mitesh-patel-crm
mitesh-patel-crm requested a review from a team as a code owner April 7, 2026 05:34
@git2gus

git2gus Bot commented Apr 7, 2026

Copy link
Copy Markdown

Git2Gus App is installed but the .git2gus/config.json doesn't have right values. You should add the required configuration.

@cc-prodsec

cc-prodsec commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

hajinsuha1
hajinsuha1 previously approved these changes Apr 7, 2026
@kzheng-sfdc

Copy link
Copy Markdown
Contributor

Can you add test cases to verify 1) the non-subscription form alerts are reverted to default and 2) the outlined variant is working as expected?

…yle/variants and error feedback integration test.
hajinsuha1
hajinsuha1 previously approved these changes Apr 9, 2026
kzheng-sfdc
kzheng-sfdc previously approved these changes Apr 9, 2026
…cription-styling

Signed-off-by: mitesh-patel-crm <85328777+mitesh-patel-crm@users.noreply.github.com>
@mitesh-patel-crm
mitesh-patel-crm dismissed stale reviews from kzheng-sfdc and hajinsuha1 via 3b9778c April 9, 2026 21:40
@mitesh-patel-crm
mitesh-patel-crm enabled auto-merge (squash) April 10, 2026 16:24
@mitesh-patel-crm
mitesh-patel-crm merged commit 7a3dc7d into develop Apr 10, 2026
73 of 74 checks passed
@mitesh-patel-crm
mitesh-patel-crm deleted the mitesh-patel-crm/w-21481530-fix-toast-description-styling branch April 10, 2026 21:56
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.

5 participants