Dashboard motion: round dashboards page up and down, the ring eases to a notch or a reading, the slider tile to a value set elsewhere; reduced motion honoured by every tween; motion spec in the docs

This commit is contained in:
Melvin Strobl
2026-10-14 16:34:10 +02:00
parent 66e6c4b6ec
commit 42c752c94e
11 changed files with 245 additions and 91 deletions
@@ -4,7 +4,7 @@ import type { DashboardDef_Output, Placement, WidgetDef } from "@/client"
import { cn } from "@/lib/utils"
import "./dashboard.css"
import { RoundView } from "./RoundFace"
import { RoundPanel } from "./RoundFace"
import {
LockedProvider,
PaletteProvider,
@@ -393,8 +393,7 @@ export function DashboardView({
{round ? (
// Its own face memory per dashboard, so a panel switching to another
// starts that one where it was left.
<RoundView
key={dashboard.name}
<RoundPanel
dashboard={dashboard}
size={canvasOf(dashboard).width}
onDashboard={onDashboard}