Skip to content

[Frontend] Stream detail EVENT_STYLES doesn't cover FEE_CONFIG_UPDATED / ADMIN_TRANSFERRED #656

@ogazboiz

Description

@ogazboiz

Join the discussion on Telegram

Why this matters

frontend/src/app/streams/[id]/page.tsx lines 57-66 defines styles for 8 event types but the backend now indexes 10:

The page handles: CREATED, TOPPED_UP, WITHDRAWN, CANCELLED, COMPLETED, PAUSED, RESUMED, FEE_COLLECTED.

But backend/src/controllers/stream.controller.ts:297 and the worker handle two more: FEE_CONFIG_UPDATED and ADMIN_TRANSFERRED. Those land in the events table tied to the system stream (#0), but if any real stream ever ends up with one (or the page later joins them in), they render with the default placeholder /grey style.

Cosmetic but reflects the broader event union completed in #576 (which covered missing FEE_COLLECTED in the StreamEventType union).

Acceptance criteria

  • Add entries for FEE_CONFIG_UPDATED and ADMIN_TRANSFERRED to EVENT_STYLES
  • Pick a sensible color/icon pair (suggestion: slate / 'cfg' / 'admin' label)
  • No layout change

Files to touch

  • frontend/src/app/streams/[id]/page.tsx (lines 57-66)

Out of scope

  • Filtering admin events out of public stream views

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programfrontendFrontend related tasksgood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions