You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A row of summary cards at the top of the Payment History page. Cards: Total Payments, Total Value (sum in XLM or token), Pending Payments, Released Payments. Same style as the dashboard summary cards (Issue #23). Mock data.
Design Reference:
Here is the link to the design: Figma Design. Use it as inspo for the frontend. Then message me personally for edit access for design issues.
Styles → use Tailwind utility classes and shared tokens
Import and render at the top of frontend/src/pages/Payments/PaymentHistory/PaymentHistory.tsx
Acceptance Criteria:
4 summary cards in a responsive row
Each card: icon, count/value, and label
Responsive (2×2 on mobile)
Screenshot included in PR
Verification Alignment:
Where payment/shipment trust data is displayed, include verification-aware UI states (verified, pending, mismatch, unavailable) and show chain-linkage fields (txHash or current backend equivalent).
Note
Same style as Issue #23 — These cards should match the metric cards from the Company Dashboard. Coordinate on card styling if #23 is in progress.
PR Checklist:
PaymentSummaryCards created at frontend/src/pages/Payments/PaymentSummaryCards/PaymentSummaryCards.tsx
Any images/assets placed in frontend/public/images/
Screenshot attached to the PR
PR description explains your approach
cd frontend && pnpm run lint — no errors show up after your changes
cd frontend && pnpm run build — builds successfully after your changes
cd frontend && pnpm run test — all tests pass after your changes
[FE:] Build the Payment Summary cards
Tier: 🔴 Hard (200 pts)
Description:
A row of summary cards at the top of the Payment History page. Cards: Total Payments, Total Value (sum in XLM or token), Pending Payments, Released Payments. Same style as the dashboard summary cards (Issue #23). Mock data.
Design Reference:
Here is the link to the design: Figma Design. Use it as inspo for the frontend. Then message me personally for edit access for design issues.
File locations:
frontend/src/pages/Payments/PaymentSummaryCards/PaymentSummaryCards.tsxfrontend/src/pages/Payments/PaymentHistory/PaymentHistory.tsxAcceptance Criteria:
Verification Alignment:
Where payment/shipment trust data is displayed, include verification-aware UI states (
verified,pending,mismatch,unavailable) and show chain-linkage fields (txHashor current backend equivalent).Note
Same style as Issue #23 — These cards should match the metric cards from the Company Dashboard. Coordinate on card styling if #23 is in progress.
PR Checklist:
frontend/src/pages/Payments/PaymentSummaryCards/PaymentSummaryCards.tsxfrontend/public/images/cd frontend && pnpm run lint— no errors show up after your changescd frontend && pnpm run build— builds successfully after your changescd frontend && pnpm run test— all tests pass after your changesReference: Read CONTRIBUTING.md before starting.