feat: Add announcement banner for MFA Release (M2-10461)#2200
Merged
feat: Add announcement banner for MFA Release (M2-10461)#2200
Conversation
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests for the changes have been added
📝 Description
🔗 Jira Ticket M2-10461
Re-enables the AnnouncementBanner component (previously used for the rebranding campaign and then commented out) as an MFA launch announcement. The banner is now gated behind a LaunchDarkly flag (enable-admin-announcement-banner) so it can be toggled on/off without a deployment. Banner text lives in the i18n files (announcementBanner key) and the link URL is a named constant at the top of the component — the only changes needed for a future announcement campaign.
Changes include:
🪤 Peer Testing
To test with the LaunchDarkly flag:
Ensure the enable-admin-announcement-banner flag exists in your target LD environment
Enable the flag in LaunchDarkly
Navigate to /auth/login (or any other /auth/ page before login)
Navigate to to post-login page(s) (/dashboard/applets, /dashboard/managers, or /dashboard/respondents, etc)
Expected outcome: Announcement banner appears at the top of the page with MFA messaging and a "Click to learn more" link
Navigate to
Dismiss the banner using the close button
Expected outcome: Banner animates closed and does not reappear on refresh (dismissal is stored in localStorage per user)
Disable the flag in LaunchDarkly
Expected outcome: Banner does not appear on any route (no deployment required)