feat: add watchlist panel for pinned counterparties and assets - #1144
Open
ifygreg01-best wants to merge 1 commit into
Open
feat: add watchlist panel for pinned counterparties and assets#1144ifygreg01-best wants to merge 1 commit into
ifygreg01-best wants to merge 1 commit into
Conversation
Contributor
|
@ifygreg01-best is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel. A member of the Team first needs to authorize it. |
…opay#891) - Add WatchlistItem type in types/watchlist.ts - Add WatchlistProvider, useWatchlist hook, and per-account localStorage persistence helpers to context/wallet-context.tsx (key: stellopay.watchlist.<address>) - Add WatchlistPanel component with empty state, loading skeleton, add-item form (address + optional label, validation, duplicate guard), item cards (balance/amount/token/status display), unpin button, and search/filter input - Register WatchlistProvider inside WalletProvider in app/layout.tsx - Render <WatchlistPanel /> in dashboard-page.tsx between AnalyticsInsights and ClientAnalyticsView - Add 59 Vitest unit tests in watchlist-panel.test.tsx covering render, empty state, add form, remove, search, persistence, and accessibility - Add 18 Playwright E2E tests in tests/watchlist.spec.ts covering pin, unpin, persistence across reload, per-account scoping, search/filter, and axe-core a11y scans - Add design spec in design/dashboard-redesign.md WCAG 2.1 AA: aria-labelledby, aria-expanded, aria-required, aria-invalid, role=alert, role=status, aria-live, focus-visible rings on all controls
ifygreg01-best
force-pushed
the
feature/dashboard-watchlist-panel
branch
from
August 3, 2026 09:00
22168aa to
ec1b512
Compare
Author
|
Hi maintainer I have completed the implementation for this issue.could you please approve the workflow so the vercel checks can run? Thank you |
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.
Summary
Closes #891
Adds a Watchlist Panel to the dashboard that lets users pin counterparty addresses or assets for quick reference without filtering the full transaction list.
Changes
types/watchlist.tsWatchlistItemTypeScript typecontext/wallet-context.tsxWatchlistProvider,useWatchlisthook, per-account localStorage persistencecomponents/dashboard/watchlist-panel.tsxcomponents/dashboard/watchlist-panel.test.tsxtests/watchlist.spec.tsapp/layout.tsxWatchlistProviderwrapped insideWalletProvidercomponents/dashboard/dashboard-page.tsx<WatchlistPanel />rendered on the dashboarddesign/dashboard-redesign.mdFeatures
localStoragekeystellopay.watchlist.<address>; empty list shown when disconnectedAccessibility (WCAG 2.1 AA)
<section aria-labelledby>tied to<h2><ul aria-label="N pinned items">,<article aria-label="Watchlist item: …"><button>/<input>— no custom tabindexaria-expanded,aria-required,aria-invalid,aria-describedbyon form inputsrole="alert"on validation errorsrole="status" aria-busy aria-liveon loading skeletonfocus-visible:ring-2 focus-visible:ring-blue-500on every interactive elementTesting
useWatchlistguard, accessibility spot-checks