Skip to content

Subscription Dashboard

1. Overview

The subscription dashboard provides a real-time overview of all SAAS subscriptions with KPI cards, charts, alerts, and activity feeds. Data auto-refreshes every 60 seconds.


2. KPI Cards

Clickable metric cards that open filtered subscription views when clicked.

Row 1 - Core Metrics

Card Description Click Action
Total Subscriptions Total count with state badges (running/stopped/draft) Opens all subscriptions
Expiring Soon Subscriptions expiring within 7 days Opens filtered list
New This Month Subscriptions created in the current month Opens filtered list
Active Users Current active users / total user limit Opens running subscriptions

Row 2 - Resource Metrics

Card Description Click Action
Storage Used Total storage consumed in GB / total limit Opens running subscriptions
Overdue Invoices Count and amount of unpaid past-due invoices Opens overdue invoices
Upsell Opportunities Subscriptions at >80% storage or user capacity Opens upsell list
Backup Status Breakdown of backup states (normal/warning/danger) Opens all subscriptions

Conditional: MRR

Card Description
Monthly Recurring Revenue Computed from sale orders (only shown if sale_subscription module is installed)

Trend Indicators

Each KPI card shows a trend arrow comparing the current value to last month. Green arrow up indicates growth, red arrow down indicates decline.


3. Charts

State Distribution (Doughnut)

Doughnut chart showing subscription distribution by state with color coding:

  • Running - #3d798f (brand teal)
  • Stopped - #e85932 (brand orange)
  • Draft - #f4b335 (brand yellow)
  • Build Failed - #dc3545 (red)
  • Confirmed - #28a745 (green)

Center text displays the total subscription count.

Top Storage Usage (Bar)

Horizontal bar chart showing the top 10 subscriptions by storage consumption with used vs. limit comparison.


4. Alerts

System alerts sorted by severity (danger first, then warning).

Alert Type Severity Condition
Build Failed Danger Subscription in build_fail state
Stopped Warning Subscription in stopped state
Expiring Soon Warning/Danger Expiring in >3 days (warning) or <=3 days (danger)
Storage Overuse Danger Storage used exceeds storage limit
User Limit Exceeded Danger Active users exceed user limit
Backup Critical Danger Backup state is danger or not configured

5. Latest Commits

Feed of the 10 most recent git commits across all subscriptions, showing commit message, author, branch, date, and commit ID.


6. Time Period Filter

Filter dashboard data by time period:

  • All Time - No date filter
  • This Month - Current calendar month
  • This Quarter - Current quarter
  • This Year - Current calendar year