Skip to content

feat: build freelancer invoice dashboard#116

Open
newmattock wants to merge 1 commit into
Invoice-Liquidity-Network:mainfrom
newmattock:feat/freelancer-invoice-dashboard
Open

feat: build freelancer invoice dashboard#116
newmattock wants to merge 1 commit into
Invoice-Liquidity-Network:mainfrom
newmattock:feat/freelancer-invoice-dashboard

Conversation

@newmattock
Copy link
Copy Markdown

Fixes #13

Summary

  • add /dashboard/invoices for connected freelancers to review submitted invoices
  • add status filtering, due-date/amount/status sorting, 20-item pagination, loading skeletons, empty state, and token-aware amount display
  • add a submitter-scoped invoice query hook and tested dashboard filtering/pagination utilities
  • carry narrow current-main build fixes for governance Vetoed status, TokenSelector helper typing, and federation home-domain typing

Validation

  • npm test -- src/utils/__tests__/freelancerInvoiceDashboard.test.ts app/dashboard/invoices/__tests__/FreelancerInvoicesPage.test.tsx --pool forks --maxWorkers 1 --reporter verbose
  • npm run lint -- app/dashboard/invoices/page.tsx app/dashboard/invoices/__tests__/FreelancerInvoicesPage.test.tsx src/hooks/useInvoices.ts src/utils/freelancerInvoiceDashboard.ts src/utils/__tests__/freelancerInvoiceDashboard.test.ts app/governance/page.tsx src/components/TokenSelector.tsx src/utils/federation.ts
  • git diff --check
  • npm run build
  • local smoke: curl -I http://127.0.0.1:3031/dashboard/invoices -> HTTP/1.1 200 OK

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.

Build the freelancer invoice list dashboard

1 participant