Implements the schedule module for COMPASS construction PM: - D1/Drizzle schema: tasks, dependencies, phases tables - frappe-gantt integration for interactive timeline view - Critical path analysis (forward/backward pass, float calc) - Dependency validation with cycle detection - Business day calculations (skip weekends/holidays) - Date propagation engine for cascading schedule changes - Task CRUD with phase assignment and progress tracking - Dependency management (FS/FF/SS/SF with lag support) - Dual view: sortable list view + gantt chart view Also includes full Next.js app scaffold with dashboard, shadcn/ui components, and Cloudflare Workers deployment config.
18 lines
481 B
TypeScript
Executable File
18 lines
481 B
TypeScript
Executable File
import { ChartAreaInteractive } from "@/components/chart-area-interactive"
|
|
import { DataTable } from "@/components/data-table"
|
|
import { SectionCards } from "@/components/section-cards"
|
|
|
|
import data from "./data.json"
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div className="flex flex-col gap-4 py-4 md:gap-6 md:py-6">
|
|
<SectionCards />
|
|
<div className="px-4 lg:px-6">
|
|
<ChartAreaInteractive />
|
|
</div>
|
|
<DataTable data={data} />
|
|
</div>
|
|
)
|
|
}
|