Repository navigation
Fix/dashboard wallet scoped data - #1579
Merged
1nonlypiece merged 5 commits intoOct 24, 2026
Merged
Conversation
Dedupe concurrent requests, serve fresh data for 15s, revalidate stale data in the background, and invalidate on createVault. Errors are never cached.
…tivity from the API
Dashboard showed every vault in the system and read recent activity and deadlines from hard-coded fixtures even in production.\n\n- listVaults accepts { creator, status } (encoded query for the API, offline filter for fixtures); add getStats({ creator }) backed by /stats?creator=\n- load the connected wallet's vaults (creator + verifier, merged and de-duplicated); show a connect prompt when disconnected\n- derive Recent Activity (top 8, newest first) from /transactions and Upcoming Deadlines from pending milestones; fixtures kept for offline mode only\n- guard against stale responses on wallet switch; rename list to 'Your vaults' with active-first sort\n- add tests for service filters, derive helpers and live dashboard
|
@Devadakene 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! 🚀 |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1nonlypiece
added a commit
that referenced
this pull request
Oct 25, 2026
…perf check - Journey 1: dashboard list heading is now "Your vaults" (#1579). - Journey 2: amounts render with two decimals via formatUsdc (#1571). - commandPalette perf budget: take the best of five passes so a single GC/worker stall on CI does not fail the 5ms budget. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #1513
What
listVaultstakes{ creator?, status? }. The filter is encoded into the API query (GET /vaults?creator=) and applied locally for offline fixtures.getStats({ creator })backs the Total Locked and Active Vaults cards via/stats?creator=./transactions, filtered to the user's vaults, newest first, top 8. Upcoming Deadlines come from pending milestones of active vaults, with the vault end date as fallback.src/fixtures/dashboarddata is used only whenVITE_APIis unset.Why
The landing page showed every vault in the system plus fabricated activity and deadlines in production, and summary numbers weren't scoped to the user.
Notes
?verifier=. They are excluded from the/stats-backed cards.Milestone.dueDate, populated intoVault.Tests
vaultService.filters.test.ts,dashboardDerive.test.ts,Dashboard.live.test.tsx.Screenshots
TODO: before/after at 1440px and 390px, and the dashboard for two different wallets.