Skip to content

Add statistics status dashboard - #229

Merged
mre merged 1 commit into
mainfrom
statistics-html-dashboard
Jul 22, 2026
Merged

Add statistics status dashboard#229
mre merged 1 commit into
mainfrom
statistics-html-dashboard

Conversation

@mre

@mre mre commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Render /statistics as an HTML status dashboard.
  • Calculate endpoint statistics from the same getStatus() data used by /status.
  • Show 90 daily bars per endpoint.
  • Use grey bars before data exists, green bars for complete days, and amber bars for days with missing successful updates.
  • Use Handlebars partials for the endpoint card and failed podcast list.

Hover text

Each daily bar has a title with the date and success count, for example: 2026-07-22: 20/38 successful, 18 failed. Grey bars say no data available.

Note

The updates table only records successful imports. A failed podcast or daily bar means no successful update was recorded for that endpoint in the relevant window, not a recorded failed attempt.

Validation

  • npm run build
  • npm run lint
  • npx jest src/api/StatusApi.test.ts src/db/StatusRepository.test.ts --runInBand

Base automatically changed from statistics-endpoint to main July 22, 2026 12:05
@mre
mre force-pushed the statistics-html-dashboard branch 4 times, most recently from 03f20da to 2cc0198 Compare July 22, 2026 12:32
@mre
mre force-pushed the statistics-html-dashboard branch from 2cc0198 to c91294c Compare July 22, 2026 12:56
@mre
mre merged commit 8510059 into main Jul 22, 2026
2 checks passed
@mre
mre deleted the statistics-html-dashboard branch July 22, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant