Skip to content

GUI: complete the reduced-motion story #250

Closed

Description

@CameronBrooks11

Part of #246. The reduced-motion story is overstated: only token-based CSS transitions are flattened; JS-driven motion still runs.

Findings (verified)

  • [MED] Reduced-motion only covers token transitions. src/styles/tokens.css:206 zeroes --transition-fast/--transition-base and the comment claims it "flattens all token-based transitions" — but Svelte JS transitions, smooth-scroll, and the spinner escape it.
  • [MED] Toast animations ignore prefers-reduced-motion. shell/Toasts.svelte:21 — in:fly={{x:16,duration:150}}, out:fade, animate:flip keep moving.
  • [LOW] StreamLog auto-scroll uses behavior:"smooth" on every entry. components/machine/StreamLog.svelte:11.
  • [LOW] Viewport spinner keyframe not disabled. components/canvas/Viewport.svelte:266.

Acceptance

  • Add a single global @media (prefers-reduced-motion: reduce) block that also neutralizes non-token motion: animation-duration: 0.01ms / animation-iteration-count: 1 and scroll-behavior: auto broadly.
  • Gate Toast transitions on Svelte's prefersReducedMotion (duration 0 for fly/fade/flip when reduced).
  • Gate StreamLog scrollIntoView behavior on reduced-motion (or use "auto").
  • Override the Viewport spinner animation in the reduced-motion block.
  • Correct the tokens.css comment. Full gate + a manual reduced-motion check.

Activity

  1. added
    enhancement
    gui
    on Jun 27, 2026
  2. added a commit that references this issue on Jun 27, 2026
    e425732
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions