Skip to content

[Frontend] ActivityHistory renderEventMessage doesn't cover FEE_COLLECTED / FEE_CONFIG_UPDATED / ADMIN_TRANSFERRED #657

Description

@ogazboiz

Join the discussion on Telegram

Why this matters

frontend/src/components/dashboard/ActivityHistory.tsx lines 62-87 switch on event.eventType for 7 cases (CREATED, TOPPED_UP, WITHDRAWN, CANCELLED, COMPLETED, PAUSED, RESUMED) and falls to a generic Event on Stream #X for everything else.

The backend (backend/src/controllers/stream.controller.ts:297) actually emits 10 event types including FEE_COLLECTED, FEE_CONFIG_UPDATED, ADMIN_TRANSFERRED. Activities of those types currently render uninformatively.

Acceptance criteria

  • Add case branches for FEE_COLLECTED, FEE_CONFIG_UPDATED, ADMIN_TRANSFERRED with a human-readable message
  • FEE_CONFIG_UPDATED/ADMIN_TRANSFERRED don't have a streamId in the user-facing sense — render without the stream link

Files to touch

  • frontend/src/components/dashboard/ActivityHistory.tsx (lines 62-87)

Out of scope

  • Hiding admin events from the user view (separate UX decision)

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions