Commit graph

279 commits

Author SHA1 Message Date
Ashwin Kumar
2d161c4f15 feat(admin-parity): approval management, submission viewer, role builder offline fallback
- Rebuilt approval.tsx: reject with reason prompt, request changes with field
  keys, request more documents flow, RoleTypeBadge per role type, parsed
  requestReason (ONBOARDING_SUBMISSION prefix), management page routing for
  approved items, inline ApprovalDetailPanel with remarks timeline
- Rebuilt approval/[id].tsx: full onboarding submission viewer loading from
  GET /api/admin/approvals/submission/{user_id}?roleKey=X, flattenFields
  recursive flattener, detectKind image/pdf/document/url/text classifier,
  image lightbox, PDF iframe modal, approve/reject per role type routing
- Added src/lib/admin-modules.ts: STATIC_PERMISSIONS fallback (39 modules x4
  actions) for Internal Role Builder when backend is offline
- roles/create.tsx + roles/[id]/edit.tsx: use STATIC_PERMISSIONS when API
  returns empty or fails, builder now works offline
- AdminShell + AdminSidebar: alignment/style fixes from parity review
- ExternalRoleForm: extended fields for external runtime role management

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 00:34:38 +01:00
Ashwin Kumar
9980cd4fe5 test(auth): add admin auth split unit+e2e coverage 2026-03-20 22:37:17 +01:00
Ashwin Kumar
95af9c2788 feat(management-parity): replace employee/kb alias routes with real solid pages 2026-03-20 16:19:08 +01:00
Ashwin Kumar
cd780906b1 style(role-parity): align runtime role list actions with next surface 2026-03-20 16:09:21 +01:00
Ashwin Kumar
78d03e67fb style(dashboard-parity): align builder list headers and action button treatments 2026-03-20 16:08:09 +01:00
Ashwin Kumar
96ebcad709 fix(vinxi): export default client entry mount 2026-03-20 15:40:17 +01:00
Ashwin Kumar
998bebc8ec style(parity): align onboarding builder surfaces and tab strips with next ui 2026-03-20 15:37:56 +01:00
Ashwin Kumar
5140d12332 feat(builder-parity): enrich inspector summary and internal dashboard list columns 2026-03-19 21:11:59 +01:00
Ashwin Kumar
12396a81c5 style(dashboard-builder): align builder page shells with next layout 2026-03-19 21:08:17 +01:00
Ashwin Kumar
0cff46ec82 feat(onboarding-builder): add tabbed flow builder with library and preview 2026-03-19 21:05:06 +01:00
Ashwin Kumar
54cd1a156c feat(admin-builders): align role and onboarding management flows with next tabs/forms 2026-03-19 15:29:22 +01:00
Ashwin Kumar
931a1db71b feat(admin-ui): replace redirect aliases with applications and modules flows 2026-03-19 15:19:02 +01:00
Ashwin Kumar
19bacc5ab3 feat(admin-ui): align detail views with next layout patterns 2026-03-19 15:14:15 +01:00
Ashwin Kumar
97f9317797 feat(admin): add route aliases and missing detail pages for parity 2026-03-19 15:05:13 +01:00
Ashwin Kumar
16be71a4ce chore(admin): add verification page titles to shell header 2026-03-19 14:23:13 +01:00
Ashwin Kumar
6c6667b8be feat(admin): add jobs and verification parity routes 2026-03-19 14:21:49 +01:00
Ashwin Kumar
7e65337c60 feat(admin): add missing approval and user detail/edit routes 2026-03-19 14:03:15 +01:00
Ashwin Kumar
94f40d194b feat(admin): apply Next-style navigation shell to create flows 2026-03-19 13:58:42 +01:00
Ashwin Kumar
0e509713f5 feat(admin): align role/runtime/onboarding detail screens with Next UI 2026-03-19 13:56:41 +01:00
Ashwin Kumar
09894af444 feat(admin): advance Next.js UI parity for shell and core management pages 2026-03-19 13:50:20 +01:00
Ashwin Kumar
04a1079f68 feat(admin): build complete admin panel with UI parity and search/filter
- Implement all admin management pages (employees, users, jobs, leads, orders, companies, customers, candidates, approval, invoices, reviews, support, KB, pricing, coupons, credits, discounts, tax, reports, ledger)
- Implement 9 professional vertical pages (developers, designers, tutors, video editors, photographers, makeup artists, graphic designers, social media managers, fitness trainers)
- Implement internal/external dashboard and role management with builder UI
- Fix tab styling: replace inline border-bottom styles with admin-tab CSS class across 8+ pages
- Add search/filter functionality to invoice and review pages
- Add toggle status (activate/deactivate) to employees page with PATCH /api/admin/employees/{id}
- Align UI styling with NextJS admin panel for visual parity
- Add stat cards to approval page showing counts by status
- Implement graceful empty states for all list views

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-19 13:04:10 +01:00
Ashwin Kumar
bbaeb1b2a9 feat(admin): align nextjs sidebar/ui parity and module flow bridge 2026-03-19 03:36:46 +01:00
Ashwin Kumar
a2ce927d66 Add runtime storage and API/server wiring updates 2026-03-19 02:36:33 +01:00
Ashwin Kumar
56803bd7b2 feat: align admin onboarding and role-ui-configs with migration schema 2026-03-17 20:48:27 +01:00
Ashwin Kumar
75b54368f0 chore: update admin and public entry route alignment 2026-03-17 15:37:49 +01:00
Ashwin Kumar
9cf8af5311 feat(admin): make onboarding schema fully runtime-configurable 2026-03-16 23:37:26 +01:00
Ashwin Kumar
562ad4f8de feat(admin): add manage and edit pages for runtime configs 2026-03-16 23:30:37 +01:00
Ashwin Kumar
e5ce1ef1b3 feat(admin): runtime config builders with local save/publish 2026-03-16 23:20:54 +01:00
Ashwin Kumar
4adaec262c chore: bootstrap solid admin repo with migration plan 2026-03-16 22:23:59 +01:00