Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: multiple external message banners #4998

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

nunogois
Copy link
Member

https://linear.app/unleash/issue/2-1495/adapt-existing-message-banner-component-to-be-more-reusablegeneric
https://linear.app/unleash/issue/2-1496/add-support-for-multiple-external-message-banners

This PR does 2 things:

  • Refactors the MessageBanner component to be more generic and reusable, by accepting the message info through props;
  • Adds support for multiple external message banners;

@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2023 0:18am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 11, 2023 0:18am

Copy link
Contributor

@gastonfournier gastonfournier left a comment

Choose a reason for hiding this comment

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

LGTM! Although internal and external message banners look pretty similar

@nunogois
Copy link
Member Author

LGTM! Although internal and external message banners look pretty similar

They share the same inner component: MessageBanner, however the way they are fetched is different. External message banners come from feature flag variants, while internal message banners will be fetched from an endpoint.

@nunogois nunogois merged commit 742abab into main Oct 11, 2023
14 checks passed
@nunogois nunogois deleted the feat-multiple-external-message-banners branch October 11, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants