Skip to content

feat(billing): usage bar component + enhanced upgrade prompt #3740

Closed

Description

@PierreBrisorgueil

Context

Projects need to show usage progress (e.g. "42/100 executions this month") and contextual upgrade nudges.

Spec

  • <BillingUsageBar resource="scraps" action="execute" /> — progress bar with label
  • Auto-colors: green (<70%), orange (70-90%), red (>90%)
  • <BillingUpgradePrompt> enhanced: accepts resource + action props, shows specific limit info
  • Both use useQuota() composable internally

Acceptance

  • Components + unit tests
  • Works with any resource/action
  • Depends on: useQuota composable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    billingPhase 3 — Stripe billing integration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions