Skip to content

fix(gantt): render on direct reload + Sprint 2-5 QA test cases#257

Merged
parth0025 merged 2 commits into
stagingfrom
fix/gantt-reload-render
Jun 18, 2026
Merged

fix(gantt): render on direct reload + Sprint 2-5 QA test cases#257
parth0025 merged 2 commits into
stagingfrom
fix/gantt-reload-render

Conversation

@parth0025

Copy link
Copy Markdown
Collaborator

Two related changes from the Sprint 5 QA pass.

Fix — Gantt renders on direct reload (commit 6e9cc3a)

Bug: reloading the page with the Gantt tab active showed an empty chart (0 scheduled + empty Unscheduled tray); reaching Gantt via List worked.
Cause: the project task list is loaded into the Vuex store by whichever task view (List/Table/Board) mounts, via taskListHelper().groupBy(...). Gantt only read the store, so a direct reload into the Gantt tab left it empty.
Fix: GanttView triggers the same loader on mount only when the store is empty for the project+sprint (no double-fetch when arriving from another view), and retries if sprints arrive late; the existing reactive watch renders once the data lands. Retains the earlier reopen-crash fix (dhtmlx singleton, no destructor(), guarded init()).

Docs — Sprint 2–5 feature test cases (commit cd6b4cc)

10 per-feature files in .claude/test-cases/, matching the folder's existing template (ID | Title | Precondition | Steps | Expected | Actual | Status):
Integrations (Slack + Discord), CSV importer, Trello importer, story points, @mentions, velocity, CFD, reports PDF export, Gantt, recurring tasks.

  • Third-party setup steps are written as the first "configure" case (Slack app → Incoming Webhook, Discord channel webhook, Trello board → Export as JSON).
  • The Gantt file includes regression cases for the fix above.
  • Skips BurndownChart.md (S4-01, already present); excludes n8n (not implemented).

🤖 Generated with Claude Code

parth0025 and others added 2 commits June 18, 2026 19:14
When Gantt was the active view on a fresh reload, the Vuex task store was empty (only List/Table/Board mount triggers the load via taskListHelper), so the chart rendered nothing. GanttView now triggers the same loader on mount when the store is empty for the project+sprint, and retries if sprints arrive late; the existing reactive watch renders once data lands. Retains the earlier reopen-crash fix (dhtmlx singleton, no destructor, guarded init).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Per-feature files in .claude/test-cases/ following the existing template: Integrations (Slack+Discord), CSV importer, Trello importer, story points, @mentions, velocity, CFD, reports PDF export, Gantt, recurring tasks. Includes third-party setup steps (Slack app webhook, Discord webhook, Trello JSON export) and Gantt reload/reopen regression cases. Skips BurndownChart (already present); excludes n8n (not built).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 13299653-bdb1-46b4-a433-b329f673f175

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/gantt-reload-render

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@parth0025 parth0025 merged commit f14fd6c into staging Jun 18, 2026
4 checks passed
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