Changelog

Recent releases and improvements to the ERP. Newest first.

14 May 2026

Cohort retention + Revenue forecast + TTFV

Feature

Three SaaS health metrics: customer cohort retention heatmap, 90-day revenue forecast with ±15% confidence, and time-to-first-video activation metric for AIGC App users.

Renewal reminder cron

Feature

Auto-queues notification at 30 / 14 / 7 / 3 / 1 days before subscription expiry. Idempotent by (subscription, window).

Daily 03:00 UTC

Vercel Analytics + Speed Insights

Polish

Page-view tracking + Core Web Vitals monitoring. Lets us see which ERP pages get used and catch perf regressions.

RBAC Phase 3 — full role enforcement

Security

Sidebar nav filtered by role. Self-service password change. Admin user management actions (role / suspend / reset password). Safety guards: no self-suspend, no last-superadmin-delete.

Withdrawal approve / reject UI

Feature

Inline buttons on /aigcapp/withdrawals call the app-side admin endpoints. SOD checks + audit log atomic on the platform side.

13 May 2026

Customer Health Score

Feature

0-100 score per customer aggregating CRM + AIGC App signals (active sub, recent paid orders, login recency, video success, email status). Ranking page with VIP / Healthy / At-Risk / Churn bands.

Refund workflow

Feature

One-click refund on PAID orders: atomic transaction updates order status, deducts balance (clamped to 0), inserts CreditLedger entry, writes audit log.

12 May 2026

Dark mode + mobile responsive

Polish

Three-way light / dark / system toggle with FOUC prevention. All list tables fallback to mobile-friendly card layout < 768px.

Help page + global Cmd+K search

Polish

/help with keyboard shortcuts, feature map, FAQ. Cmd+K from anywhere searches across customers / orders / videos / etc.

/help, ⌘K anywhere

Dashboard inbox + sonner toasts

Polish

Today's Actionables card on the dashboard aggregates reviews pending, withdrawals overdue, videos failed 24h, etc. Toast notifications replace browser alerts.

/

11 May 2026

ERP audit log + admin user table

Feature

Every ERP mutation writes to AdminAuditLog with operator identity + before/after diff. /audit page surfaces the trail.

/audit

Customer 360° view + AIGC App ↔ CRM bidirectional links

Feature

Customer detail page now shows their AIGC App account (balance, lifetime spent, recent orders, videos, subscriptions) inline. AIGC App user detail page links back to CRM customer.

10 May 2026

AIGC App admin section (24 pages)

Feature

Full read-only admin coverage of the digital-human platform: users, orders, videos, credits, providers, plans, subscriptions, agents, withdrawals, redeem codes, audit, avatars, voices, smart-edit, PPTX jobs, notifications, webhooks.