Skip to content

Conversation

@Chaos02
Copy link

@Chaos02 Chaos02 commented Jan 6, 2026

Proposed change

Change Collapsible Automation Row Chevron Direction to align with html <details> behaviour and intuition for Expanding Icons on the left of the Summary text.

Points right when closed and down when expanded. (CLICK ME) Very common design for collapsible sections with their indicator icon on the LEFT of the text.

RIGHT side Indicators left untouched.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

(Visual / User experience)

Example configuration

Editing any nestable Automation block (AND, IF, OR) via the UI automation configurator.

Additional information

Sorry, if this seems like a bit of a low-effort type of PR but I felt visceral disgust when I noticed that the expander-icon in automation blocks works completely differently to any other expanding section I've ever seen online.
I only changed this occurance because in the automation-row the indicator is on the left and for any other expandables I stumbled upon, the icon was on the right, which was totally fine with my expectance and gut feeling.

If you want I can scour the frontend for more of left-aligned chevrons so there's at least some effort :P

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works. (none needed)

If user exposed functionality or configuration variables are added/changed:

Change Collapsible Automation Row Direction to align with html <details> behaviour and intuition for Expanding Icons on the left of the Summary.
Points right when closed and down when expanded.
Copy link

@home-assistant home-assistant bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Chaos02

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@home-assistant home-assistant bot marked this pull request as draft January 6, 2026 23:59
@home-assistant
Copy link

home-assistant bot commented Jan 6, 2026

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@Chaos02 Chaos02 marked this pull request as ready for review January 7, 2026 00:07
@MindFreeze MindFreeze added the Needs UX Pull requests requiring a review from the Home Assistant design team label Jan 7, 2026
@marcinbauer85
Copy link
Member

Thanks for raising this. In general, we are following MD2 guidelines for chevron-type expandables https://m2.material.io/components/lists#types:~:text=and%20state%20indicator.-,Expand%20and%20collapse,-Show%20and%20hide
While I understand this can be done also as you suggested, it's not the only place in HA where this would need to be applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed Needs UX Pull requests requiring a review from the Home Assistant design team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants