LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtNov 18, 2026, 4:33 PM
updatedAtNov 19, 2026, 4:36 AM
githubUrlhttps://github.com/neomjs/neo/issues/21356
authorneo-fable-clio
commentsCount1
parentIssue21346
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 19, 2026, 4:36 AM

A Gantt example shows a project of 2,000 linked tasks

Closed v14.0.0/archive-v14-0-0-chunk-4 enhancementaiportal
neo-fable-clio
neo-fable-clio commented on Nov 18, 2026, 4:33 PM

Context

A leaf of #21346, the planning examples under #21140, and one of the three that the cut of Mon 23 Nov 2026 gets. The visitor's question: does the Gantt chart stay usable when the project has thousands of tasks?

No contributor labels: a maintainer builds it for the cut, and its first step is a profile whose result can change the scope.

The Problem

examples/gantt/basic shows one phase with four tasks and two links. A real plan has hundreds to thousands of tasks, and scale is what a buyer checks first. The Gantt chart draws its task tree through the grid's buffered body; no example shows it under load.

The Architectural Reality

  • src/gantt/Container.mjs: taskColumns_ (:70), cascadeDependencies_ (:36), dependencyCreation (:38), useWorkingTime_ (:72). The stores: src/gantt/TaskStore.mjs (a tree store) and src/gantt/DependencyStore.mjs.
  • Two facts from the source check on #21346: the link layer indexes every task and is not windowed vertically (src/gantt/DependencyLayer.mjs:412-486); and a parent task shows its stored dates, nothing derives them from its children (src/gantt/Container.mjs:16-17). Nothing has profiled the chart at this size.
  • examples/gantt/basic/Viewport.mjs (135 lines) is the template: a toolbar, the chart, its two stores. It is not edited.
  • The catalog: apps/portal/resources/data/examples.json (the record gantt-basic is the model); publishes() in apps/portal/model/Example.mjs:133 drops a record without image.
  • Specs for the family: test/playwright/e2e/gantt/.
  • Design authority: n/a, a new example. Look, caption and cover follow the target in #21140's body.

The Fix

  1. Profile first. Put the data of step 2 into a scratch copy of the base example and measure first paint, expanding and collapsing a phase, a vertical scroll through all rows and a horizontal scroll. Post the numbers here. If it does not hold, file the engine ticket for the link layer with that reproducer and link it here as a blocker; the example then ships with the largest counts that do hold, or after the cut.
  2. A new folder examples/gantt/bigData: a building project of 2,000 tasks in three levels (phases, work packages, tasks), with finish-to-start links inside a package and between packages, generated in the example from a fixed seed. The generator writes every parent's dates as the span of its children. The task count and the link count stand in the toolbar.
  3. It opens with the first phase expanded and the others collapsed, so the first frame shows the tree, the bars and the links together.
  4. Editing stays on only if the profile shows that a task move with its cascade holds at this size. Otherwise the example is read-only and says so; the pull request names which.
  5. One line says what to try, for example "Expand a phase and scroll: the tree, the bars and the links keep up."
  6. A catalog record gantt-big-data in the family gantt: a title that says what it shows ("A project of 2,000 tasks"), feature and lookFor in the form of its siblings, and a cover taken in the dark theme.

Acceptance Criteria

  • The profile's numbers are on this ticket before the pull request opens: first paint, expanding a phase, vertical and horizontal scroll, with the machine and the build mode.
  • The example opens with 2,000 tasks, or the stated count that passed the profile, and their links; both counts are on screen; the data is seeded, so the first frame is the same on every load.
  • Every parent's bar spans its children; a spec asserts it for one phase.
  • A spec under test/playwright/e2e/gantt/ asserts both counts, and that the rows in the DOM stay a small, stated fraction of the tasks.
  • No console error. 1440 × 900 and 390 × 844. Every theme of the base example's neo-config.json.
  • The pull request adds no data file.
  • Look: the first frame at both sizes, in the dark theme, is on the pull request beside gantt/basic's, read cold by one reader of the builder's seat.
  • The cover is on neomjs/pages before the pull request merges, and the record publishes.

Out of Scope

Engine changes: a defect the profile finds gets its own ticket, and so does deriving a parent's dates from its children. Working time, zoom levels and editing in the tree's cells: each is a candidate of its own in #21140. Loading from a server.

Avoided Traps

  • Parent dates typed apart from their children. The engine does not derive them, so a phase could end before its last task.
  • Counts the engine does not hold. The numbers on screen are the ones that passed the profile.
  • A data file, and random data on each load: the cover and the spec name first-frame content.

Related

Parent #21346 · #21140 (the Gantt row of its content table) · #20874 and #20878 (the family) · examples/grid/treeBigData, the tree grid's scale example.

unowned-rationale: open to a maintainer now. It ships with Engine 14 if its pull request passes by the lock, Sun 22 Nov 18:00 CET; otherwise the week after.

Live latest-open + closed sweep: latest 20 open read (80 open, red band: a leaf of the owning epic #21346), open search ("swimlanes", "300 resources", "2,000 tasks", "scale example") and closed search ("scheduler gantt swimlanes example scale", titles read) at 2026-11-18T15:31Z: no equivalent and no prior exclusion. A2A in-flight sweep: the latest 42 messages, all read-states, back to 14:30Z: no claim on a scale or swimlanes example. MC sweep ("scheduler, Gantt and board show one example each; nobody builds the scale examples for the cut"): this day's turns, no prior decision. Own-assignment sweep: 8 open; #21346 is the parent. Structure-map: N/A, a sibling folder under examples/gantt/.

Decision Record impact: none.

Origin Session ID: 8e78f529-725e-40c2-9c93-a9c550b089b2

Retrieval Hint: "Gantt scale example, 2,000 linked tasks, dependency layer not windowed, parent dates span children, profile first"

📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code

tobiu referenced in commit a2ccb3d - "feat(examples): a Gantt programme of 2,000 linked tasks (#21356) (#21412) on Nov 19, 2026, 4:36 AM
tobiu closed this issue on Nov 19, 2026, 4:36 AM