Versions page and version comparison #31

Merged
Gilles merged 1 commit from feat/28-versions into master 2026-10-29 22:57:41 +00:00
Owner

Closes #28

Frontend for argus/backend#22 (PR argus/backend#42). Merge after it is deployed.

Changes

  • ReportType gains publish (also in the router's report-type regex); PublishSummary, getDependencies().
  • VersionsView at /:owner/:repo/versions (linked from the project page): publish reports newest first (?report_type=publish&limit=200), devel snapshots hidden unless asked; version, date, total size, dependency count, links, artifacts (size, download link).
  • Comparison of two ticked versions (always older → newer): total and per-artifact size difference — artifacts matched with the version removed from their name (app-1.1.0.whl ↔ app-1.2.0.whl) — and dependencies added / removed / changed (utils/versions.ts).
  • formatBytes() (binary units, French abbreviations).
  • Tests: src/__tests__/Versions.spec.ts.

Checks

pnpm run test:unit (107 passed), vue-tsc -b, pnpm run build.

🤖 Generated with Claude Code

https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA

Closes #28 Frontend for argus/backend#22 (PR argus/backend#42). Merge after it is deployed. ## Changes - `ReportType` gains `publish` (also in the router's report-type regex); `PublishSummary`, `getDependencies()`. - `VersionsView` at `/:owner/:repo/versions` (linked from the project page): publish reports newest first (`?report_type=publish&limit=200`), devel snapshots hidden unless asked; version, date, total size, dependency count, links, artifacts (size, download link). - Comparison of two ticked versions (always older → newer): total and per-artifact size difference — artifacts matched with the version removed from their name (`app-1.1.0.whl` ↔ `app-1.2.0.whl`) — and dependencies added / removed / changed (`utils/versions.ts`). - `formatBytes()` (binary units, French abbreviations). - Tests: `src/__tests__/Versions.spec.ts`. ## Checks `pnpm run test:unit` (107 passed), `vue-tsc -b`, `pnpm run build`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
feature: versions page and version comparison
All checks were successful
ci / unit (pull_request) Successful in 2m2s
ci / publish (pull_request) Has been skipped
79a57b1b14
A "Versions" page per project (link next to Paramètres/Événements):
the publish reports newest first -- version, date, total size,
dependency count, links, artifacts with sizes and download links --
devel snapshots on demand. Ticking two versions compares them older to
newer: total and per-artifact size difference (artifacts matched with
the version stripped from their name) and dependencies added, removed
or changed.

Closes #28

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
Author
Owner
<!-- argus-link-bot:argus/frontend --> 📊 [Rapports Argus pour cette PR](https://reports.stationmyr.net/argus/frontend/pr/31)
Gilles merged commit 42841e4261 into master 2026-10-29 22:57:41 +00:00
Gilles deleted branch feat/28-versions 2026-10-29 22:57:41 +00:00
Sign in to join this conversation.
No description provided.