chihlasm
a71f082e25
feat: extract admin account management rework from PR 124 (#138)
* feat: reorganize admin panel around accounts
* feat: expand admin customer account controls
* feat: add admin account detail management
* fix: remove unused admin account icon import
* refactor: design critique fixes for account pages
- Admin accounts: replace dense card grid with compact DataTable
- Account settings: remove redundant hero card, stat grid, header pills
- Fix bg-accent (orange) misuse on decorative elements across 7 files
- Add ConfirmButton for destructive actions (deactivate, remove member)
- Replace single-field modals with inline editing (plan, trial)
- Add contextual help: display code tooltip, improved empty states
- Non-owner aside explanation for hidden owner-only sections
- Admin sidebar: group 11 items into 5 labeled sections
- Rename UsersPage.tsx → AccountsPage.tsx to match route
- Fix border radius consistency, hide zero-count badges
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: use get_admin_db for all new admin account endpoints
All admin endpoints query across tenants without a tenant context.
get_db (app-role, subject to RLS) was never imported and would crash
at runtime — replace all 6 occurrences with get_admin_db (BYPASSRLS).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 04:44:51 -04:00
..
2026-01-22 14:38:53 -05:00
2026-04-12 03:25:18 +00:00
2026-02-08 06:05:59 -05:00
2026-04-10 03:57:18 +00:00
2026-04-10 03:57:18 +00:00
2026-02-08 06:05:59 -05:00
2026-04-10 03:57:18 +00:00
2026-02-08 06:05:59 -05:00
2026-02-08 06:05:59 -05:00
2026-03-07 18:44:14 -05:00
2026-04-13 04:44:51 -04:00
2026-03-16 13:39:17 -04:00
2026-03-07 15:51:37 -05:00
2026-02-26 17:25:38 -05:00
2026-04-09 00:42:19 -04:00
2026-04-11 04:24:36 +00:00
2026-04-09 00:42:19 -04:00
2026-03-24 05:28:06 +00:00
2026-04-12 03:25:18 +00:00
2026-03-23 13:12:06 +00:00
2026-03-12 00:23:29 -04:00
2026-03-17 00:12:00 -04:00
2026-04-10 04:57:39 +00:00
2026-03-04 20:44:25 -05:00
2026-04-13 02:38:01 -04:00
2026-02-18 17:43:21 -05:00
2026-03-19 12:37:54 +00:00
2026-03-20 00:36:30 +00:00
2026-02-05 22:44:05 -05:00
2026-03-19 01:30:05 +00:00
2026-02-11 23:45:23 -05:00
2026-03-11 23:29:51 -04:00
2026-04-10 06:44:17 +00:00
2026-04-13 02:38:01 -04:00
2026-03-19 12:37:54 +00:00
2026-04-12 03:25:18 +00:00
2026-03-19 19:12:34 +00:00
2026-04-11 04:24:36 +00:00
2026-04-12 01:25:28 +00:00
2026-04-09 17:18:38 +00:00
2026-03-27 18:16:42 +00:00
2026-03-24 08:43:32 +00:00
2026-03-24 08:47:09 +00:00
2026-04-10 14:41:42 +00:00
2026-02-07 23:06:13 -05:00
2026-04-10 06:50:00 +00:00
2026-03-21 05:04:47 +00:00
2026-04-10 04:57:39 +00:00
2026-04-11 04:24:36 +00:00
2026-04-10 06:44:17 +00:00
2026-03-05 22:43:02 -05:00
2026-04-10 04:57:39 +00:00
2026-04-11 07:02:35 +00:00
2026-02-10 09:45:26 -05:00
2026-03-07 15:51:37 -05:00
2026-04-11 07:02:35 +00:00
2026-04-09 00:42:19 -04:00
2026-02-07 02:39:01 -05:00