Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
Parkreiner merged 48 commits intomainfrommes/beta-badges
Sep 20, 2024
Merged
Show file tree
Hide file tree
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
ParkreinerSep 12, 2024
43874a4
fix: add visually-hidden helper text for screen readers
ParkreinerSep 12, 2024
fb70781
chore: add stories for highlighted state
ParkreinerSep 12, 2024
c2470f9
fix: update base styles
ParkreinerSep 12, 2024
693946f
chore: remove debug display option
ParkreinerSep 12, 2024
c2d7cda
Merge branch 'main' into mes/beta-badges
ParkreinerSep 13, 2024
129613b
chore: update Popover to propagate events
ParkreinerSep 13, 2024
6adea6b
wip: commit progress on FeatureBadge update
ParkreinerSep 13, 2024
d4455a8
wip: commit more progress
ParkreinerSep 13, 2024
8ae71d3
chore: update tag definitions to satify Biome
ParkreinerSep 13, 2024
0ad68af
chore: update all colors for preview role
ParkreinerSep 13, 2024
781a609
fix: make sure badge shows as hovered while inside tooltip
ParkreinerSep 13, 2024
a981864
wip: commit progress on adding story for controlled variant
ParkreinerSep 13, 2024
f47d059
fix: sort imports
ParkreinerSep 16, 2024
ad61763
refactor: change component API to be more obvious/ergonomic
ParkreinerSep 16, 2024
6e16aaa
fix: add biome-ignore comments to more base files
ParkreinerSep 16, 2024
6a19b61
fix: update import order again
ParkreinerSep 16, 2024
a233867
chore: revert biome-ignore comment
ParkreinerSep 16, 2024
8cbe639
Merge branch 'main' into mes/beta-badges
ParkreinerSep 17, 2024
7e1ec68
chore: update body text for tooltip
ParkreinerSep 17, 2024
1b58e4d
chore: update dark preivew role to use sky palette
ParkreinerSep 17, 2024
ebc5397
chore: update color palettes for light/darkBlue themes
ParkreinerSep 17, 2024
a9b6897
chore: add beta badge to organizations subheader
ParkreinerSep 17, 2024
31e1fa7
chore: add beta badge to organizations settings page
ParkreinerSep 17, 2024
e16b140
chore: beef up font weight for form header
ParkreinerSep 17, 2024
3aeb3c0
fix: update text contrast for org menu list
ParkreinerSep 17, 2024
71323ac
chore: add beta badge to deployment dropdown
ParkreinerSep 17, 2024
da31c84
fix: run biome on imports
ParkreinerSep 17, 2024
c7308c3
chore: remove API for controlling FeatureBadge hover styling externally
ParkreinerSep 17, 2024
230aa1d
chore: add xs size for badge
ParkreinerSep 17, 2024
fb4b734
fix: update font weight for xs feature badges
ParkreinerSep 18, 2024
5a7bbd3
chore: add beta badges to all org headers
ParkreinerSep 18, 2024
9521f25
Merge branch 'main' into mes/beta-badges
ParkreinerSep 18, 2024
6638942
fix: turn badges and tooltips into separate concerns
ParkreinerSep 18, 2024
9a18e51
fix: update hover styling
ParkreinerSep 18, 2024
b093a99
docs: update wording on comment
ParkreinerSep 18, 2024
9647fc6
fix: apply formatting
ParkreinerSep 18, 2024
0197466
chore: rename FeatureBadge to FeatureStageBadge
ParkreinerSep 18, 2024
fb86964
refactor: redefine FeatureStageBadge
ParkreinerSep 20, 2024
0f64533
chore: update stories
ParkreinerSep 20, 2024
6a2cfcf
fix: add blur behavior to popover
ParkreinerSep 20, 2024
eb2b1c2
chore: revert theme colors
ParkreinerSep 20, 2024
0b46eca
chore: create featureStage branding namespace
ParkreinerSep 20, 2024
4302b3d
fix: make sure cleanup function is set up properly
ParkreinerSep 20, 2024
be8121e
docs: update wording on comment for clarity
ParkreinerSep 20, 2024
1e5d62b
Merge branch 'main' into mes/beta-badges
ParkreinerSep 20, 2024
a824404
Merge branch 'main' into mes/beta-badges
ParkreinerSep 20, 2024
39daf80
refactor: move styles down
ParkreinerSep 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
chore: revert theme colors
  • Loading branch information
@Parkreiner
Parkreiner committedSep 20, 2024
commiteb2b1c2f1c47cb3a9431216a4d8f3d343bca46ec
31 changes: 5 additions & 26 deletionssite/src/theme/dark/roles.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -143,35 +143,14 @@ const roles: Roles = {
},
},
preview: {
background: colors.sky[950],
outline: colors.sky[400],
text: colors.sky[400],
background: colors.violet[950],
outline: colors.violet[500],
text: colors.violet[50],
fill: {
solid: colors.sky[400],
outline: colors.sky[500],
solid: colors.violet[400],
outline: colors.violet[400],
text: colors.white,
},
hover: {
background: colors.zinc[950],
outline: colors.sky[500],
text: colors.sky[400],

fill: {
text: colors.white,
outline: colors.sky[600],
solid: colors.sky[600],
},
},
disabled: {
background: colors.sky[950],
outline: colors.sky[800],
text: colors.sky[800],
fill: {
text: colors.white,
outline: colors.sky[600],
solid: colors.sky[600],
},
},
},
};

Expand Down
31 changes: 5 additions & 26 deletionssite/src/theme/darkBlue/roles.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -143,35 +143,14 @@ const roles: Roles = {
},
},
preview: {
background: colors.sky[950],
outline: colors.sky[400],
text: colors.sky[400],
background: colors.violet[950],
outline: colors.violet[500],
text: colors.violet[50],
fill: {
solid: colors.sky[400],
outline: colors.sky[500],
solid: colors.violet[400],
outline: colors.violet[400],
text: colors.white,
},
hover: {
background: colors.zinc[950],
outline: colors.sky[500],
text: colors.sky[400],

fill: {
text: colors.white,
outline: colors.sky[600],
solid: colors.sky[600],
},
},
disabled: {
background: colors.sky[950],
outline: colors.sky[800],
text: colors.sky[800],
fill: {
text: colors.white,
outline: colors.sky[600],
solid: colors.sky[600],
},
},
},
};

Expand Down
30 changes: 5 additions & 25 deletionssite/src/theme/light/roles.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -143,34 +143,14 @@ const roles: Roles = {
},
},
preview: {
background: colors.sky[50],
outline: colors.sky[700],
text: colors.sky[700],
background: colors.violet[50],
outline: colors.violet[500],
text: colors.violet[950],
fill: {
solid: colors.sky[600],
outline: colors.sky[700],
solid: colors.violet[600],
outline: colors.violet[600],
text: colors.white,
},
hover: {
background: colors.zinc[50],
outline: colors.sky[700],
text: colors.sky[700],
fill: {
outline: colors.sky[500],
solid: colors.sky[500],
text: colors.white,
},
},
disabled: {
background: colors.sky[50],
outline: colors.sky[800],
text: colors.sky[200],
fill: {
solid: colors.sky[800],
outline: colors.sky[800],
text: colors.white,
},
},
},
};

Expand Down
2 changes: 1 addition & 1 deletionsite/src/theme/roles.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,7 +36,7 @@ export interface Roles {
/** This isn't quite ready for prime-time, but you're welcome to look around!
* Preview features, experiments, unstable, etc.
*/
preview:InteractiveRole;
preview:Role;
}

/**
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp