-
Notifications
You must be signed in to change notification settings - Fork 860
Open
Labels
requestClear use case, business priority. Requires a clear yes/no answer or coordination.Clear use case, business priority. Requires a clear yes/no answer or coordination.
Description
Problem
- Badges that we typically use now in Kibana tend to be too prominent, and do not allow more nuanced accents, which makes the pages and other interface elements look more cluttered
- They are quite close to the buttons (same squared form), which is not a problem per se, but it would be nice to be bale to distinguish those 2 elements more clearly
- Beta badges look outdated. because of the all-caps text, especially since it's used sometimes with long labels (like tech preview), and because it can't really be properly visually aligned. Those badges are also missing certain color variants we need ("New" badge that should be primary color), and can't be used together with regular badges because of inconsistency.
Proposed solution:
- Enrich the number of variants offered by EuiBadge with "light" color combination (lighter background, darker text)
- Change the form of the badge (radii) to be circled
- Change the layout to look more balanced in case when there's only text and/or icons:
- Find and replace
EuiBetaBadgeusages with the new unified component, and deprecateEuiBetaBadge.
A note regarding beta and tech preview badges change: yes, they become similar to regular badges, but they have unique text labels and icons, and they are used in a standalone fashion in designated areas, not typically occupied by other badges. This change allows not only to preserve their original function, but also to consider more flexible and visually appealing color combination for "new" badge, that will be used alongside these badges.
- When the code change is done, merge Figma branch into master too (either @ek-so or @JoseLuisGJ).
Open questions
-
Should we make a light badge default version to make interface lighter and cleaner overall? (if so, we'll need to ask teams that are responsible for that to review their pages specifically for alerts and warning badges; although it won't break things per se, it might reduce a visual sense of urgency and impact UX therefore) — perhaps, make a test deployment for teams to check the change.
-
Should we create an opinionated Kibana badge that will be used for tech preview, beta and new cases, but would be built on top of the universal badge?
Metadata
Metadata
Assignees
Labels
requestClear use case, business priority. Requires a clear yes/no answer or coordination.Clear use case, business priority. Requires a clear yes/no answer or coordination.
