Skip to content

feat(frontend): link streams to organisations, and prepared setup links - #37

Merged
jayteemoney merged 1 commit into
mainfrom
feat/link-streams-and-setup-links
Oct 8, 2026
Merged

jayteemoney merged 1 commit into
mainfrom
feat/link-streams-and-setup-links

Conversation

@jayteemoney

Copy link
Copy Markdown
Owner

1. Streams now count for the organisation that created them

The app never called track-stream, so every organisation's record showed 0 streams, including on /organisations.

  • After a stream confirms, a sender with an active workspace sees Link to . It's one extra wallet approval.
  • Manage Streams shows the same button on every stream that isn't linked yet, read from is-stream-tracked.

2. Prepared setup links

/dashboard/create?token=…&recipient=…&amount=…&duration=…&unit=…&memo=… opens the form already filled in.

  • A banner asks the signer to check the form before signing.
  • Invalid values are dropped, and a recipient on the other network is refused.
  • Copy setup link on the form builds a link from the current values.

Verified

  • 226 tests pass, including 9 new ones for the link parser.
  • tsc, lint and the webpack build are clean.
  • /dashboard/create with a full setup link and /dashboard/streams both load.
  • The wallet-connected form and the linking transaction need a manual check with a real wallet, because a headless browser can't sign.

Streams were never linked to the organisation that created them: the app
never called stream-factory's track-stream, so every organisation's record
(and its card on /organisations) showed 0 streams however much it streamed.

- After a stream confirms, a sender with an active workspace is offered
  "Link to <name>" (one extra wallet approval). Manage Streams shows the same
  button on every stream that is not yet linked, read via is-stream-tracked.
- New setup links: /dashboard/create?token=…&recipient=…&amount=…
  &duration=…&unit=…&memo=… opens the form filled in, behind a banner asking
  the signer to check it. Invalid values are dropped rather than corrected,
  and a recipient on the other network is refused. "Copy setup link" on the
  form builds one from the current values, so a stream can be prepared with
  an organisation and signed by them in one step.
- StreamCard gains a footer slot for the link row.
@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
stackstream Ready Ready Preview Oct 7, 2026 10:00pm UTC

@jayteemoney
jayteemoney merged commit f98d1a9 into main Oct 8, 2026
2 of 5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 74dca153 Deployed Oct 7, 2026 by vercel[bot]
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