Skip to content

Add stream export and Claim All actions - #842

Merged
Jaydbrown merged 2 commits into
conduit-protocol:mainfrom
gorrettivibes-coder:feat/stream-export-claim-all
Oct 22, 2026
Merged

Jaydbrown merged 2 commits into
conduit-protocol:mainfrom
gorrettivibes-coder:feat/stream-export-claim-all

Conversation

@ositaemmanuel653-netizen

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds CSV/JSON export for a loaded stream record and a Claim All action for receiving streams.

Type of change

  • Bug fix
  • New feature / page / component
  • Refactor
  • Style / design fix
  • Test coverage
  • Documentation
  • Dependency update

Related issue

Closes #780
Closes #782

Changes

File Change
app/stream/[id]/page.tsx Adds an Export History dropdown that downloads the loaded stream details and balances as CSV or JSON.
app/streams/page.tsx Adds a confirmed Claim All flow that checks receiving streams, withdraws claimable balances, reports partial failures, and refreshes the list.
CHANGELOG.md Documents both features under Unreleased.

Checklist

  • npm run typecheck ? no errors
  • npm run lint ? no warnings
  • npm test ? all tests pass
  • npm run build ? production build succeeds
  • Tested in browser with Freighter on testnet
  • No hue-named Tailwind colour classes added (black/white/gray only)
  • Loading state handled for any new data-fetching UI
  • Error state handled and displayed inline (no alert())
  • 'use client' added only where genuinely needed
  • CHANGELOG.md updated under [Unreleased]

Screenshots

Before After
Not captured Not captured

Notes for reviewers

  • This repository does not expose stream-specific transaction-event history to this page. The CSV and JSON files contain the loaded stream record and balances, not a list of historical transactions.
  • The available BatchTransferProcessor transfers tokens provided by a funder; it cannot call stream withdraw(). Claim All therefore submits one existing withdrawal transaction per claimable stream. Each requires a wallet approval and network fee.
  • Tests and browser validation were not run, as requested.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Jaydbrown
Jaydbrown merged commit 6d0d6a0 into conduit-protocol:main Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants