Repository navigation
fix: follow Reduce Motion in setup's steps, theme row and tiles - #549
Conversation
Resolve setup motion from the live accessibility setting so page changes, theme selection, controls and the completion window avoid movement when requested. Fade each old step out before revealing its replacement, keeping layout changes hidden. Preserve the opt-in intro replay and its paused final frame. Keep the existing motion when Reduce Motion is off and cover both policies with helper tests. Fixes #465
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Medium Merge Risk:
|
Before and after
60 unchanged screens
Visual review: 60 screens, none changed. |
|
🎉 This PR is included in version 0.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Problem
With Reduce Motion on, setup already skipped the intro and stopped its pointer bouncing, but each step still blurred and slid in and out, Continue and Back animated the change, the theme row scrolled to the chosen theme, and tiles grew on hover.
Fixes #465
Changes
SetupMotion(new,SetupMotion.swift) is the one place that decides setup's motion from SwiftUI's liveaccessibilityReduceMotion, so a change in System Settings applies without reopening setup.fullMotionKeepsTheStaggeredBlurAndSlidepins them.docs/getting-started.mddescribes the behaviour.Testing
SetupMotionTests(4 tests, 12 cases): the step transition, animations, scaling and completion-window behaviour for both settings, and that the full-motion timings matchmain.swift test --filter 'SetupMotion|Setup|SceneRenderer|ArchitectureRules': 28 XCTest and 50 Swift Testing tests pass, includingsetupSceneDrawsTheSameStepHoweverLongItSettles.scripts/check.sh --quickand commitlint pass.setup-placementandsetup-lookscenes, rendered offscreen with Reduce Motion forced on, are byte-identical tomain(the glow line under the bar is still there).Not checked in the running app, and there's no recording: a still image can't show motion, and recording would mean turning on Reduce Motion for the whole Mac. To check by hand, turn on System Settings → Accessibility → Display → Reduce motion, open Getting Started…, then use Continue and Back, ← and → on the themes, hover the tiles, and replay Watch the intro.
Merging
One commit; any merge method works. #464 (keyboard and VoiceOver in setup) also touches
SetupTile, so whichever merges later needs a small rebase.GPT-6.1-sol via Codex, reviewed by Claude Opus 5.5 via Claude Code