tooling: keep small dashboard groups inside their boxes #294

Manually merged
github merged 1 commit from gh-pr/294/head into gh-pr/294/base 2026-11-26 21:40:51 +00:00
Owner

@⁠Kha73k on GitHub · 2026-11-21 21:08 UTC · original
Kha73k:tooling/dashboard-small-groups → main · +54 −18 · 3 files · 1 commits · merged 2026-11-21 21:25 UTC

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

**@⁠Kha73k** on GitHub · 2026-11-21 21:08 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/294) `Kha73k:tooling/dashboard-small-groups` → `main` · +54 −18 · 3 files · 1 commits · merged 2026-11-21 21:25 UTC 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)
Groups such as EXP (1 form), VINTRP and SOPC got boxes smaller than their
label and squares, so both spilled into neighbouring boxes. Each group is
now a nested svg that clips to its box. A label is drawn only when it and
the squares fit; other groups are listed under the panel as "Too small to
label". form_coverage_check.py checks that every square and label stays in
its box and that every group is labelled once. The dashboard is redrawn
from the same c04e65a measurement, so the counts are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:40:49 +00:00
github manually merged commit 1456950a40 into gh-pr/294/base 2026-11-26 21:40:51 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.