Sources: per-source metrics in each card; drop aggregated blocks (#197)#201
Open
jozef2svrcek wants to merge 1 commit into
Open
Sources: per-source metrics in each card; drop aggregated blocks (#197)#201jozef2svrcek wants to merge 1 commit into
jozef2svrcek wants to merge 1 commit into
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
SourceStatus.last_import/imported_games).SourceUpdates.tsxdeleted, unwired fromHomeEmptyState).SourceMetrics); "Local imports" folded back into the database-totals grid (now Games / Players / Positions / Local imports).Frontend-only — the backing
SourceStatusfields already exist on main.Build passes (
tsc && vite build).🤖 Generated with Claude Code
https://claude.ai/code/session_019KdPPg7P3bZ5p2RRhZZcv2