Press headings/subheadings to expand/collapse sections

I’d like to be able to use the heading of a section to collapse it. This can of course be realized by toggling a helper variable and wrapping everything in the section in an object that has the variable as display condition, but integrating it as a default behavior would feel better.

This has of course been made a bit more complicated with the changes in 2024.10, where the heading is no longer simply tied to a section.

Over the last months I rebuilt my whole dashboards to use sections, headings (main / sub) - as well as use the visibility feature on specific cards - or even whole sections.

But there’s still one thing, I really miss in order to manage those dashboards on different screens and their sizes.

And this is an option to collapse / expand a section.

it should be structured similar as it is in the layout for conditions or automations …

  • if you use a header, you should be able to place a sub-header within this header-section.
    All Cards, Subtitles, etc. are part of this “grouped” section.

Basically, similar as in this - fastly created sketch^^

in addition to the above, a nice option would be, if this “toggle” would always apply for the logged in user.

So if User A decides to collapse a section, this should not affect the view for user B.
Right now, this would only be possible with some helpers and visibility rules applied - but therefore, it would be required to place each element / section multiple times (per user)

1 Like