Commit Graph

4 Commits

Author SHA1 Message Date
c043ec02b2 progress dashboard: resolve canvas colors once per redraw 2026-11-23 02:26:27 +01:00
56c0bc848e progress_dashboard: project logo in the header, sticky filters, theme switch
The page embeds assets/logo.png as a data: URI, so it stays one file that
opens from disk; without the asset it shows no image. The filters, search
and section links stay at the top while scrolling, each status filter shows
its count, and a button clears the filters. Panel metrics are bars with
their ratio, panels without evidence move after the ones with it, and the
latest merges are a table with item tags and authors. A theme button
overrides the system theme (kept in localStorage when it is available);
the treemaps and the trend chart redraw on a theme change. Neutrals carry
a faint tint from the logo; status colours are unchanged.
2026-11-22 14:48:31 -03:00
4958cb1e72 progress_dashboard: count every pull request merged into main as implemented
With --github the dashboard now reads every pull request into main of the
main repository (--repo, default ItsNotRexed/Leonida) on each run: merged
ones are IMPLEMENTED, open ones PARTIAL, closed-unmerged ones are left out.
They are grouped by the item ID the title names (D3D-, SHADER-, BUILD-, ...).
Two new metrics follow the share of merged pull requests and of item IDs
with a merged pull request, and the page lists the 30 latest merges.

The D3D- items of #313 are checked against the same lists, so a pull
request the table still shows as open but already merged counts as merged,
and one closed without merging no longer keeps the item partial.
2026-11-22 14:42:08 -03:00
9a82abceb3 tools/progress_dashboard: local page of what works, what changed and what blocks next
progress_dashboard.py (standard library, python -I) collects outcomes the project already
produces and writes a self-contained progress.html, JSON snapshots and a history into a
folder outside the repository (a folder inside it is refused):

- unit tests: --run-tests runs tests/test_*.py with ci.yml's selection, one process each;
  a test counts as current only if neither it nor tools/, scripts/, make_game.py changed
  since it passed (content digests, so uncommitted edits are handled too)
- runtime tests: runtime/build LastTest.log and --junit files (CTest or pytest)
- the translator contract table in docs/design.md, each row classified by how it says it
  was confirmed, with the matched words shown
- the measured tables in docs/runtime_imports.md
- --work: per-stage counts from the user's own carve and translation (numbers only)
- --github (read-only gh): latest completed CI run per workflow on main, the D3D- table
  of #313, the coordination issue's section sizes and, with --login, claims and PRs

No game data: counts, pass/fail and error classes only; no shader names or paths into the
game copy. The page has no packages and no network access. tests/test_progress_dashboard.py
covers the parsers, the classification, freshness, the no-names rule and the output folder.
2026-11-22 14:07:29 -03:00