Skip to content

feat: replace history placeholder with shared activity store - #235

Open
legend-esc wants to merge 1 commit into
wraith-protocol:developfrom
legend-esc:feat/history-activity-store
Open

legend-esc wants to merge 1 commit into
wraith-protocol:developfrom
legend-esc:feat/history-activity-store

Conversation

@legend-esc

Copy link
Copy Markdown

Summary

Replace the /history placeholder ("History coming soon") with a functional activity history page backed by the shared activityStore.

Changes

  • src/pages/History.tsx: rewrote to read entries from useActivityStore, render each via ActivityRow, and support empty/pending/failed/confirmed states with chain/type/status filters.
  • src/stores/activityStore.ts: added clearAll() to clear all history entries.
  • src/App.tsx: routed /history to History (previously shared the Activity page).

Details

  • Renders chain, status, amount, timestamp, and explorer links per entry.
  • Supports empty, pending, failed, and confirmed states.
  • Exports (CSV/JSON) deliberately omit metadata so private key/memo material is never exposed.

Verification

  • tsc --noEmit: clean
  • prettier --check: clean
  • vitest run: 338/338 passing
  • vite build: passing

Closes #218

@vercel

vercel Bot commented Oct 17, 2026

Copy link
Copy Markdown

@legend-esc is attempting to deploy a commit to the truthixify's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Oct 17, 2026

Copy link
Copy Markdown

@legend-esc 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

@truthixify truthixify left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This regresses the privacy scoping already present in Activity.tsx. The new History page reads and renders every persisted entry without requiring a connected wallet or filtering by entry.wallet, and its exportEntries value is built from all entries rather than filteredEntries. Switching wallets can therefore reveal and export another wallet/profile's history. Reuse the existing Activity page or preserve its connected-wallet scope, export only the filtered scoped entries after removing metadata, and add cross-wallet isolation tests.

This branch has not been deployed

No deployments
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.

[Wave 10][Carryover] Replace the History placeholder with the existing activity store

2 participants