project-tasks-js: Project Tasks (1k to 1M tasks on a Gantt)

The Gantt demo: no backend, no network calls. A single <vn-gantt> fed a client-generated project plan through VanillaGanttStaticDataManager: 1,000 tasks by default, up to 1,000,000. It shows the Gantt (docs/vanilla-gantt/00-index.md): a task tree in an embedded <vn-grid>, and a timeline with one bar per row the grid renders.

What it shows

Script load order

The grid's vanilla-grid.js first: the Gantt embeds a <vn-grid> and reads the grid's utilities at runtime. Then vanilla-grid-toolbar.js and vanilla-gantt.js, each auto-loading its own files, vanilla-gantt-toolbar.js, which extends the grid toolbar and so comes after it, vanilla-resize-box.js, which depends on none of them, and app.js, a module, last. npm run build rewrites the five tags to the shared bundles in place, keeping that order.

Run

Serve the workspace root with any static server, then open /samples/project-tasks-js/index.html. No backend or network access is needed.

?tasks=1000, ?tasks=100000 or ?tasks=1000000 sets the plan size; the size selector reloads the page with it.

Files