feat: source card zoned layout with badges and import progress#101
Merged
miethe merged 4 commits intofeat/similar-artifactsfrom Feb 26, 2026
Merged
feat: source card zoned layout with badges and import progress#101miethe merged 4 commits intofeat/similar-artifactsfrom
miethe merged 4 commits intofeat/similar-artifactsfrom
Conversation
Add optional fields for badge counts and import progress tracking that the redesigned source card will consume. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reorganize card body into 6 explicit zones with min-height constraints for consistent card heights: header, metrics row (new/updated badges + count), description, tags, import progress bar, and actions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Wire MarketplaceCatalogEntry status counts into SourceResponse via count_by_status. Add bulk query method to avoid N+1 on list endpoint. Frontend badges now have real data from scan results. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
new_artifact_count,updated_artifact_count, andimported_countfrom catalog entry status aggregationChanges
Frontend (2 files):
types/marketplace.ts: Add 3 optional fields toGitHubSourcesource-card.tsx: Reorganize into 6 zones (header, metrics, description, tags, progress, actions) withmin-hconstraints; update skeleton to matchBackend (3 files):
schemas/marketplace.py: Add 3 count fields toSourceResponserepositories.py: Addcount_by_status_bulk()for efficient list queriesrouters/marketplace_sources.py: Populate counts insource_to_response()via bulk (list) and per-source (detail) queriesTest plan
🤖 Generated with Claude Code