Repository navigation
Unify expand and collapse timing - #364
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
MaggieAppleton
force-pushed
the
design/expand-collapse-timing
branch
from
October 8, 2026 15:21
232ca12 to
ca4c981
Compare
MaggieAppleton
enabled auto-merge (rebase)
October 8, 2026 15:21
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.
Why
Revealing more content moved at four speeds on two curves: the sidebar 250ms, the research fold 420ms rows + 300ms opacity after a 120ms delay (about 540ms in all, the slowest motion in the app), the decision fold 200ms on
--ease-out, and Chat tool-call details not at all (display: none).What changed
--acc-expand250ms open,--acc-collapse200ms close,--motion-move.--acc-collapsegoes from 250ms to 200ms, and thecollapsecontract'scloseDurationfollows (200).preserved-values.jsonexception.MotionDisclosurewith thecollapsecontract, so they animate like the sidebar (previously instant)..motion-collapseand the folds still settle withtransition: none.packages/question, not a fold) and the broader token cleanup (finding 9). LeftcloseDurationuntouched in other contracts to avoid Keep workspace chrome still when switching documents #346.Screenshots
Timing, not layout, changed. Height/opacity frame sequences every 50ms (before: main at :8795, after: this branch at :8864). The research, decision and tool-details folds were sampled by mounting the shipped classes in the live page, because the fake server has no Planner/research; the sidebar disclosure is the real component.
frames-before.txt(not committed), after:frames-after.txt.Testing
bun run cipasses;bun run typespasses.bun test apps/web packages/editor packages/question: all pass;tokens.test.tstimed out under machine load, passes alone with--timeout 60000.🤖 Generated with Claude Code