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]: Make chips behaviour match the new Mushroom-inspired badges. #1528

Open
2 tasks done
FrankJaco opened this issue Sep 2, 2024 · 0 comments
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@FrankJaco
Copy link

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 not sure if this is a bug or expected behaviour. If nothing else it highlights a difference between the new Badges (that are styled like Mushroom chips) and the Chips themselves.

I have a 5 min countdown timer (helper) that I use for turning off my garage lights. When I use a badge to show its state, when it is idle it shows the state "idle", and when it is actively counting down the badge displays the countdown.

When I attempt to do this using a chip (as I don't want the countdown at very top of my dashboard), instead of showing the actual countdown time, it shows the state "Active" while the countdown is progressing and "Idle" when it is inactive.

I am sure there is a way to template this, but that is not what I am looking for. I am simply reporting that the new badge behaviour is different than that of a chip.

Describe the solution you'd like

Looking at my dev tools page when the counter is active, it appears that the badge automatically picks up the time and calculates and displays the remaining time.

image

Badge:
image

Chip:
image

It would be nice if the chips behaviour matched the badge, or better yet give the chips the power to display any of the attributes as desired.

If nothing else, what the badge does on its own is interesting. I would have assumed it would simply show the state as the Chip does by default.

fj

Describe alternatives you've considered

No response

Additional context

No response

@FrankJaco FrankJaco added the enhancement New feature or request label Sep 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