#711 — Revise Active merchant dashboard KPI tile and chart

Repo: Twill-AI/twill-ai-ui State: open | Status: open Assignee: raymondehizoba

Created: 2025-09-18 · Updated: 2026-01-15

Description

Following changes are needed for all 3 user types:

  • Add available KPIs from #781. Including relevant ones in one tile, use Proper colors and formatting.
  • Add date range picker. (Making time axis interactive)
  • Add a granularity toggle for selecting aggregation methods Daily | Weekly | Monthly
  • Instead of a hardcoded default for everyone, the frontend should check the merchant’s created_at date.
    • age < 60 Days Old: Daily with date range starting from created_at to today
    • 180 Days > age >= 60 Days : Monthly with date range starting from created_at to today
    • age >= 180 Days : Monthly data of last 6 months
  • KPIs should reflect the legend choice. In master/partner portal both commissions and revenue trends should have totals here.
  • Title should read Revenue (drop Trends) and KPI(s) under it should be sum of all values in the graph reflecting the time range selected.
  • Remove the legend for merchants, given they only see one number and no commission.
  • Allow filtering in Transactions, batches, deposits, disputes
  • Make all tile colors consistent (Including the background color of charts)

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets