diff --git a/frontend/src/components/Common/DashboardMosaic.tsx b/frontend/src/components/Common/DashboardMosaic.tsx index 5db9d06..035ae27 100644 --- a/frontend/src/components/Common/DashboardMosaic.tsx +++ b/frontend/src/components/Common/DashboardMosaic.tsx @@ -65,10 +65,7 @@ type Block = { h: number } -/** - * The first page's widgets as one grid. - * - */ +/** The dashboard's widgets as one grid. */ function blocksOf(dashboard: DashboardDef_Output): { blocks: Block[] rows: number diff --git a/frontend/src/components/Dashboard/DashboardView.tsx b/frontend/src/components/Dashboard/DashboardView.tsx index 0990784..7d2a72d 100644 --- a/frontend/src/components/Dashboard/DashboardView.tsx +++ b/frontend/src/components/Dashboard/DashboardView.tsx @@ -294,12 +294,12 @@ export const isPlaced = (widgets: WidgetDef[]) => }) /** - * One page, drawn as the single grid the panel shows. + * A dashboard, drawn as the single grid the panel shows. * * A dashboard is one canvas — several dashboards on a panel is what the rail - * is for — so the page's sections are one arrangement rather than a stack of - * headed grids. `SectionDef` stays in the schema, and the editor writes what - * it arranged back into the first section. + * is for — so its widgets are one arrangement rather than a stack of headed + * grids. Pages and sections left the schema in 7ff29ca; a document written + * the old way is flattened on read. */ export function DashboardView({ dashboard,