Skip to content

Build subscription management dashboard with recurring invoice history and controls #384

Description

@Kingsman-99

Overview

StellarSplit supports recurring invoice subscriptions from stored templates. Build a /subscriptions dashboard page where creators can view active subscriptions, see upcoming invoice generation dates, pause/cancel subscriptions, and view the full invoice history per subscription.

Requirements

  • /subscriptions page listing all active subscriptions with: template name, frequency, next run date, total invoices generated, total USDC collected
  • /subscriptions/[id] detail page: subscription config, editable fields (pause, cancel), full invoice history table
  • Pause/resume/cancel actions call the corresponding contract entry points via the SDK
  • Upcoming invoice dates computed from subscription frequency and shown in a calendar-style preview
  • Real-time status via polling (no WebSocket needed here)
  • Write unit tests for the subscription list and detail components

Acceptance Criteria

  • /subscriptions list page renders correctly with all fields
  • /subscriptions/[id] detail page with full history table
  • Pause/resume/cancel actions call SDK correctly
  • Upcoming dates computed correctly from subscription config
  • npm run lint passes with zero errors
  • TypeScript compiles with zero errors
  • npm run build succeeds

Definition of Done

All CI checks must pass before the PR is reviewed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions