Repository navigation
Turn the tool group's chevron as the group opens and closes - #127
Merged
Merged
Conversation
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.
Closed
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 setssupportsRtl="false".scripts/check.sh :feature:transcriptpassed on the VM.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