Feature/marketplace card reputation#883
Merged
1nonlypiece merged 2 commits intoJun 27, 2026
Merged
Conversation
|
@Opulencechuks is attempting to deploy a commit to the 1nonly's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Opulencechuks Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
reputation right on the marketplace card is a nice touch, helps trust at a glance. merged |
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.
This PR closes #680
Summary
Give buyers an at‑a‑glance signal of a seller’s reliability directly on each marketplace listing card, and provide a detailed view in the commitment quick‑view modal.
What’s Changed
src/components/MarketplaceCard.tsxtotalCommitmentsandsuccessRateprops toMarketplaceCardProps.• Imported and rendered
ReputationDisplayas a compact chip in the card header.• Show a “New seller” badge when reputation data is missing.
• Passed reputation data to
CommitmentDetailsModal.src/components/modals/CommitmentDetailsModal.tsxCommitmentDetailsModalPropswithreputationScore,totalCommitments, andsuccessRate.• Render the full
ReputationDisplaycomponent inside the modal body when data is present.src/components/ReputationDisplay.tsx(unchanged)New UI
ReputationDisplayappears below the basic commitment details, giving users the track‑record and success‑rate information without leaving the modal.Why This Matters
Verification
pnpm test– all existing tests pass. (New tests can be added later to cover the reputation chip.)ReputationDisplay.Documentation
docs/MARKETPLACE_REPUTATION.md(to be added) will describe the data contract and UI behavior.Review Checklist
/api/marketplace/listings.