diff --git a/CHANGELOG.md b/CHANGELOG.md index df99d2d..5ba12af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,6 +58,7 @@ This file is the running release and change log for MRP Codex. Keep it updated w ### Changed +- Fresh bootstrap now creates only minimal system records; operational domains no longer start with seeded demo customers, vendors, inventory, BOMs, or warehouses - Sales and purchasing detail pages now expose revision comparison directly alongside chronological revision history - `ROADMAP.md` now tracks remaining work only, and shipped phase history now lives in `SHIPPED.md` - Support logs now prune retained entries by age instead of only trimming by count, and admin diagnostics now reviews filtered support-log summaries instead of an unbounded flat dump diff --git a/README.md b/README.md index c423f72..78498da 100644 --- a/README.md +++ b/README.md @@ -230,8 +230,7 @@ The current inventory foundation supports: - item on-hand quantity, stock-by-location balances, and recent stock history - reserved and available quantity visibility by location - item-level file attachments for drawings and support documents -- seeded sample inventory items and a starter assembly BOM during bootstrap -- seeded sample warehouse and stock locations during bootstrap +- fresh bootstrap starts inventory and warehouse data empty so first-run environments do not include demo operational records QOL direction: diff --git a/client/src/modules/gantt/GanttPage.tsx b/client/src/modules/gantt/GanttPage.tsx index 1d6533d..6d90f47 100644 --- a/client/src/modules/gantt/GanttPage.tsx +++ b/client/src/modules/gantt/GanttPage.tsx @@ -48,6 +48,9 @@ export function GanttPage() { const links = timeline?.links ?? []; const summary = timeline?.summary; const exceptions = timeline?.exceptions ?? []; + const ganttCellHeight = 44; + const ganttScaleHeight = 56; + const ganttHeight = Math.max(420, tasks.length * ganttCellHeight + ganttScaleHeight); return (
@@ -104,7 +107,7 @@ export function GanttPage() {
@@ -119,15 +122,19 @@ export function GanttPage() { {tasks.length} schedule rows
- ({ - ...task, - start: new Date(task.start), - end: new Date(task.end), - parent: task.parentId ?? undefined, - }))} - links={links} - /> +
+ ({ + ...task, + start: new Date(task.start), + end: new Date(task.end), + parent: task.parentId ?? undefined, + }))} + links={links} + cellHeight={ganttCellHeight} + scaleHeight={ganttScaleHeight} + /> +