Repository navigation
feat(site): chart wheel readiness over time with version upgrades and latest label (#78) - #143
Conversation
|
Thanks @dianatofficial, this looks good overall: the readiness chart is a nice addition to the home page, and it comes with tests for the series maths, the version marks and the history cap. Because it changes (Review assisted by Claude.) |
cd6d18a to
57b60b9
Compare
|
Thanks for the update, @dianatofficial! The new commits look fine. This PR still changes (Review assisted by Claude.) |
57b60b9 to
571ee96
Compare
|
Thanks for the rebase, @dianatofficial! It now merges cleanly with (Review assisted by Claude.) |
…ghts, tighten validation (wheelgap#78) - The trend note said the Pyodide sparkline was PyPI wheels only; it now counts Pyodide's own builds like the percentages, so say that. - Mark the first night Pyodide's own builds were counted as well as wheelgap version changes (neither is like for like, wheelgap#58), and call it a version change. - chartSeries validates counts with isCount, so a malformed history entry is skipped. - Use the --amber token; drop the unused style.css rules, the dead fallback in coverageSeries and the unused version_marks(). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…p#78) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Merged, thanks @dianatofficial! The readiness chart is a great addition to the home page. Before merging I pushed a few small fixes:
If you'd like another, wheelgap/wheelgap#463 ( (Reply assisted by Claude.) |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolves #78
Summary
Tracks and displays wheel readiness per target over time across nightly scans, highlighting version transitions and latest coverage:
scripts/update_history.py):MAX_DAYS = 730cappingdata/history.jsonat 2 years of daily scans so the repository stays lightweight over time.version_marks(history)identifying the initial scan date for each new wheelgap release.site/logic.js):chartSeries(history, label)producing normalized per-target data points with date, coverage percentage (including Pyodide bundled builds), raw package counts, andupgradeversion markers when wheelgap is upgraded across scans.site/app.js,site/home.css,site/style.css):<text class="spark-label">...%</text>)..spark-upgrade-line), upgrade marker circles (.spark-upgrade), tooltips, and screen-reader accessible attributes.renderTrends()#trend-noteto explicitly mention that latest points are labelled and version upgrade points are marked.tests/test_scripts.py: covered history capping atmax_daysandversion_marksdetection.tests/site/logic.test.js: coveredchartSeriespercentage calculations, bundled handling, upgrade detection, and malformed history safety.tests/site/app.test.js: covered SVG markup generation with latest label and upgrade lines.