Round faces: a bar as concentric arcs with a legend in the middle; larger title, gap line and face text; Read-only in the ring's gap; a round dashboard unpadded on a phone; reduced-motion ring assertion

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Melvin Strobl
2026-10-14 16:52:46 +02:00
co-authored by Claude Opus 5.5
parent f5412d2f7d
commit 541dbce584
9 changed files with 308 additions and 33 deletions
@@ -118,6 +118,8 @@ export function LockNotice({ dashboard }: { dashboard: Dashboard }) {
// Read straight from the document rather than through `useLocked`: that
// provider sits inside the grid, and this notice is beside it.
const locked = useDashboardLocked(dashboard)
if (!locked) return null
// A round face says it in its own gap (`RoundView`): a corner outside the
// circle is under a knob's bezel.
if (!locked || isRound(dashboard)) return null
return <Notice>Read-only</Notice>
}