Skip to content

Build invoice recipient reputation display #117

@Kingsman-99

Description

@Kingsman-99

Label: complexity: high
Points: 200

Description

Recipients' on-chain reputation scores are fetched but not visualised beyond a badge. This issue adds a reputation detail panel on the invoice detail page showing each recipient's full reputation history as a sparkline chart with total payments received and success rate.

Technical Context

Involves invoice/[id]/page.tsx and a new src/components/ReputationPanel.tsx. Call splitClient.getReputation(address) for each recipient. Fetch their past invoices to build a history array. Render sparkline using a simple SVG polyline. Show total received and success rate.

Acceptance Criteria

  • Reputation panel expandable per recipient
  • Sparkline shows reputation score over last 10 invoices
  • Total USDC received shown
  • Success rate (Released/total) shown as percentage
  • "No history" shown for new addresses
  • Mobile responsive — works on 375px screens
  • No TypeScript errors

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions