Skip to content

feat(frontend): active vs completed stream lists - #8

Merged
farhanqaz merged 2 commits into
mainfrom
feat/stream-active-history
Jun 24, 2026
Merged

feat(frontend): active vs completed stream lists#8
farhanqaz merged 2 commits into
mainfrom
feat/stream-active-history

Conversation

@farhanqaz

@farhanqaz farhanqaz commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add isWorkerStreamActive / isFounderStreamActive helpers in frontend/lib/stream-status.ts
  • Worker My Streams: hide streams once nothing is claimable and no future unlocks remain (fully claimed or cancelled with nothing left)
  • Founder My Streams: keep streams visible while vesting runs, milestone can be triggered, or unreclaimed milestone bonus exists after end time
  • History: show completed streams from on-chain state (plus existing withdraw/tx logs)
  • Align localStorage history keys with walletAddress (signing address)

Test plan

  • Worker: stream with claimable tokens stays in My Streams
  • Worker: after claiming everything, stream moves to History only
  • Founder: stream past end time with unreclaimed milestone stays in My Streams
  • Founder: after reclaim/trigger + vesting done, stream moves to History
  • Cancelled worker stream with remaining claimable stays active until claimed

Worker streams leave the active list only after all claimable tokens are
claimed and no future unlocks remain. Founder streams stay visible while
vesting runs or a milestone still needs trigger/reclaim action.
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nirvana-infinity Ready Ready Preview, Comment Jun 24, 2026 9:41am

Stop treating worker claimable balance as a reason to keep a stream on the
founder dashboard. Once vesting ends and milestone is handled, move it to
History only.
@farhanqaz
farhanqaz merged commit 0f758ea into main Jun 24, 2026
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.

1 participant