Skip to content

Rename report section Gantt Interactive to Gantt and add waterfall subtitle - #887

Merged
neoneye merged 2 commits into
mainfrom
gantt-section-rename
Sep 6, 2026
Merged

Rename report section Gantt Interactive to Gantt and add waterfall subtitle#887
neoneye merged 2 commits into
mainfrom
gantt-section-rename

Conversation

@neoneye

@neoneye neoneye commented Sep 6, 2026

Copy link
Copy Markdown
Member

Summary

  • The report section formerly titled "Gantt Interactive" is now titled "Gantt".
  • The section opens with the line "Unoptimized waterfall. Parallel work not modelled here." rendered as a plain paragraph, the same way the Premortem intro line is.
  • ReportGenerator.append_html gains an optional subtitle argument that prepends an escaped paragraph to the embedded HTML. Doing this at the report layer rather than in the dhtmlx template means the note appears even when Luigi reuses a cached gantt.html from an earlier run.
  • Docs mention of the section name updated.

Verification

  • Two new tests in worker_plan/tests/test_report_generator.py cover the subtitle (present and ordered before the widget; absent by default). They failed before the change and pass after.
  • Sample report rendered in a browser: the Gantt subtitle and the Premortem intro paragraph have identical computed styles.
  • Root test.py: 401 tests, only the 23 pre-existing mcp_cloud errors that need PostgreSQL.
  • ruff check --select=E9,F63,F7,F82 . clean.

🤖 Generated with Claude Code

neoneye and others added 2 commits September 6, 2026 13:03
The Gantt section now opens with the line 'Unoptimized waterfall. Parallel work not modelled here.' so readers do not mistake the schedule for an optimized plan. The note lives in the dhtmlx template body content, so it also appears in the standalone gantt.html.

Adds a test for the dhtmlx export that checks the note sits at the top of the body content. Updates the docs mention of the section name.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…btitle

The note now comes from ReportGenerator.append_html via a new optional subtitle argument, rendered as a plain paragraph the same way the Premortem intro line is. Putting it at the report layer means it shows up even when Luigi reuses a cached gantt.html from an earlier run, which is why it was missing from a regenerated report.

Replaces the dhtmlx export test with tests for the subtitle in worker_plan/tests.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@neoneye
neoneye merged commit a3b3396 into main Sep 6, 2026
3 checks passed
@neoneye
neoneye deleted the gantt-section-rename branch September 6, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant