Site generator — redesign milestones view
Description
The development progress page is a little hard to understand. i'd like to see tasks separated by milestone, so I can see what is left for each milestone to do. I also don't see the 'test' milestone, presumably because all of its tasks are closed. I'd like to have a toggle to see either only open or open and closed tasks (and associated milestones).
Labels
Dependencies
No dependencies.
Artifacts
Summary
Redesigned the dashboard index.html milestones section to group tasks by milestone/phase (matched via labels), added a JS toggle to show open-only vs all tasks, and ensured all-closed milestone groups (like 'test') still appear in the HTML and are revealed by the toggle. The kanban board in dev/index.html was not changed. A new _group_tasks_by_phase() method was added to SiteGenerator.
Status: complete
Tests
Test categories (20)
- group_tasks_by_phase method signature
- basic phase grouping by label
- unmatched labels create synthetic groups
- open/closed count fields
- tasks with no labels go to other group
- empty phase still appears in output
- done status counts as closed
- JS toggleClosed(false) on page load
- empty phase rendered in HTML
- test group visible even when all closed
- toggle control present in HTML
- closed tasks have CSS class
- task content grouped by milestone in HTML
- kanban board unchanged in dev/index.html
- adversarial: substring non-match
- adversarial: case-insensitive matching
- adversarial: multiple labels handling
- adversarial: integer phase id
- adversarial: 100 closed tasks
- adversarial: CSS classes correct
Code Review
Verdict: APPROVED
Critical issues: 0 found, 0 fixed