[api] Connect analytics explorer to the actual stream response
I maintainer di solito rispondono entro 7 giorni
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
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
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LabsCrypt/flowfi
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 7 giorni
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 7 giorni
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 7 giorni
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 7 giorni
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 7 giorni
Tutte le issue di LabsCrypt/flowfi
Issue simili
-
bug skills
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
equinor/fusion-framework#5846 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Eyevinn/open-videocore#1256 ·
I maintainer di solito rispondono entro 1 giorno
-
Frontend build fails with Frappe version-16: DataImport is no longer exported by @framework/uiApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Theme preset geist points at undefined --font-geistForse già presa @claude l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno