Commit graph

142 commits

Author SHA1 Message Date
Ashwin Kumar
3ffed6c813 ui(step-4): apply reference layout to remaining 7 pages
- catering-services, fitness-trainers, graphic-designers, social-media-managers,
  video-editors, verification, kb: white header, data-table/table-card,
  navy buttons, orange tab underlines, inline styles removed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 05:23:57 +01:00
Ashwin Kumar
5cfa4b89be ui(step-3): apply reference layout to 14 more management pages
- pricing, credit, coupon, discount, tax, order, invoice: white header,
  data-table/table-card, navy buttons, inline styles removed
- review, leads, jobs, notifications, support, report, ledger: same
  pattern + orange tab underlines where applicable

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 05:20:55 +01:00
Ashwin Kumar
0bb59b99ef ui(step-2): apply reference layout to 8 management pages
- customer, candidate, photographer, makeup-artist, users, company,
  developers, tutors: all get white sticky header, -mx-6/-mt-6 layout,
  data-table/table-card CSS classes, navy primary buttons, orange tab
  underlines, Tailwind classes replacing inline styles on all table cells

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 04:51:40 +01:00
Ashwin Kumar
d6405b55f6 ui(step-1): match reference layout for dept/designation/employees/roles pages
- All pages: white sticky page header + tab bar with orange underline,
  -mx-6 -mt-6 negative margin to stretch headers edge-to-edge
- department: full columns (ID, Name, Description, Created By, etc.),
  icon-only action buttons, navy Add Department button
- designation: Designations List / Add Designation tabs, status filter
  dropdown, inline create/edit form, full columns with status badge
- employees: View/Add tabs, icon-only action buttons, status badges
- roles/index: clean table with Name+code subtext, Description, actions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 04:47:05 +01:00
Ashwin Kumar
c44152154f ui(step-0): rewrite sidebar/shell to match reference admin panel
- AdminSidebar: flat nav list, orange right-border active indicator,
  ACTIVE pill badge, ChevronLeft collapse (rotates 180° when collapsed)
- AdminShell: h-16 header with logo+title left, Bell+avatar+logout right,
  sidebar collapse state, bg-gray-50 main area
- app.css: shared classes — data-table (navy header), table-card,
  btn-primary (navy), btn-secondary, search-input, action-btn,
  status-badge variants, page-title

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 04:25:17 +01:00
Ashwin Kumar
ab15466368 ui: match stitch design system — navy accents, tighter rounding, sidebar groups
- AdminSidebar: group labels (Management/Organisation/Service Providers/Operations),
  navy active state (bg-[#e8edf5] + [#0a1d37] left bar + navy icon), width 268px,
  13.5px font, 40px item height, lucide-solid icons only (no img fallback), min-w-0
  truncation fix, tighter py spacing
- AdminShell: header height 64px (was 86px), compact search bar 40px/rounded-lg,
  navy avatar square (was orange gradient), tab indicator navy (was orange), sidebar
  width 268px, main bg #f3f4f8
- Dashboard: rounded-xl→rounded-lg cards, rounded-2xl→rounded-xl sections, navy
  accent bars on KPI cards, tabular-nums on values, navy pipeline progress bars
- app.css: table thead now navy (#0a1d37) with white text matching reference screenshot,
  focus rings navy, admin-segment/admin-link-tabs active state navy, reduced border
  radii on segmented controls and list items

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 02:49:09 +01:00
Ashwin Kumar
9b1ffdacf6 Revamp admin shell/sidebar and align login form style 2026-03-24 02:36:40 +01:00
Ashwin Kumar
1f59fbbc4c fix(ui): sidebar spacing/scrolling, navy accent bars, reduced border radius
- Sidebar: proper min-h-0 + overflow-y-auto scrolling, px-3 spacing,
  text-[13px] items with truncate, tighter py-2 rows, user card with
  navy avatar chip, w-60 width
- KPI cards: navy #0a1d37 left accent bar instead of orange, navy icon
  chips, rounded-xl (was rounded-2xl), reduced shadow intensity
- All cards/panels: rounded-xl (down from rounded-2xl/3xl)
- Activity chart: navy bars instead of orange, rounded-t-md (less rounded)
- Intelligence Hub actions: rounded-lg (was rounded-2xl)
- Control Plane cards: rounded-xl with hover:border-[#0a1d37]/10

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 23:55:31 +01:00
Ashwin Kumar
df560a91ea feat(ui): apply stitch design system — left-accent KPI cards, Intelligence Hub, glassmorphism header
- app.css: Exo 2 font, #0a1d37 navy + #fd6216 orange tokens, #f9f9fd background
- AdminShell: backdrop-blur-xl glassmorphism header, centered search bar, settings icon,
  name + bordered avatar, ambient shadow-[0_4px_24px_rgba(10,29,55,0.04)]
- AdminSidebar: white bg, left orange 4px pill accent on active (before: pseudo),
  bg-slate-50 active state, MANAGEMENT/FINANCE/PLATFORM group labels, user card at bottom
- Dashboard: KPI cards with absolute left-0 accent bar + ambient shadows, big font-black numbers,
  System Activity bar chart, Intelligence Hub dark navy panel with quick-action buttons,
  Pipeline Status cards with progress bars, Control Plane 3-col grid

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 23:34:33 +01:00
Ashwin Kumar
be179a6673 feat(ui): premium redesign — Inter font, grouped sidebar, gradient active states
- Switch to Inter font for sharper admin feel
- Sidebar: grouped nav sections (Overview/Organization/Access & Roles/etc),
  orange gradient active fade, tighter spacing, smaller 220px width
- Header: slimmer h-14, backdrop-blur, logo+separator+title layout,
  gradient avatar, notification dot with ring-2 badge
- Dashboard: smaller rounded-xl cards, tabular-nums on KPI values,
  ArrowUpRight hover indicators, refined Control Plane grid
- app.css: sidebar/surface CSS design tokens, orange palette updates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 23:13:04 +01:00
Ashwin Kumar
a272276055 feat(admin): Phase 0 — Tailwind v4 foundation, shell rewrite, modern dashboard
- Install Tailwind CSS v4 via @tailwindcss/vite; configure vite.config.ts
- Rewrite app.css: Tailwind base, Exo 2 font, brand tokens (orange #fd6216, navy #050026), scrollbar utility; fix @import order
- Rewrite AdminShell.tsx: fixed header, fixed inset body grid (sidebar + main), session check, sub-tab system, logout, admin avatar/name/role
- Rewrite AdminSidebar.tsx: collapsible w-64/w-20, orange active rail + badge/dot, CSS filter for SVG icon tinting, min-h-0 flex fix
- Replace 84 route stub CSS classes (page-title, card, btn, table-wrap, etc.) with Tailwind equivalents via safe class-attr-only regex script
- Rewrite admin dashboard: Lucide icons in colored chip backgrounds, 4-col KPI grid, Control Plane 6-module grid, hover lift animations
- Disable SSR (ssr: false) to fix Vinxi dev manifest error; clear stale .vinxi cache
- Add lucide-solid icon library
- Add scripts/cleanup-css.mjs for class migration

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 23:00:21 +01:00
Ashwin Kumar
0050277922 Fix admin navigation/refresh and complete role/dashboard/onboarding builder parity updates 2026-03-23 21:13:42 +01:00
Ashwin Kumar
8a01ff9041 chore(claude): update launch config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 00:47:14 +01:00
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