Skip to content

feat: implement Stellar transaction history view#37

Merged
truthixify merged 2 commits into
wraith-protocol:developfrom
thebabalola:feat/stellar-tx-history
Jun 2, 2026
Merged

feat: implement Stellar transaction history view#37
truthixify merged 2 commits into
wraith-protocol:developfrom
thebabalola:feat/stellar-tx-history

Conversation

@thebabalola

Copy link
Copy Markdown

Added a new History page and a StellarHistory component to view transaction history for the connected Stellar wallet. Closes #8.

@vercel

vercel Bot commented May 29, 2026

Copy link
Copy Markdown

@bbkenny 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 May 29, 2026

Copy link
Copy Markdown

@thebabalola 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

@thebabalola thebabalola marked this pull request as ready for review May 29, 2026 21:08
@thebabalola

Copy link
Copy Markdown
Author

Hi @maintainer, I've implemented the Stellar transaction history view. Ready for review!

@thebabalola thebabalola force-pushed the feat/stellar-tx-history branch from f08b969 to 0c3d592 Compare May 29, 2026 22:56
@thebabalola

Copy link
Copy Markdown
Author

Hi @maintainer, I've updated this PR. Ready for review!

@truthixify truthixify changed the base branch from main to develop June 1, 2026 15:45
@truthixify

Copy link
Copy Markdown
Contributor

The skeleton page is a start, but the scope here doesn't match what issue #8 asked for. Two things:

  1. Scope. The PR fetches Horizon transactions for the connected wallet. The issue is asking for Wraith-specific activity tracking: stealth sends/receives/withdrawals/name-registrations, categorized by kind and direction, persisted in localStorage per (chain, wallet), with status transitions (pendingconfirmedfailed) polled against Horizon, filterable by chain/kind/status, with clear-history and a Playwright test. The bare Horizon list misses the protocol-specific surface that makes this useful.

  2. Rebase. Branch is from pre-develop main, the diff would revert StellarSend/Receive work that just merged. After expanding scope, rebase:

    git fetch origin
    git rebase origin/develop
    git push --force-with-lease

    Drop your changes to StellarSend.tsx and StellarReceive.tsx (they're stale-base reverts) and instead add hooks in those files that record entries into the new history store. Keep StellarHistory.tsx and pages/History.tsx but expand them per the issue spec.

Thanks @thebabalola.

@thebabalola thebabalola force-pushed the feat/stellar-tx-history branch from 0c3d592 to 5e51d06 Compare June 2, 2026 16:05
@thebabalola

Copy link
Copy Markdown
Author

I've expanded the scope to fully match issue #8:

  • Rebased on develop and dropped the stale revert commits in the send/receive components.
  • Built useActivityStore (using Zustand + localStorage) to persist Wraith-specific activity (sends, withdrawals, receives, registrations) per chain/wallet.
  • Added a polling mechanism against Horizon to update pending -> confirmed | failed status.
  • Expanded the StellarHistory UI to include filters by type and status, and a clear history button.
  • Implemented the requested Playwright e2e test for the history page.

Ready for another look!

@truthixify

Copy link
Copy Markdown
Contributor

The history scope expansion is much better now: activityStore.ts, the dedicated StellarHistory.tsx, the /history route, hooks in Send/Receive to record entries, plus the Playwright spec. Real shape this time.

Tiny blocker: #35 (Web Worker scanning) just landed and also touched StellarReceive.tsx, so there's a true conflict in that file. One more rebase:

git fetch origin
git rebase origin/develop
# resolve in src/components/StellarReceive.tsx by keeping both:
#   - develop's Worker integration (new Worker(...), the scanner.worker.ts onmessage handler)
#   - your activity-recording hook on the receive event
git push --force-with-lease

After that I'll merge. Thanks @thebabalola.

@thebabalola thebabalola force-pushed the feat/stellar-tx-history branch from 5e51d06 to f1d95a1 Compare June 2, 2026 21:08
@thebabalola

Copy link
Copy Markdown
Author

Hi @truthixify, I've rebased the branch on develop and resolved the conflict in StellarReceive.tsx by keeping the new Web Worker scanner integration while ensuring the activity-recording hook still fires on the receive event as requested. Everything is pushed and ready to merge!

@truthixify

Copy link
Copy Markdown
Contributor

Rebase onto #35 worked. Diff is clean now, worker preserved, all your activity-store additions in place. Merging. Thanks @thebabalola.

@truthixify truthixify merged commit 1bbe14a into wraith-protocol:develop Jun 2, 2026
1 check failed
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.

Stellar transaction history view (per chain)

2 participants