Skip to content

feat(frontend): show the total streams on mainnet - #40

Merged
jayteemoney merged 2 commits into
mainfrom
feat/total-streams-visible
Oct 9, 2026
Merged

jayteemoney merged 2 commits into
mainfrom
feat/total-streams-visible

Conversation

@jayteemoney

Copy link
Copy Markdown
Owner

The site never showed the total number of streams. It was only visible in /api/stats JSON.

  • /organisations: the readout now shows Streams on mainnet (all streams, from get-stream-nonce) next to From organisations (streams linked to a listed team).
  • Home page: a live line under the hero buttons reading "11 streams on mainnet · 1 organisation", linking to /organisations. It renders nothing until the numbers load, so no placeholder figure is ever shown.

Verified locally against mainnet: 11 streams and 1 organisation, checked on both screens. Tests, lint and the webpack build are clean.

The app never displayed the protocol-wide stream count: the dashboard shows
the connected wallet's streams and /organisations showed only streams linked
to an organisation, so the 11 streams opened on mainnet were visible only in
the raw /api/stats JSON.

- /organisations: the readout now shows "Streams on mainnet" (get-stream-nonce,
  opened by anyone) beside "From organisations" (linked to a listed team),
  and /api/organisations returns streamsCreated.
- Home page: a live line under the hero buttons, "N streams on mainnet ·
  N organisations", linking to /organisations. It renders nothing until the
  numbers arrive, so no placeholder figure is ever shown.
@vercel

vercel Bot commented Oct 9, 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 9, 2026 3:33pm UTC

- /organisations: "Organisations" and "Streams" now sit side by side at the
  same size, with "From organisations" and "Newest" below.
- Dashboard overview: a "StackStream on mainnet" panel at the top shows
  streams created and organisations registered, linking to /organisations.
  It also shows before a wallet is connected, and the wallet's own figures
  now sit under a "Your streams" heading.
- Both read one shared hook (useNetworkStats) over /api/stats, which the
  home page line now uses too. Every new stream or registration, by anyone,
  raises the numbers within about a minute.
@jayteemoney
jayteemoney merged commit 5e61e0e into main Oct 9, 2026
2 of 5 checks passed

This branch was successfully deployed

1 active deployment
Preview — bb98ff25 Deployed Oct 9, 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