cohorta/src
Vadym Samoilenko 015e6cc5cc Add Phase D admin panel: user management + usage analytics
Backend: /api/admin/* blueprint with user CRUD (list, get, update,
disable/enable), usage summary aggregation (group by user/model/feature/
day/focus_group), usage event drill-down, and pricing list. Fixed
admin_required decorator (async-safe). Added find_all/count/update
helpers to User model.

Frontend: /admin page (AdminRoute guard, 3 tabs) — Users table with
search/filter/edit dialog, Usage tab with KPI cards + bar chart +
events table, Pricing tab showing active model rows with tier details.
Admin nav link visible only to admin role.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 18:26:05 +01:00
..
components Add Phase D admin panel: user management + usage analytics 2026-04-24 18:26:05 +01:00
config Remove console.log debug calls from frontend browser console 2026-03-23 14:30:56 +00:00
contexts Remove console.log debug calls from frontend browser console 2026-03-23 14:30:56 +00:00
hooks Add Phase D admin panel: user management + usage analytics 2026-04-24 18:26:05 +01:00
lib Add Phase D admin panel: user management + usage analytics 2026-04-24 18:26:05 +01:00
pages Add Phase D admin panel: user management + usage analytics 2026-04-24 18:26:05 +01:00
services Remove console.log debug calls from frontend browser console 2026-03-23 14:30:56 +00:00
styles changed permissions 2025-12-19 19:26:16 +00:00
types changed permissions 2025-12-19 19:26:16 +00:00
utils Remove console.log debug calls from frontend browser console 2026-03-23 14:30:56 +00:00
.DS_Store changed permissions 2025-12-19 19:26:16 +00:00
App.tsx Add Phase D admin panel: user management + usage analytics 2026-04-24 18:26:05 +01:00
index.css changed permissions 2025-12-19 19:26:16 +00:00
main.tsx Switch to loginRedirect — popup blocked by server COOP header 2026-03-20 14:44:19 +00:00
vite-env.d.ts changed permissions 2025-12-19 19:26:16 +00:00