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

[Feature]: Badge support in the template-chip #1383

Open
2 tasks done
roderik-maker opened this issue Mar 2, 2024 · 0 comments
Open
2 tasks done

[Feature]: Badge support in the template-chip #1383

roderik-maker opened this issue Mar 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@roderik-maker
Copy link

roderik-maker commented Mar 2, 2024

Requirements

  • I have updated Mushroom to the latest available version
  • I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?

I am annoyed that I cannot find a clean way to show all the status information (that I want to show) on the top of my dashboard in uniform manner.

Describe the solution you'd like

Add support for adding a badge in the mushroom-template-chip in the same way that a badge can be configured in the mushroom-template-card.

Describe alternatives you've considered

I am now using a lot of card mod to make this:
Screenshot 2024-03-02 at 10 13 57

But the scaling isn't perfect and its a little glitchy on phone screens. Additionally, because of the second layer of processing, it takes a second or 2 extra to load on older phones.

Additional context

There was also an earlier similar request for a person chip which you didn't want to make:

Chip is a small and a compact element in the UI. The quantity of information must be small : a icon and a text. Adding a badge would overload the interface.
Card a more complete element if you need more information.

Originally posted by @piitaya in #542 (comment)

Nevertheless I do think there are valid use cases. ie. in my case I would like to show the status of important items at the top of my dashboard including who is home (which is easy to see from a coloured chip) without giving up valuable horizontal real estate on narrow phone screens.

The current alternative that you mention is to write "home","away",etc... per person entity but a coloured badge achieves the same in a much cleaner manner and takes up significantly less space. (I personally really dislike it if the the chips jump onto a second line so I try to minimize their width.)

Cards are not really an option (without using a lot of card_mod) to cleanly show said information at the top as they are far too bulky.

I do understand your comment on keeping the interface clean, but I think you could give users the option to either add a badge or some text to a chip to maintain a clean layout (max 2 pieces of information per chip). Of course I totally understand if this request still doesn't align with your vision. Either way, thank you for your time and effort to make this great collection of cards!!

@roderik-maker roderik-maker added the enhancement New feature or request label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant