feature: open any past report from the history table #47

Merged
Gilles merged 1 commit from feat/report-history-access into master 2026-10-31 08:25:27 +00:00
Owner

Closes #45

Needs argus/backend#55 (report by id + before=) deployed first -- merge that one first.

  • ReportView at /:owner/:repo/:refKind/:refValue/report/:reportId: the report in full (ReportCard), plus a banner linking to the latest report of the same stream when this one is a past one.
  • ReportCard history: each row's date links to that report; "Plus anciens" pages further back (before= = oldest row's uploaded_at), hidden once a page comes back short.
  • "En cause" column: format-maison metrics that were warn/fail on that row (notOkMetrics in utils/metricSeries.ts).

Tests: ReportView.spec.ts, new cases in ReportCard.spec.ts; vitest (136), vue-tsc and build pass locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AUcAVt7dKqdZsFwQdwZkxW

Closes #45 Needs argus/backend#55 (report by id + `before=`) deployed first -- merge that one first. - `ReportView` at `/:owner/:repo/:refKind/:refValue/report/:reportId`: the report in full (ReportCard), plus a banner linking to the latest report of the same stream when this one is a past one. - ReportCard history: each row's date links to that report; "Plus anciens" pages further back (`before=` = oldest row's `uploaded_at`), hidden once a page comes back short. - "En cause" column: format-maison metrics that were warn/fail on that row (`notOkMetrics` in `utils/metricSeries.ts`). Tests: `ReportView.spec.ts`, new cases in `ReportCard.spec.ts`; vitest (136), vue-tsc and build pass locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01AUcAVt7dKqdZsFwQdwZkxW
feature: open any past report from the history table
All checks were successful
ci / unit (pull_request) Successful in 2m17s
ci / publish (pull_request) Has been skipped
664d8958ca
- New route /:owner/:repo/:refKind/:refValue/report/:reportId
  (ReportView): one report in full, with a "historical report" banner
  linking to the latest of its stream when it isn't that one.
- History rows link to it; "Plus anciens" loads the next page with
  argus/backend's before= param.
- New "En cause" column: the format-maison metrics that were warn/fail
  on that report (e.g. "Swap utilisé 97 %").

Closes #45

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AUcAVt7dKqdZsFwQdwZkxW
Author
Owner
<!-- argus-link-bot:argus/frontend --> 📊 [Rapports Argus pour cette PR](https://reports.stationmyr.net/argus/frontend/pr/47)
Gilles merged commit 98923cfb99 into master 2026-10-31 08:25:27 +00:00
Gilles deleted branch feat/report-history-access 2026-10-31 08:25:27 +00:00
Sign in to join this conversation.
No description provided.