Skip to content

Turn the tool group's chevron as the group opens and closes - #127

Merged
Tarquinen merged 1 commit into
devfrom
tool-group-chevron-rotate
Nov 17, 2026
Merged

Tarquinen merged 1 commit into
devfrom
tool-group-chevron-rotate

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

Opening or closing a "Used N tools" group swapped its right chevron for a down one in a single frame, while the rows below grew and shrank.

Now it's one chevron that turns 90° on the same curve as the rows: DisclosureMotion.animation (Motion.layout, with its quicker phase on close), which is what the group's height uses. It matches the link list's "more" chevron (LinkPreviewMoreButton), the nearest disclosure that already turns. Reduce Motion swaps to the down chevron at once, as that sibling does. Both icons are the same Material glyph, so the turned chevron lands exactly where the down one was. A group that loads already open or closed doesn't turn, and rows scrolled back into view don't spin. RTL isn't handled because the app sets supportsRtl="false".

  • scripts/check.sh :feature:transcript passed on the VM.
  • Checked frame by frame against session-lab on the emulator, in light and dark, at real speed and with animations slowed 5×. Groups above and below didn't move.
  • Not checked on a phone. The emulator renders in software, so the amount and timing need a look on real hardware.

The videos show the release on the left and this branch on the right: first zoomed in on the header, then the full screen. Each runs at real speed, slowed five times, and in dark mode.

zoom.mp4
before-after.mp4

Opening or closing a "Used N tools" group swapped the right chevron for the
down one in a single frame, while the rows below grew on DisclosureMotion.
Now one right chevron turns 90° on the same curve (Motion.layout, closing on
its quicker exit), as the link list's "more" chevron does. Under Reduce Motion
it swaps to the down chevron at once, also as that sibling does.

Verified: scripts/check.sh :feature:transcript on the VM passes; recorded
open and close on the tool-groups checkpoint against the release, at real
speed, at animator_duration_scale 5, and in dark mode.
@Tarquinen
Tarquinen merged commit 2c9ff46 into dev Nov 17, 2026
3 checks passed
@Tarquinen Tarquinen mentioned this pull request Nov 18, 2026

This branch was previously deployed

1 inactive deployment
release — 1a092ff8 Deployed Nov 17, 2026 by Tarquinen via check #410
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant