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

Adding Labs badge / infobar #149

Merged
merged 5 commits into from
Nov 14, 2023
Merged

Adding Labs badge / infobar #149

merged 5 commits into from
Nov 14, 2023

Conversation

niels9001
Copy link
Collaborator

This PR shows a yellow token in the navigation menu whenever the component is IsExperimental = Labs. On the component page, an InfoBar is added as well highlighting that this component is experimental and might change.

@niels9001 niels9001 requested a review from Arlodotexe November 6, 2023 10:35
@niels9001
Copy link
Collaborator Author

@Arlodotexe The UI logic is there, but wasn't able to verify if it works when adding IsExperimental = true in a .md file

Copy link
Member

@Arlodotexe Arlodotexe left a comment

Choose a reason for hiding this comment

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

Had to make some changes, but I got it working and tested.

image

I've also updated the template we use on the Home page to display the same indicator:
image

@Arlodotexe
Copy link
Member

Confirmed that this also works in Wasm

@Arlodotexe Arlodotexe merged commit cc47b15 into main Nov 14, 2023
8 checks passed
@delete-merged-branch delete-merged-branch bot deleted the niels9001/labs-token branch November 14, 2023 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants