Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[api] Connect analytics explorer to the actual stream response

Aperta
#1,709 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

@nemeregiftbrown-byte ci sta già lavorando.

Dal 22/10/2026.

  • #1808 di @nemeregiftbrown-byte — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
next.js, typescript
Ambito
api, full-stack

Direzione di ricerca

Start at frontend/src/hooks/useStreams.ts:89 and trace how AnalyticsExplorer calls useStreams() and how the configured backend URL and documented stream-list endpoint are exposed. Compare the normalizer with representative REST responses for active, paused and inactive streams, including IDs, timestamps, state flags, and amount and token units. Done means the mounted analytics page uses the backend endpoint and displays those records accurately.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

api frontend points: 150 Stellar Wave

Labels: api, frontend, points: 150
File/location: frontend/src/hooks/useStreams.ts:89

Description:
The analytics page uses the default /api/streams on the frontend origin, where no route or rewrite exists. Its normalizer also ignores REST startTime/endTime/isActive/isPaused and prefers database id over on-chain streamId, so pointing it at /v1/streams alone still misrepresents records.

Acceptance Criteria:

  • Use the configured backend API URL and documented stream-list endpoint for the analytics page.
  • Normalize actual REST stream IDs, timestamps, state flags and amount/token units without silently substituting UUIDs, zero dates or 18 decimals.
  • Verify the mounted analytics page against representative backend responses including active, paused and inactive records.

Notes:
Source trace: AnalyticsExplorer calls useStreams() without overrides; no frontend /api/streams route or rewrite exists.

Audited commit: 649b6976a100fd964ce191428eef1faeb50aaa39. Closest prior issues reviewed: #1472, #553. This report concerns the specific failure or uncovered test paths described above, rather than repeating the original feature request.

Lingua principale
TypeScript
Stelle
18
Fork
250
Merge medio
5g 6h
PR unite (30g)
82

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LabsCrypt/flowfi

Tutte le issue di LabsCrypt/flowfi

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.