Add canonical escrow status enum, analytics hook, wallet preference, filter params - #512
Merged
KuchiMercy merged 1 commit intoJul 28, 2026
Conversation
|
@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! 🚀 |
…filter params Closes StayLitCodes#471, Closes StayLitCodes#473, Closes StayLitCodes#475, Closes StayLitCodes#479
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds small, focused starter modules for four assigned issues, each as a new file:
utils::escrowStatus::CanonicalEscrowStatus: single canonical status enum +normalizeEscrowStatusmapping legacy lowercase/uppercase variants to it. UpdatingStatusTabs/EscrowFilters/FilterBadgesto 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