- Notifications
You must be signed in to change notification settings - Fork929
feat: create UI badges for labeling beta features#14661
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
48 commits Select commitHold shift + click to select a range
f843f23
chore: finish draft work for FeatureBadge component
Parkreiner43874a4
fix: add visually-hidden helper text for screen readers
Parkreinerfb70781
chore: add stories for highlighted state
Parkreinerc2470f9
fix: update base styles
Parkreiner693946f
chore: remove debug display option
Parkreinerc2d7cda
Merge branch 'main' into mes/beta-badges
Parkreiner129613b
chore: update Popover to propagate events
Parkreiner6adea6b
wip: commit progress on FeatureBadge update
Parkreinerd4455a8
wip: commit more progress
Parkreiner8ae71d3
chore: update tag definitions to satify Biome
Parkreiner0ad68af
chore: update all colors for preview role
Parkreiner781a609
fix: make sure badge shows as hovered while inside tooltip
Parkreinera981864
wip: commit progress on adding story for controlled variant
Parkreinerf47d059
fix: sort imports
Parkreinerad61763
refactor: change component API to be more obvious/ergonomic
Parkreiner6e16aaa
fix: add biome-ignore comments to more base files
Parkreiner6a19b61
fix: update import order again
Parkreinera233867
chore: revert biome-ignore comment
Parkreiner8cbe639
Merge branch 'main' into mes/beta-badges
Parkreiner7e1ec68
chore: update body text for tooltip
Parkreiner1b58e4d
chore: update dark preivew role to use sky palette
Parkreinerebc5397
chore: update color palettes for light/darkBlue themes
Parkreinera9b6897
chore: add beta badge to organizations subheader
Parkreiner31e1fa7
chore: add beta badge to organizations settings page
Parkreinere16b140
chore: beef up font weight for form header
Parkreiner3aeb3c0
fix: update text contrast for org menu list
Parkreiner71323ac
chore: add beta badge to deployment dropdown
Parkreinerda31c84
fix: run biome on imports
Parkreinerc7308c3
chore: remove API for controlling FeatureBadge hover styling externally
Parkreiner230aa1d
chore: add xs size for badge
Parkreinerfb4b734
fix: update font weight for xs feature badges
Parkreiner5a7bbd3
chore: add beta badges to all org headers
Parkreiner9521f25
Merge branch 'main' into mes/beta-badges
Parkreiner6638942
fix: turn badges and tooltips into separate concerns
Parkreiner9a18e51
fix: update hover styling
Parkreinerb093a99
docs: update wording on comment
Parkreiner9647fc6
fix: apply formatting
Parkreiner0197466
chore: rename FeatureBadge to FeatureStageBadge
Parkreinerfb86964
refactor: redefine FeatureStageBadge
Parkreiner0f64533
chore: update stories
Parkreiner6a2cfcf
fix: add blur behavior to popover
Parkreinereb2b1c2
chore: revert theme colors
Parkreiner0b46eca
chore: create featureStage branding namespace
Parkreiner4302b3d
fix: make sure cleanup function is set up properly
Parkreinerbe8121e
docs: update wording on comment for clarity
Parkreiner1e5d62b
Merge branch 'main' into mes/beta-badges
Parkreinera824404
Merge branch 'main' into mes/beta-badges
Parkreiner39daf80
refactor: move styles down
ParkreinerFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
chore: revert theme colors
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commiteb2b1c2f1c47cb3a9431216a4d8f3d343bca46ec
There are no files selected for viewing
31 changes: 5 additions & 26 deletionssite/src/theme/dark/roles.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -143,35 +143,14 @@ const roles: Roles = { | ||
}, | ||
}, | ||
preview: { | ||
Parkreiner marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
background: colors.violet[950], | ||
outline: colors.violet[500], | ||
text: colors.violet[50], | ||
fill: { | ||
solid: colors.violet[400], | ||
outline: colors.violet[400], | ||
text: colors.white, | ||
}, | ||
}, | ||
}; | ||
31 changes: 5 additions & 26 deletionssite/src/theme/darkBlue/roles.ts
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
30 changes: 5 additions & 25 deletionssite/src/theme/light/roles.ts
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
2 changes: 1 addition & 1 deletionsite/src/theme/roles.ts
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
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.