Skip to content

fix(dashboard): show when the data was collected, not when the page loaded - #79

Merged
thebenignhacker merged 1 commit into
mainfrom
integrate/2026-11-22-b
Nov 22, 2026
Merged

thebenignhacker merged 1 commit into
mainfrom
integrate/2026-11-22-b

Conversation

@thebenignhacker

Copy link
Copy Markdown
Contributor

This pull request lands 1 commit in lib/freshness.js, pages/api/overview.js, pages/index.js, styles/globals.css and test/freshness.test.js.

Included

  • fix(dashboard): show when the data was collected, not when the page loaded

Verified on this exact tree

  • npm ci --no-audit --no-fund (Node 24.22.1, npm 11.19.1): added 205 packages
  • node --test --test-concurrency=4 test/*.test.js (the npm test command with concurrency capped at 4): tests 308, pass 308, fail 0, cancelled 0, skipped 0, todo 0
  • git ls-files 'test/*.test.js' | wc -l: 20
  • npm run build (next build, Next.js 16.4.5): exit 0, Compiled successfully, static pages 3/3
  • git status --porcelain after the test and build runs: no output
  • Typecheck, lint, changelog check: not run, package.json defines no script for them

Not included

None

Closes

None

How to merge

Rebase and merge, so that each change stays its own commit on main.

…oaded

The sidebar date now comes from the data's own timestamp and reads stale after 30 hours or unknown without one.
/api/overview adds dataCollectedAt and keeps lastUpdated unchanged.
@vercel

vercel Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
github-analytics-tracker Ready Ready Preview Nov 22, 2026 12:40pm UTC

Request Review

@thebenignhacker
thebenignhacker merged commit fa71330 into main Nov 22, 2026
3 checks passed
@thebenignhacker
thebenignhacker deleted the integrate/2026-11-22-b branch November 22, 2026 12:41

This branch was successfully deployed

1 active deployment
Preview — 7c394421 Deployed Nov 22, 2026 by vercel[bot]
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