Skip to content

feat: Add transaction history timeline per stream - #129

Merged
Austinaminu2 merged 3 commits into
FlowwStar:mainfrom
obanai9:feat/stream-timeline
Jun 26, 2026
Merged

Austinaminu2 merged 3 commits into
FlowwStar:mainfrom
obanai9:feat/stream-timeline

Conversation

@obanai9

@obanai9 obanai9 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a transaction history timeline on the stream detail page (/app/stream/[id])
  • Fetches on-chain events from Stellar RPC getEvents endpoint, parses them into typed timeline events (created, withdrawn, cancelled, cliff released, TTL bumped)
  • Displays a vertical timeline with icons, timestamps, amounts, and links to Stellar Expert
  • Collapses to the 3 most recent events with an expand button; includes a manual refresh button

Test plan

  • Open a stream detail page and verify the timeline section appears below the unlock chart
  • Confirm events load from RPC and render with correct types and descriptions
  • Click "Show all" to expand past 3 events
  • Click the refresh button and verify events reload
  • Verify Stellar Expert links open correctly in a new tab

Closes #83

obanai9 added 2 commits June 25, 2026 23:49
Fixes 11 Turbopack build errors caused by an incomplete migration to
network-aware contract functions. Updates all hooks and pages to use
useNetwork() context and pass the active network to contract/stellar
library functions instead of relying on removed global NETWORK exports.

- Fix duplicate code in lib/contract.ts (old NETWORK.rpcUrl references)
- Remove undefined NETWORK reference from lib/stellar.ts
- Update use-contract, use-streams, use-notifications hooks
- Update create, batch-create, and stream-detail pages
- Fix mock-data.ts to use NETWORKS.testnet instead of KNOWN_TOKENS
Adds a vertical timeline on the stream detail page that displays all
on-chain events for a stream. Events are fetched from the Stellar RPC
via getEvents filtered by the contract address. The timeline shows
created, withdrawal, topup, transfer, and cancellation events with
timestamps, icons, and links to Stellar Expert. Collapses after 3
events with a toggle to show more. Refreshable on demand.

Closes FlowwStar#83
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

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

@Austinaminu2
Austinaminu2 merged commit 8704d78 into FlowwStar:main Jun 26, 2026
0 of 3 checks passed
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.

feat: Add transaction history timeline per stream

2 participants