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

Convert to component: Badge #61106

Open
jameskoster opened this issue Apr 25, 2024 · 3 comments
Open

Convert to component: Badge #61106

jameskoster opened this issue Apr 25, 2024 · 3 comments
Labels
Needs Design Needs design efforts. [Package] Components /packages/components [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

A recently-merged data views feature allows consumers to display field values as a 'badge' in grid layout. This is utilised in the Patterns page to communicate sync status:

Screenshot 2024-04-25 at 15 12 13

This element will likely have applications beyond data views, so it may be worth extracting and converting to a reusable component.

@jameskoster jameskoster added [Type] Enhancement A suggestion for improvement. Needs Design Needs design efforts. [Package] Components /packages/components labels Apr 25, 2024
@jasmussen
Copy link
Contributor

Indeed, that seems useful. However it's probably important to do that effort only if and when the need for this chip emerges organically.

@jameskoster
Copy link
Contributor Author

In addition to badge fields in data views, another potential use case is #57763.

But yes, no need to rush for only one or two applications.

@jameskoster
Copy link
Contributor Author

Another potential use case for the badge: #38277 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Needs design efforts. [Package] Components /packages/components [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants