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]: Create a mushroom heading card #1556

Open
2 tasks done
BBE-FR opened this issue Oct 10, 2024 · 0 comments
Open
2 tasks done

[Feature]: Create a mushroom heading card #1556

BBE-FR opened this issue Oct 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@BBE-FR
Copy link

BBE-FR commented Oct 10, 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?

Improvement and solving limitation of the new heading cards (2024.10).

Describe the solution you'd like

he new heading card introduced in 2024.10 is very versatile, but it lacks some customisations capabilities that typical mushroom cards offer:

  • templating option for Icon and icon color.
  • templating capability for title / subtitle.
  • possibility to customise the embedded entities in the same manner as mushroom badges or mushroom chips (with a templatable version of those entities, similar to chips capabilities)
  • eventually a way to select the display of the entities (left/right/centered/justified) like for the chips could be a plus for some usages (optional in my mind, but to be considered)

Describe alternatives you've considered

  • Mushroom Title card does not integrate Icon, nor "embedded" entities (but this can be done through subtitle template for exemple).
  • Heading cards does not allow to control icon title or subtitle.

exemple 2 sections :

  • section on top: new heading card (but without templatable capacity)+mushroom card without content to act as 1x1 buttons
  • section below: mushroom title card (without icon or embedded entities)+mushroom card without content to act as 1x1 buttons
  • last image: 2 new heading card and a row of chips
    image
    image

On top of "basic" heading use on top of sections, these card can be used anywhere for a compact horizontal display like below:
image

Additional context

Some FR can be related to, both:

If the "template" part has to remain an advanced feature implemented only on mushroom side, lets mushroomise the heading card !

@BBE-FR BBE-FR added the enhancement New feature or request label Oct 10, 2024
@BBE-FR BBE-FR changed the title [Feature]: Create a mushroom header card for section view [Feature]: Create a mushroom header card Oct 10, 2024
@BBE-FR BBE-FR changed the title [Feature]: Create a mushroom header card [Feature]: Create a mushroom heading card Nov 8, 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