You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6b99c69
Browse filesBrowse the repository at this point in the historyBrowse files
feat(catalog): add Gantt recipe with nested phases and dependencies (#163)
* feat(catalog): add Gantt recipe with nested phases and dependencies
Add conformance case 198: phase header lanes with indented task lanes on scaleBand and scaleUtc, progress fills, a go-live milestone, a status-date rule, and right-angle finish-to-start arrows routed by a case-local d3 curve on link. Connectors, progress, and the rule are decorative, so keyboard focus stops on every phase, task, and milestone. Observable Plot reference uses the same routing curve.
Document the recipe in Intervals and Financial Charts, register the case in the catalog index, previews, navigation, and definition coverage records, and log F-310, F-313, and F-314 in the API friction log.
* docs(friction): renumber Gantt recipe findings to F-307 through F-309
* fix(catalog): walk Gantt focus by lane and keep connectors visible
Use a focusNearestY-based strategy whose navigation sorts by y then x so arrow keys follow the lane tree, and assert the order in the unit test. Outline phase summaries with a light fill so crossing connectors stay visible in both themes. Note the fixed margin assumption in the gutter estimate and correct F-308.
* docs: align Gantt plan friction references
---------
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
| Definition now |135| Current marks and eager transforms are sufficient |
34
+
| Definition now |136| Current marks and eager transforms are sufficient |
35
35
| First-party primitive | 35 | Add a reusable mark, transform, layout, guide, or controlled signal |
36
36
| Optional primitive | 15 | Keep a heavy dependency granular, but hide its layout DTOs and lifecycle |
37
37
| Application boundary | 2 | The remaining work is product state, DOM layout, or data arrival |
38
38
| Inline custom mark | 1 | The geometry is intentionally case-specific |
39
-
|**Total**|**188**||
39
+
|**Total**|**189**||
40
40
41
41
A normal definition does not require every implementation algorithm to live
42
42
in Charts core. D3 may implement an optional `sankeyDiagram`, `densityContour`,
@@ -322,6 +322,7 @@ ownership boundary.
322
322
|[195 — shadcn tooltip-label-custom](./cases/195-shadcn-tooltip-label-custom/example.tsx)| Definition now | The self-contained native TanStack Charts tooltip example reproduces the pinned shadcn variant and card presentation. |
323
323
|[196 — shadcn tooltip-label-formatter](./cases/196-shadcn-tooltip-label-formatter/example.tsx)| Definition now | The self-contained native TanStack Charts tooltip example reproduces the pinned shadcn variant and card presentation. |
324
324
|[197 — shadcn tooltip-label-none](./cases/197-shadcn-tooltip-label-none/example.tsx)| Definition now | The self-contained native TanStack Charts tooltip example reproduces the pinned shadcn variant and card presentation. |
325
+
|[198 — Gantt dependencies](./cases/198-gantt-dependencies/example.tsx)| Definition now | Native rect, dot, rule, and decorative link marks compose phase lanes, progress, a milestone, and the status date; a case-local d3 curve routes each link as a right-angle dependency arrow. |
325
326
326
327
## Reference evidence
327
328
@@ -353,8 +354,8 @@ bundle.
353
354
354
355
## Delivery result
355
356
356
-
All 188 catalog directories now have one roadmap record and case-local
357
-
evidence. All 185 normal-definition cases are verified against their current
357
+
All 189 catalog directories now have one roadmap record and case-local
358
+
evidence. All 186 normal-definition cases are verified against their current
358
359
boundary; only cases 85, 86, and 116 retain accepted application or bespoke
359
360
geometry work. The roadmap validator compares its IDs with the live catalog
360
361
directories so a new case cannot silently remain outside this review.
| First-party primitive | 35 | Normal definition |
14
14
| Optional primitive | 15 | Normal definition |
15
15
| Application boundary | 2 | Accepted boundary |
16
16
| Inline custom mark | 1 | Accepted boundary |
17
-
|**Total**|**188**|**185 normal definitions; 3 accepted boundaries**|
17
+
|**Total**|**189**|**186 normal definitions; 3 accepted boundaries**|
18
18
19
19
## Shared decisions
20
20
@@ -63,7 +63,7 @@ presentation policy.
63
63
64
64
## Verification
65
65
66
-
- The roadmap validator compares all 188 roadmap and audit IDs with the live
66
+
- The roadmap validator compares all 189 roadmap and audit IDs with the live
67
67
catalog directories, requires unique IDs, validates the capability DAG, and
68
68
requires every verified or accepted case to cite evidence under its own
69
69
directory.
@@ -260,6 +260,7 @@ presentation policy.
260
260
|[195-shadcn-tooltip-label-custom — Tooltip - Custom label](./cases/195-shadcn-tooltip-label-custom/example.tsx)| Definition now |`current-definition-api`|`example.tsx`, `case.json`|
261
261
|[196-shadcn-tooltip-label-formatter — Tooltip - Label Formatter](./cases/196-shadcn-tooltip-label-formatter/example.tsx)| Definition now |`current-definition-api`|`example.tsx`, `case.json`|
262
262
|[197-shadcn-tooltip-label-none — Tooltip - No Label](./cases/197-shadcn-tooltip-label-none/example.tsx)| Definition now |`current-definition-api`|`example.tsx`, `case.json`|
263
+
|[198-gantt-dependencies — Project Gantt with nested phases and dependencies](./cases/198-gantt-dependencies/example.tsx)| Definition now |`current-definition-api`|`example.tsx`, `route.ts`, `tanstack.test.ts`|
263
264
|[bar-grouped — Grouped bars](./cases/bar-grouped/example.tsx)| Definition now |`current-definition-api`|`example.tsx`|
264
265
|[bar-horizontal-ranking — Horizontal ranking with long labels](./cases/bar-horizontal-ranking/example.tsx)| Definition now |`current-definition-api`|`example.tsx`|
265
266
|[bar-stacked — Stacked bars](./cases/bar-stacked/example.tsx)| Definition now |`current-definition-api`|`example.tsx`|
"title": "Project Gantt with nested phases and dependencies",
7
+
"family": "interval",
8
+
"intent": "Show a small project plan as phase header lanes with indented task lanes, progress fills, a milestone, a status-date rule, and right-angle finish-to-start dependency arrows, with every task reachable by keyboard.",
9
+
"support": "composed",
10
+
"features": [
11
+
"gantt chart",
12
+
"band lanes over a UTC time scale",
13
+
"phase summary lanes with indented child lanes",
14
+
"progress fill over each task",
15
+
"milestone marker",
16
+
"status-date reference rule",
17
+
"orthogonal finish-to-start dependency arrows",
18
+
"decorative connectors outside keyboard focus",
19
+
"keyboard task descriptions"
20
+
],
21
+
"geometry": [
22
+
{
23
+
"role": "rect",
24
+
"count": 24,
25
+
"maxCount": 24,
26
+
"rendererRoles": { "observable-plot": "bar" }
27
+
},
28
+
{ "role": "link", "count": 13, "maxCount": 13 },
29
+
{ "role": "dot", "count": 1, "maxCount": 1 },
30
+
{ "role": "rule", "count": 1 }
31
+
],
32
+
"source": {
33
+
"title": "Highcharts Gantt dependencies between tasks",
"create": "Create a responsive Gantt chart from typed project tasks with phase, dates, progress, and finish-to-start predecessors: phase header lanes followed by indented task lanes on a band scale, UTC time, progress fills, a milestone, a status-date rule, and right-angle dependency arrows that stay out of keyboard focus.",
38
+
"maintain": "Add a task and a predecessor to one phase without changing lane order rules, breaking the phase roll-up, adding focus stops for connectors, or routing any dependency segment diagonally."
0 commit comments