Skip to content

Sources: per-source metrics in each card; drop aggregated blocks (#197)#201

Open
jozef2svrcek wants to merge 1 commit into
mainfrom
metrics-into-source-cards-197
Open

Sources: per-source metrics in each card; drop aggregated blocks (#197)#201
jozef2svrcek wants to merge 1 commit into
mainfrom
metrics-into-source-cards-197

Conversation

@jozef2svrcek

Copy link
Copy Markdown
Contributor

Closes #197.

Moves the per-source update metrics into each source card on the Sources page and removes the two aggregations added in #176/#193 (your "cards only" choice).

Changes

  • Each source card now shows "Latest #1649 · 2026-06-15" and "N games" (from SourceStatus.last_import / imported_games).
  • Removed the Home "Latest updates" list (SourceUpdates.tsx deleted, unwired from HomeEmptyState).
  • Removed the Maintenance "By source" block (SourceMetrics); "Local imports" folded back into the database-totals grid (now Games / Players / Positions / Local imports).

Frontend-only — the backing SourceStatus fields already exist on main.

Build passes (tsc && vite build).

Note: touches SourcesPanel/MaintenancePanel, which #194 and #196 also touch — merge after those (or expect small, easy conflicts in the imports/card body).

🤖 Generated with Claude Code

https://claude.ai/code/session_019KdPPg7P3bZ5p2RRhZZcv2

…197)

Each source card on the Sources page now shows its own latest item + date
and games imported, using the last_import / imported_games fields (added in
#176/#193). Removes the two aggregations those PRs introduced:
- the Home "Latest updates" list (SourceUpdates.tsx deleted, unwired from
  HomeEmptyState), and
- the Maintenance "By source" block (SourceMetrics), with "Local imports"
  folded back into the database-totals grid.

Frontend-only — the backing SourceStatus fields already exist.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019KdPPg7P3bZ5p2RRhZZcv2
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.

Sources: per-source metrics in each card; drop the aggregated Home/Maintenance blocks

1 participant