Files
pipelines/app/notes/quick-switch-animation-options.md
T

36 lines
2.1 KiB
Markdown

# Quick-switch animation options
Settings → Animations now offers Tape (existing default), Swap and Card stack.
The choice is device-local and restored before the normal app starts. All modes
share the 560 ms clock, the existing global speed factor and reduced-motion
handling. A style change applies to the next exchange, without changing a
transition already in progress.
Swap moves retained live chat viewports between positions. Card stack adds a
sideward lift, perspective, depth and shadow, with the outgoing card painted in
front for the first half and behind the incoming card for the second. A third
added pane fades into the preview; only added panes participate. No duplicate
live chat tree is created. Drafts, real scroll constraints and saved split axes
remain intact. The end-of-animation rebuild retires the outgoing third pane.
Checks:
- Focused workspace tests: 32 passed, /tmp/memwatch/out.LxkEa8.
- Workspace/settings/motion integration: 179 passed, /tmp/memwatch/out.jbBm8y.
- Earlier broad chat/settings/motion suite: 1115 passed, /tmp/memwatch/out.6VISrw.
- Analyzer clean, flutter-analyze.mJLrNC.
- Browser fixture built with Flutter web. Capture kit interactions selected and
restored the settings, filmed two- and three-pane Card stack, cycled another
added pane and unfolded to three horizontal panes. Material dark and Cupertino
light reviewed; final capture reports contain no browser errors.
- Reviewed: /tmp/review/switch-card-final/01-choices.png,
03-film-label-Expand-Fixture-chat-1-sheet.png,
05-film-label-Expand-Fixture-chat-2-sheet.png, 06-three-panes.png,
08-unfolded.png; /tmp/review/switch-swap-cupertino/02-selected-swap.png and
03-film-label-Expand-Fixture-chat-1-sheet.png.
- Earlier capture attempts used obsolete fixture labels; corrected to the
fixture's actual titles and completed the flows. The shared fixture entry
now restores animation preferences just as the normal bootstrap does.
- No Android device connected. No on-device verification or installation.
Existing narrow-pane header clipping is visible in the wide capture and is
outside this change.