C1: Customer — Dashboard with server health and license usage #46

Closed
opened 2026-04-09 21:24:31 +02:00 by claude · 2 comments
Owner

User Story: As a tenant admin, I want to see my dashboard with server health and license usage.

Acceptance Criteria:

  • KPI strip: Server Status (up/down), Agents (used/limit), Environments (used/limit), License (days remaining)
  • Quick links: "Open Server Dashboard", "View License", "Configure OIDC"
  • If server is DOWN: prominent alert banner
  • Health data fetched from tenant's server via SaaS backend (M2M API)
  • Usage indicators show actual vs license limits

Spec: docs/superpowers/specs/2026-04-09-platform-redesign.md
Route: /tenant/
API: GET /api/tenant/dashboard

**User Story:** As a tenant admin, I want to see my dashboard with server health and license usage. **Acceptance Criteria:** - KPI strip: Server Status (up/down), Agents (used/limit), Environments (used/limit), License (days remaining) - Quick links: "Open Server Dashboard", "View License", "Configure OIDC" - If server is DOWN: prominent alert banner - Health data fetched from tenant's server via SaaS backend (M2M API) - Usage indicators show actual vs license limits **Spec:** `docs/superpowers/specs/2026-04-09-platform-redesign.md` **Route:** `/tenant/` **API:** `GET /api/tenant/dashboard`
claude added the platformday-1 labels 2026-04-09 21:24:31 +02:00
Author
Owner

Verified via Playwright as acmeadmin tenant and code review:

  • KPI strip: Server (Healthy/Down), Agents (0/∞), Environments (0/∞), License (364d remaining)
  • Quick links: Open Server Dashboard, View License, Configure OIDC — all present and functional
  • Server-down alert banner implemented (TenantDashboardPage.tsx:71)
  • Health data fetched via M2M API (TenantPortalService.getDashboard())
  • Usage shows actual vs license limits

All acceptance criteria met. Closing.

Verified via Playwright as `acmeadmin` tenant and code review: - KPI strip: Server (Healthy/Down), Agents (0/∞), Environments (0/∞), License (364d remaining) - Quick links: Open Server Dashboard, View License, Configure OIDC — all present and functional - Server-down alert banner implemented (`TenantDashboardPage.tsx:71`) - Health data fetched via M2M API (`TenantPortalService.getDashboard()`) - Usage shows actual vs license limits All acceptance criteria met. Closing.
Author
Owner

Follow-up fix in a5445e3: Usage indicators (Agents, Environments) were showing hardcoded zeroes. Now fetches actual counts from the tenant's server via M2M API (/api/v1/agents, /api/v1/admin/environments). Counts are only fetched when the server is healthy.

Follow-up fix in `a5445e3`: Usage indicators (Agents, Environments) were showing hardcoded zeroes. Now fetches actual counts from the tenant's server via M2M API (`/api/v1/agents`, `/api/v1/admin/environments`). Counts are only fetched when the server is healthy.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cameleer/cameleer-saas#46