Draw a round dashboard in the mosaic as its circle with a dot per face

DashboardSummary carries the dashboard's shape, so the list no longer lays
a round dashboard's faces out at grid places they never use.
This commit is contained in:
2026-10-15 15:54:47 +02:00
parent 0c4b23de8a
commit a34f8f436c
5 changed files with 46 additions and 0 deletions
+6
View File
@@ -828,6 +828,12 @@ export const DashboardSummarySchema = {
title: 'Columns',
default: 12
},
shape: {
type: 'string',
enum: ['rect', 'round'],
title: 'Shape',
default: 'rect'
},
footprint: {
items: {
'$ref': '#/components/schemas/WidgetFootprint'
+1
View File
@@ -215,6 +215,7 @@ export type DashboardSummary = {
has_draft?: boolean;
version?: number;
columns?: number;
shape?: 'rect' | 'round';
footprint?: Array<WidgetFootprint>;
updated_at?: (string | null);
};