Title: Add a "Reduce motion" accessibility setting to Appearance · Issue #50 · modelstudioai/openwork · GitHub
Open Graph Title: Add a "Reduce motion" accessibility setting to Appearance · Issue #50 · modelstudioai/openwork
X Title: Add a "Reduce motion" accessibility setting to Appearance · Issue #50 · modelstudioai/openwork
Description: Problem or Motivation OpenWork animates heavily — the transcript, session list, dropdowns, toasts, the pet, and the empty-composer entrance all use motion/react (framer-motion) motion / AnimatePresence transitions. There is currently no ...
Open Graph Description: Problem or Motivation OpenWork animates heavily — the transcript, session list, dropdowns, toasts, the pet, and the empty-composer entrance all use motion/react (framer-motion) motion / AnimatePres...
X Description: Problem or Motivation OpenWork animates heavily — the transcript, session list, dropdowns, toasts, the pet, and the empty-composer entrance all use motion/react (framer-motion) motion / AnimatePres...
Opengraph URL: https://github.com/modelstudioai/openwork/issues/50
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add a \"Reduce motion\" accessibility setting to Appearance","articleBody":"## Problem or Motivation\n\nOpenWork animates heavily — the transcript, session list, dropdowns, toasts, the\npet, and the empty-composer entrance all use `motion/react` (framer-motion)\n`motion` / `AnimatePresence` transitions. There is currently **no way to turn\nthese down**. Users who are sensitive to motion (vestibular disorders,\nphotosensitivity) or who simply prefer a calmer, snappier UI have no control:\nthe app never consults the OS \"reduce motion\" preference and offers no in-app\ntoggle.\n\nComparable desktop apps ship exactly this. Claude's desktop app, macOS, and\nWindows all expose a **Reduce motion / reduce animations** accessibility control,\nand the web platform standardizes it as `prefers-reduced-motion`. OpenWork's\nAppearance settings already cover theme mode, color theme, font, language, pet,\nand \"rich tool descriptions\" — an accessibility motion control is the conspicuous\ngap.\n\n## Proposed Solution\n\nAdd a **\"Reduce motion\"** toggle to **Settings → Appearance → Interface** (next to\n\"Rich tool descriptions\"). When enabled it:\n\n- Forces `motion/react` to short-circuit all `motion` component animations\n app-wide by rendering the app inside `\u003cMotionConfig reducedMotion=\"always\"\u003e`\n (when off, `reducedMotion=\"user\"` so the OS `prefers-reduced-motion` setting is\n still respected — a strictly better default than today's \"always animate\").\n- Sets `data-reduce-motion=\"true\"` on `\u003chtml\u003e`, and a global CSS rule collapses\n CSS animations/transitions (`animation-duration`/`transition-duration` →\n ~0ms) so non-`motion` CSS effects are covered too.\n- Persists the choice in the renderer's `localStorage` (the same\n `lib/local-storage.ts` mechanism used by other renderer UI prefs like\n `showConnectionIcons`), so it survives restarts.\n\n## Feasibility\n\n**Classification: pure frontend — candidate.** No qwen-code backend involvement.\n\n- `motion` is already a dependency (`apps/electron` + `packages/ui`); `MotionConfig`\n propagates through React context to every `motion` component in the tree,\n including those in `packages/ui`, so wrapping once at the renderer root\n (`main.tsx`'s `Root`) covers the whole app.\n- Persistence reuses the existing `lib/local-storage.ts` `KEYS`/`get`/`set` helper\n — no new IPC, no `config.json`, no main-process change beyond the renderer.\n- The toggle reuses the existing `SettingsToggle` component and Appearance page\n structure. Reuses `settings.appearance.interface` section heading; two new i18n\n keys (`settings.appearance.reduceMotion` / `...Desc`) added to all 7 locales.\n\n## Alternatives Considered\n\n- **Respect only the OS `prefers-reduced-motion`** (no in-app toggle): better than\n nothing, but users often want reduced motion in one app without changing an\n OS-wide setting. The proposed default already honors the OS value and adds an\n explicit override on top.\n- **A per-animation opt-out**: far more invasive and easy to miss spots; a single\n root-level `MotionConfig` + CSS guard is the standard, comprehensive approach.\n\n## Additional Context\n\n### Acceptance criteria (CDP e2e assertion)\n\nA new `e2e/assertions/reduce-motion.assert.ts` drives the real built app over CDP\nentirely in the draft/no-session state (no seeded conversation, no backend\nconnection needed — it only touches Settings):\n\n1. Open **Settings → Appearance** from the sidebar; the **Reduce motion** toggle\n renders and is initially **off** (`aria-checked=\"false\"`), and `\u003chtml\u003e` has **no**\n `data-reduce-motion` attribute.\n2. Click the toggle → it flips to `aria-checked=\"true\"`, `\u003chtml\u003e` gains\n `data-reduce-motion=\"true\"`, **and** the `localStorage` key\n (`craft-reduce-motion`) is persisted as `true` — proving the toggle actually\n applies and persists the preference, not merely renders.\n3. Click again → the toggle returns to `aria-checked=\"false\"`, the `\u003chtml\u003e`\n attribute is removed, and the persisted value is `false`.\n\nPart of the autonomous desktop-feature loop (`loop-bot`).","author":{"url":"https://github.com/DragonnZhang","@type":"Person","name":"DragonnZhang"},"datePublished":"2026-07-03T13:25:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/50/openwork/issues/50"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:80282e72-3fcf-09b0-c61e-afffde9dc87c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCF6:1F2FB0:488CA4:6100E2:6A526324 |
| html-safe-nonce | 58c39e014038150710eeaf8631c11d7039e4a1be0754d6f76b93759292cacf67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0Y2OjFGMkZCMDo0ODhDQTQ6NjEwMEUyOjZBNTI2MzI0IiwidmlzaXRvcl9pZCI6IjE1NTk1MjE3MTM3OTYwNDc2NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 53e933880157c37c86b1649d60da7cb94b800ba896ac03f86c9e8a845d0c3a85 |
| hovercard-subject-tag | issue:4803825036 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelstudioai/openwork/50/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d79ef8f94ed55798dd764878f6b6d01c6a57145340db98ce3a813619ebbb1989/modelstudioai/openwork/issues/50 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d79ef8f94ed55798dd764878f6b6d01c6a57145340db98ce3a813619ebbb1989/modelstudioai/openwork/issues/50 |
| og:image:alt | Problem or Motivation OpenWork animates heavily — the transcript, session list, dropdowns, toasts, the pet, and the empty-composer entrance all use motion/react (framer-motion) motion / AnimatePres... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DragonnZhang |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/modelstudioai/openwork git https://github.com/modelstudioai/openwork.git |
| octolytics-dimension-user_id | 283556804 |
| octolytics-dimension-user_login | modelstudioai |
| octolytics-dimension-repository_id | 1256697754 |
| octolytics-dimension-repository_nwo | modelstudioai/openwork |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1256697754 |
| octolytics-dimension-repository_network_root_nwo | modelstudioai/openwork |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width