Skip to content

Add new flag to Alpha/Beta banner#3797

Merged
sveltifier merged 3 commits intomainfrom
update-phase-banner
Mar 18, 2026
Merged

Add new flag to Alpha/Beta banner#3797
sveltifier merged 3 commits intomainfrom
update-phase-banner

Conversation

@SriHV
Copy link
Copy Markdown
Contributor

@SriHV SriHV commented Mar 13, 2026

What is the context of this PR?

ONSDESYS-804

This PR updates the phase-banner component to make the feedback link configurable while maintaining compatibility with the html parameter..

This change introduces two new optional parameters:

  • text – plain text content for the banner
  • feedbackLink – optional HTML link rendered after the text

How to review this PR

Check new examples added with the new optional parameters and ensure new tests pass

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

@SriHV SriHV requested a review from a team as a code owner March 13, 2026 13:13
@SriHV SriHV self-assigned this Mar 13, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview, Comment Mar 17, 2026 1:13pm

@SriHV SriHV added the Enhancement Change of existing feature label Mar 13, 2026
Copy link
Copy Markdown
Contributor

@Dino-ONS Dino-ONS left a comment

Choose a reason for hiding this comment

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

Looks good to me. Clean implementation and tests cover the new parameters. Minor suggestion, it would be worth documenting that feedbackLink only applies when using text rather than html, to avoid any confusion.

@sveltifier sveltifier merged commit a32630a into main Mar 18, 2026
12 of 13 checks passed
@sveltifier sveltifier deleted the update-phase-banner branch March 18, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Change of existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants