Round dashboards: one face at a time, a face per widget type, paged by swipe, dots and keys; slider reading; face row in the editor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8b8cb5cda9
commit
84071ee106
@@ -682,11 +682,6 @@ export const DashboardDef_InputSchema = {
|
||||
title: 'Shape',
|
||||
default: 'rect'
|
||||
},
|
||||
ring: {
|
||||
type: 'string',
|
||||
title: 'Ring',
|
||||
default: ''
|
||||
},
|
||||
icon: {
|
||||
type: 'string',
|
||||
title: 'Icon',
|
||||
@@ -761,11 +756,6 @@ export const DashboardDef_OutputSchema = {
|
||||
title: 'Shape',
|
||||
default: 'rect'
|
||||
},
|
||||
ring: {
|
||||
type: 'string',
|
||||
title: 'Ring',
|
||||
default: ''
|
||||
},
|
||||
icon: {
|
||||
type: 'string',
|
||||
title: 'Icon',
|
||||
@@ -4504,7 +4494,11 @@ differ and a change node per tile is not the answer:
|
||||
- \`\`hex\`\` — \`\`"#rrggbb"\`\`, lowercase. Conventional likewise.
|
||||
|
||||
The first two are a \`\`list\`\` message, the third a \`\`str\`\`, which is what
|
||||
\`\`COLOR_DTYPES\`\` records and the check below holds a binding to.`
|
||||
\`\`COLOR_DTYPES\`\` records and the check below holds a binding to.
|
||||
|
||||
A slider may also show what it is setting: \`\`reading\`\` binds
|
||||
\`\`{message, dtype, label}\`\` — a room's temperature beside its setpoint —
|
||||
held to the same numbers its target is.`
|
||||
} as const;
|
||||
|
||||
export const WidgetFootprintSchema = {
|
||||
|
||||
@@ -169,7 +169,6 @@ export type DashboardDef_Input = {
|
||||
canvas_width?: number;
|
||||
canvas_height?: number;
|
||||
shape?: 'rect' | 'round';
|
||||
ring?: string;
|
||||
icon?: string;
|
||||
widgets?: Array<WidgetDef>;
|
||||
settings?: {
|
||||
@@ -191,7 +190,6 @@ export type DashboardDef_Output = {
|
||||
canvas_width?: number;
|
||||
canvas_height?: number;
|
||||
shape?: 'rect' | 'round';
|
||||
ring?: string;
|
||||
icon?: string;
|
||||
widgets?: Array<WidgetDef>;
|
||||
settings?: {
|
||||
@@ -1462,6 +1460,10 @@ export type WebPushKey = {
|
||||
*
|
||||
* The first two are a ``list`` message, the third a ``str``, which is what
|
||||
* ``COLOR_DTYPES`` records and the check below holds a binding to.
|
||||
*
|
||||
* A slider may also show what it is setting: ``reading`` binds
|
||||
* ``{message, dtype, label}`` — a room's temperature beside its setpoint —
|
||||
* held to the same numbers its target is.
|
||||
*/
|
||||
export type WidgetDef = {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user