style(ui): reduce initial dashboard gaps and flatten discovery rows

This commit is contained in:
cesnimda
2026-11-04 01:58:30 +01:00
parent df0ef68cd9
commit a7d726738b
88 changed files with 1748 additions and 20 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ export function defaultDashboardLayout(): DashboardLayout {
return { version: 2, revision: 0, widgets: arrangeDashboardWidgets(order.map(id => {
const definition = WIDGETS.find(widget => widget.id === id)!;
const w = id === 'attention' ? 12 : id === 'agenda' ? 8 : id === 'funnel' ? 4 : definition.defaultSize === 'full' ? 12 : 6;
return { id, visible: true, size: w === 12 ? 'full' : 'standard', x: 0, y: 0, w, h: id === 'cards' ? 5 : id === 'attention' ? 9 : 8 };
const h = id === 'cards' ? 5 : id === 'attention' ? 9 : ['stageAge', 'sources', 'salary', 'companies', 'skills'].includes(id) ? 4 : 8;
return { id, visible: true, size: w === 12 ? 'full' : 'standard', x: 0, y: 0, w, h };
})) };
}