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:
@@ -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'
|
||||
|
||||
@@ -215,6 +215,7 @@ export type DashboardSummary = {
|
||||
has_draft?: boolean;
|
||||
version?: number;
|
||||
columns?: number;
|
||||
shape?: 'rect' | 'round';
|
||||
footprint?: Array<WidgetFootprint>;
|
||||
updated_at?: (string | null);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user