Commit dd96739
feat: add now line rendering to Gantt charts (RFC-0017)
Add vertical "now line" markers to Gantt chart renderers showing the
status date and/or today's date as visual reference points.
Features:
- NowLineConfig struct for configuring now line rendering
- HTML/SVG: Red solid line for status date, green dashed for today
- MermaidJS: todayMarker directive support
- PlantUML: Date coloring with status_date
- WASM Playground: Toggle checkbox (default: enabled)
- CLI flags: --as-of, --no-now-line, --show-today
- TJP parser: Handle `now` attribute -> project.status_date
- MS Project import: Extract status_date from project properties
Tests: 10 unit tests, 5 WASM tests, 6 E2E tests
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 85cf1a0 commit dd96739
19 files changed
Lines changed: 1235 additions & 30 deletions
File tree
- crates
- utf8proj-cli/src
- utf8proj-parser/src/tjp
- utf8proj-render/src
- utf8proj-wasm/src
- docs
- rfc
- playground
- src
- tests
- tools/mpp_to_proj
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
207 | 220 | | |
208 | 221 | | |
209 | 222 | | |
| |||
455 | 468 | | |
456 | 469 | | |
457 | 470 | | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
458 | 474 | | |
459 | 475 | | |
460 | 476 | | |
| |||
470 | 486 | | |
471 | 487 | | |
472 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
473 | 492 | | |
474 | 493 | | |
475 | 494 | | |
| |||
1040 | 1059 | | |
1041 | 1060 | | |
1042 | 1061 | | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1043 | 1065 | | |
1044 | 1066 | | |
1045 | 1067 | | |
| |||
1175 | 1197 | | |
1176 | 1198 | | |
1177 | 1199 | | |
1178 | | - | |
1179 | | - | |
| 1200 | + | |
| 1201 | + | |
1180 | 1202 | | |
1181 | 1203 | | |
1182 | 1204 | | |
| |||
1198 | 1220 | | |
1199 | 1221 | | |
1200 | 1222 | | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
1201 | 1244 | | |
1202 | 1245 | | |
1203 | 1246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
116 | 123 | | |
117 | 124 | | |
118 | 125 | | |
| |||
690 | 697 | | |
691 | 698 | | |
692 | 699 | | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
693 | 718 | | |
0 commit comments