Repository navigation
fix(progress-report): fold the full plan tables under the phase cards - #457
Merged
MendixMau merged 2 commits intoOct 17, 2026
Merged
Conversation
The build section embedded the whole build-plan.md fragment open below the phase cards, which already list every row. On a 178-row plan that was 146k of the page's 229k characters, the same rows twice. The fragment now sits in a closed <details>; the "Jump to the plan tables" link still opens it. Test P6 in test-progress-report-polish.sh pins the folded state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WHnXeE4frSGHL5PHSpTJb4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What went wrong
A user opened the progress report on a live five-app lab project (178 plan rows, 77% built) and said: "the buildplan got merge in. But it's look like horrible HTML, and it takes tooo much room in this progress report no?"
They were right. The build section rendered the phase cards (one compact card per phase, with a bar, counts and a click-to-show row list), and below them the whole
build-plan.mdfragment again, fully open: every table of every phase, with the claims and drift columns, plus views A and B.The phase cards already answer "where are we" for each phase. The open tables underneath pushed the footer and the "how it is measured" notes about 140k characters further down, and the user stopped reading at the first long table.
What went well
openTarget()script already opens a targeted<details>, so the "Jump to the plan tables" link keeps working without new JavaScript.<details>were open, so a reader who opens the tables keeps them open across the 30-second refresh.The change
project-bin/progress-report.py: the fragment is wrapped in<details id=plan-tables class='card frag'>, closed by default, with a one-line summary ("Full plan tables and views A and B"). When there is no fragment, nothing is written (before, an empty<div>was).Why fold and not drop
The tables still carry what the cards do not: the claims and drift per row and the script-folder and module-proof views (A and B). Those are reference material for when a count looks wrong, not the first thing to read.
Tests
tests/wave2/test-progress-report-polish.sh: the tables are a closed<details>with a summary, the jump link still points at them, the old open<div>is gone.test-progress-report-polish36/0,test-progress-report101/0,test-progress-report-field-fixes101/0,test-progress-report-gitignore15/0,test-surface-column13/0,test-build-plan-json70/0.Related
The same session found a second, larger report bug: a stale
blueprint.htmlafter a change round reopened Stage 3 and made the report show Stages 3 and 4 at 0% on a project that is 77% built. That one needs a design decision, so it is filed as an issue, not folded into this PR.🤖 Generated with Claude Code
https://claude.ai/code/session_01WHnXeE4frSGHL5PHSpTJb4