Shell (AdminShell + AdminSidebar): - Logo moved to header-left section, width syncs with sidebar collapse state - Global search bar with debounced multi-module API calls and grouped dropdown - Bell notification icon with badge, gear → /admin/settings, user dropdown with logout - Sidebar: 7 grouped nav sections with dividers, orange left-border active state, removed "Active" badge pill, user info (avatar + name + role) pinned to bottom - Fixed all sidebar labels to match Figma (Employee Management, External Onboarding Management, Users Management, Verification Management) - Added missing sidebar items: Verification, Fitness Trainers, Graphic Designers, Social Media, Video Editors, Catering Services, Applications, Responses Dashboard (admin/index): - Rebuilt to match Figma: "Dashboard Overview" title, Export Report button - 4 stat cards (Total Users, Active Companies, Open Leads, Credits Purchased) with real API fetch, orange icons, delta badges, graceful — fallback - ApexCharts: Leads Trend (orange gradient line) + Revenue Overview (navy bars) - Drag-and-drop widget system via @thisbeyond/solid-dnd — sortable stat cards and chart cards with handles and remove buttons in Customise mode - Add Widget panel shows all available widgets not on dashboard - 8 stat widgets + 3 chart widgets available; layout persists in localStorage Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
751 B
JSON
30 lines
751 B
JSON
{
|
|
"name": "nxtgauge-admin-solid",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vinxi dev",
|
|
"build": "vinxi build",
|
|
"start": "vinxi start",
|
|
"test": "node --test --experimental-strip-types src/lib/**/*.test.ts",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:headed": "playwright test --headed"
|
|
},
|
|
"dependencies": {
|
|
"@solidjs/meta": "^0.29.4",
|
|
"@solidjs/router": "^0.15.0",
|
|
"@solidjs/start": "^1.3.2",
|
|
"@tailwindcss/vite": "^4.2.2",
|
|
"@thisbeyond/solid-dnd": "^0.7.5",
|
|
"apexcharts": "^5.10.4",
|
|
"lucide-solid": "^1.0.1",
|
|
"solid-js": "^1.9.5",
|
|
"tailwindcss": "^4.2.2",
|
|
"vinxi": "^0.5.7"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2"
|
|
}
|
|
}
|