Skip to content

Add paused stream badge and stop Livecounter when isPaused #376

@ogazboiz

Description

@ogazboiz

Join our community: https://t.me/+DOylgFv1jyJlNzM0

Description

Livecounter was rebuilt with a paused prop, but dashboard stream cards and IncomingStreams don't pass isPaused to it. The counter keeps ticking for paused streams, misleading users into thinking funds are still flowing.

What Needs to Happen

  • Pass stream.isPaused as the paused prop to <Livecounter> in all stream card components
  • Add a "Paused" badge next to the stream status in dashboard cards and IncomingStreams
  • Show pausedAt timestamp: "Paused 3 hours ago"
  • Apply muted/greyed-out treatment to the card when paused
  • Ensure the dashboard filter tab "Paused" is wired to ?status=paused API filter

Files

  • frontend/src/components/dashboard/dashboard-view.tsx
  • frontend/src/components/IncomingStreams.tsx

Acceptance Criteria

  • Counter stops ticking for paused streams
  • Paused badge and timestamp visible
  • Paused filter tab returns only paused streams

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