Skip to content

Dashboard overhaul: wallet-scoped filters, stats, and invoice history UX (#282) - #356

Draft
s6pa1rta3n-lab wants to merge 1 commit into
Quittance-Labs:mainfrom
s6pa1rta3n-lab:fix-issue-282
Draft

Dashboard overhaul: wallet-scoped filters, stats, and invoice history UX (#282)#356
s6pa1rta3n-lab wants to merge 1 commit into
Quittance-Labs:mainfrom
s6pa1rta3n-lab:fix-issue-282

Conversation

@s6pa1rta3n-lab

Copy link
Copy Markdown

Resolves #282

Summary

This PR implements the dashboard overhaul for wallet-scoped filters, stats, sorting, and invoice history UX:

  • Multi-key Sorting: Implemented sortInvoices supporting newest, oldest, amount-desc, amount-asc, and status with stable tie-breaking on createdAt.
  • Status Filtering: Case-insensitive status filtering in filterInvoicesByStatus.
  • UI Integration: Added sort dropdown to the dashboard toolbar with full accessibility (accessible labels, ARIA live region announcements, proper landmark associations).
  • TypeScript Support: Added complete TypeScript definitions in dashboard-history.d.ts.
  • Accessibility & Test Fixes: Fixed CJS module exports across test fixtures and ensured 100% test pass rate across unit, integration, and accessibility test suites.

Testing & Verification

  • frontend: 204 unit tests passed (npm test), 31 a11y tests passed (npm run test:a11y), npm run typecheck passed, npm run lint passed.
  • backend: 37 test suites / 162 unit & parity tests passed (npm test), npm run typecheck passed.

Payout Routing

  • EVM (Base/Arbitrum/Polygon/ETH): 0xF46C9F6d70C50BF81ef3588AB523a90a594a2F89
  • Stellar: GCL6OXAMLD75BMTINA6EMRUDWK5THQUSHMYNLSNBCJAPZJHNYJTUNIBC

…istory UX (Quittance-Labs#282)

- Add stable multi-key sorting (newest, oldest, amount-desc, amount-asc, status) with typings and unit tests
- Support case-insensitive invoice status filtering in dashboard history helper
- Add sort controls dropdown to dashboard and wire up live announcements and export gating
- Fix test fixture CommonJS exports for a11y test suites
- Clean up WalletConnect loadBalance dependency warnings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard overhaul: wallet-scoped filters, stats, and invoice history UX

1 participant