tooling: keep small dashboard groups inside their boxes #290

Merged
Kha73k merged 1 commit from upstream-pr/294 into main 2026-11-21 21:25:44 +00:00
Kha73k commented 2026-11-21 21:08:34 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Kha73k on 2026-11-21T21:08:34Z.


Follow-up to #236. In the README graphic, small groups (EXP, VINTRP, SOPC, MTBUF) drew their label and squares past their boxes. Each group is now a nested svg clipped to its box. A label is drawn only when it and the squares fit; the remaining groups are listed under each panel. docs/coverage/dashboard.svg is redrawn from the same c04e65a measurement, so the counts are unchanged.

python -B tests/form_coverage_check.py passes. check_dashboard() now checks that every square and label stays inside its box and that every group is labelled once. Forcing labels into boxes that are too small fails it.

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6534417998 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/294). Originally posted by [Kha73k](https://github.com/Kha73k) on 2026-11-21T21:08:34Z. --- Follow-up to #236. In the README graphic, small groups (EXP, VINTRP, SOPC, MTBUF) drew their label and squares past their boxes. Each group is now a nested `svg` clipped to its box. A label is drawn only when it and the squares fit; the remaining groups are listed under each panel. `docs/coverage/dashboard.svg` is redrawn from the same c04e65a measurement, so the counts are unchanged. `python -B tests/form_coverage_check.py` passes. `check_dashboard()` now checks that every square and label stays inside its box and that every group is labelled once. Forcing labels into boxes that are too small fails it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
upstream-sync closed this pull request 2026-11-24 06:42:17 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!290
No description provided.