Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Studio: turn Reduce motion on by default (#17377)

Michael Hane2361407bdf4
diff --git a/studio/backend/routes/settings.py b/studio/backend/routes/settings.py
index 449db994af1..f74bb5e096b 100644
--- a/studio/backend/routes/settings.py
+++ b/studio/backend/routes/settings.py
@@ -5073,7 +5073,7 @@ class PersonalizationCustomization(BaseModel):
composerOutline: Optional[int] = Field(None, ge = 0, le = 100)
elementOutline: Optional[int] = Field(None, ge = 0, le = 100)
pointerCursors: bool = False
- reduceMotion: Literal["system", "on", "off"] = "off"
+ reduceMotion: Literal["system", "on", "off"] = "on"
fontSmoothing: bool = True
codeLineNumbers: bool = False
codeWordWrap: bool = False
diff --git a/studio/backend/tests/test_personalization_settings.py b/studio/backend/tests/test_personalization_settings.py
index c6e94aa4841..775c136086c 100644
--- a/studio/backend/tests/test_personalization_settings.py
+++ b/studio/backend/tests/test_personalization_settings.py
@@ -89,7 +89,7 @@ def test_customization_defaults():
assert c.contrast == 50
assert c.composerOutline is None
assert c.elementOutline is None
- assert c.reduceMotion == "off"
+ assert c.reduceMotion == "on"
assert c.fontSmoothing is True
assert c.pointerCursors is False
assert c.codeLineNumbers is False
diff --git a/studio/frontend/src/features/settings/stores/appearance-custom-store.ts b/studio/frontend/src/features/settings/stores/appearance-custom-store.ts
index 02e003fe33a..5d9db76a075 100644
--- a/studio/frontend/src/features/settings/stores/appearance-custom-store.ts
+++ b/studio/frontend/src/features/settings/stores/appearance-custom-store.ts
@@ -268,7 +268,7 @@ export const DEFAULT_CUSTOMIZATION: AppearanceCustomization = {
composerOutline: null,
elementOutline: null,
pointerCursors: false,
- reduceMotion: "off",
+ reduceMotion: "on",
fontSmoothing: true,
codeLineNumbers: false,
codeWordWrap: false,
@@ -478,9 +478,9 @@ export function sanitizeCustomization(value: unknown): AppearanceCustomization {
elementOutline: sanitizePercent(source.elementOutline),
pointerCursors: source.pointerCursors === true,
reduceMotion:
- source.reduceMotion === "on" || source.reduceMotion === "system"
+ source.reduceMotion === "off" || source.reduceMotion === "system"
? source.reduceMotion
- : "off",
+ : "on",
fontSmoothing: source.fontSmoothing !== false,
codeLineNumbers: source.codeLineNumbers === true,
codeWordWrap: source.codeWordWrap === true,
diff --git a/studio/frontend/tests/reduce-motion-default.test.ts b/studio/frontend/tests/reduce-motion-default.test.ts
index b6fac8a8915..397a67eaf48 100644
--- a/studio/frontend/tests/reduce-motion-default.test.ts
+++ b/studio/frontend/tests/reduce-motion-default.test.ts
@@ -5,8 +5,8 @@ import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import test from "node:test";
-test("reduce motion defaults to off, and System and On stay selectable", () => {
+test("reduce motion defaults to on, and System and Off stay selectable", () => {
const store = readFileSync(new URL("../src/features/settings/stores/appearance-custom-store.ts", import.meta.url), "utf8");
- assert.match(store, /reduceMotion: "off",\n/);
- assert.match(store, /source\.reduceMotion === "on" \|\| source\.reduceMotion === "system"\n\s*\? source\.reduceMotion\n\s*: "off",/);
+ assert.match(store, /reduceMotion: "on",\n/);
+ assert.match(store, /source\.reduceMotion === "off" \|\| source\.reduceMotion === "system"\n\s*\? source\.reduceMotion\n\s*: "on",/);
});