Skip to content

Add green/yellow/red zones to PaymentVelocityGauge indicating performance bands #634

Description

@Kingsman-99

Description

PaymentVelocityGauge renders a gauge needle on a plain arc but provides no visual reference for what velocity is good, acceptable, or poor. Adding colour zones (green = high velocity, yellow = moderate, red = low) on the arc gives users an instant performance signal without reading numbers.

Acceptance Criteria

  • The gauge arc is divided into three colour zones: red (0-33%), yellow (34-66%), green (67-100%)
  • Zone boundaries are configurable via props (optional; fall back to defaults)
  • The needle and current value label are rendered on top of the coloured arc
  • Existing tests continue to pass

Context

  • Target file: src/components/PaymentVelocityGauge.tsx

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions