flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[api] Connect analytics explorer to the actual stream response

Open K1NGD4VID opened this issue 1 month ago • 8 comments

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.

K1NGD4VID avatar Oct 21 '26 17:10 K1NGD4VID

@primexk5 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

Gm my boss , please assign me to work on this issue!

ℹ️ Repo Maintainers: To accept this application, review their application or assign @primexk5 to this issue.

primexk5 avatar Oct 21 '26 20:10 primexk5

@auwalsaidu92 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

‎Hi, I reviewed the reported problem and traced the relevant functionality. I have a clear idea of how to address it and can take care of the implementation and testing.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @auwalsaidu92 to this issue.

auwalsaidu92 avatar Oct 21 '26 20:10 auwalsaidu92

@baba-billy has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

Please assign

ℹ️ Repo Maintainers: To accept this application, review their application or assign @baba-billy to this issue.

baba-billy avatar Oct 21 '26 20:10 baba-billy

@Real-Ola has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I would love to fix this

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Real-Ola to this issue.

Real-Ola avatar Oct 21 '26 22:10 Real-Ola

@awwalmust has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I would like to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @awwalmust to this issue.

awwalmust avatar Oct 22 '26 09:10 awwalmust

@nemeregiftbrown-byte has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

Hi maintainer please i will love to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @nemeregiftbrown-byte to this issue.

nemeregiftbrown-byte avatar Oct 22 '26 09:10 nemeregiftbrown-byte

Congratulations, @nemeregiftbrown-byte! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

🧑‍💻 @nemeregiftbrown-byte: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Oct 22 '26 10:10 drips-wave[bot]

This issue has been completed by @nemeregiftbrown-byte as part of the Stellar Wave Program's 10th Wave 🥳

😎 @nemeregiftbrown-byte: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

drips-wave[bot] avatar Oct 26 '26 15:10 drips-wave[bot]