Skip to content

Add canonical escrow status enum, analytics hook, wallet preference, filter params - #512

Merged
KuchiMercy merged 1 commit into
StayLitCodes:mainfrom
yusuftomilola:feat/issues-471-473-475-479
Jul 28, 2026
Merged

Add canonical escrow status enum, analytics hook, wallet preference, filter params#512
KuchiMercy merged 1 commit into
StayLitCodes:mainfrom
yusuftomilola:feat/issues-471-473-475-479

Conversation

@yusuftomilola

Copy link
Copy Markdown
Contributor

Adds small, focused starter modules for four assigned issues, each as a new file:

  • utils::escrowStatus::CanonicalEscrowStatus: single canonical status enum + normalizeEscrowStatus mapping legacy lowercase/uppercase variants to it. Updating StatusTabs/EscrowFilters/FilterBadges to import from here instead of comparing raw strings is a follow-up.
  • hooks::useAdminAnalyticsVolume: React Query hook fetching real volume data from the backend analytics API, ready to replace the dashboard's hardcoded chart data. Loading skeletons and error/retry states are a follow-up.
  • utils::walletPreference: localStorage helpers to save/read/clear the last connected wallet (Freighter/Albedo/Lobstr). Wiring the auto-reconnect prompt and Settings-page UI is a follow-up.
  • utils::transactionFilterParams: serialize/parse helpers for date range + escrow + type filters as URL query params, plus an active-filter counter. Wiring into the transactions page filter bar and CSV/PDF export is a follow-up.

Closes #471
Closes #473
Closes #475
Closes #479

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@yusuftomilola 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! 🚀

Learn more about application limits

@KuchiMercy
KuchiMercy merged commit c6658c5 into StayLitCodes:main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants