2026-03-16 23:20:54 +01:00
|
|
|
{
|
|
|
|
|
"name": "nxtgauge-admin-solid",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "vinxi dev",
|
|
|
|
|
"build": "vinxi build",
|
2026-03-20 22:37:17 +01:00
|
|
|
"start": "vinxi start",
|
2026-04-10 01:17:00 +02:00
|
|
|
"start:9202": "HOST=0.0.0.0 PORT=9202 node .output/server/index.mjs",
|
|
|
|
|
"admin:restart:9202": "bash ./scripts/admin-3000-service.sh restart",
|
|
|
|
|
"admin:stop:9202": "bash ./scripts/admin-3000-service.sh stop",
|
|
|
|
|
"admin:status:9202": "bash ./scripts/admin-3000-service.sh status",
|
|
|
|
|
"admin:start:9202": "bash ./scripts/admin-3000-service.sh start",
|
feat: comprehensive testing infrastructure
- Add vitest with solid plugin, coverage, jsdom environment
- Create MSW mocks for API responses in test setup
- Add unit test for ProfessionAdminListPage
- Add Playwright accessibility and visual regression configs
- Add sample accessibility and visual tests
- Add ESLint + Prettier configs with SolidJS rules
- Update scripts: test, test:coverage, test:accessibility, test:visual
- Add .gitignore entries for coverage, test-results, playwright-report, .vitest
- Install required dev dependencies: vitest, @solidjs/testing-library, msw, eslint, prettier, typescript, @axe-core/playwright, etc.
- Create .github/workflows/ci.yml with lint, test, coverage, e2e, accessibility, visual checks
This sets up full testing pipeline for admin frontend.
2026-04-08 02:38:17 +02:00
|
|
|
"test": "vitest run",
|
|
|
|
|
"test:watch": "vitest",
|
|
|
|
|
"test:coverage": "vitest run --coverage",
|
2026-03-20 22:37:17 +01:00
|
|
|
"test:e2e": "playwright test",
|
2026-03-26 06:20:22 +01:00
|
|
|
"test:e2e:headed": "playwright test --headed",
|
2026-04-05 16:52:01 +02:00
|
|
|
"test:visual": "playwright test tests/e2e/admin-visual.spec.ts --reporter=list --workers=1",
|
|
|
|
|
"test:management:parity": "playwright test tests/e2e/management-parity.spec.ts --reporter=list --workers=1",
|
|
|
|
|
"test:storybook:e2e": "playwright test -c playwright.storybook.config.ts tests/e2e/storybook-admin-pages.spec.ts --reporter=list --workers=1",
|
|
|
|
|
"test:external:flow": "playwright test -c playwright.external.config.ts tests/e2e/external-user-flow.spec.ts --reporter=list --workers=1",
|
|
|
|
|
"test:external:roles": "playwright test -c playwright.external.config.ts tests/e2e/external-roles-onboarding-dashboard.spec.ts --reporter=list --workers=1",
|
|
|
|
|
"test:external:screenshots": "playwright test -c playwright.external.config.ts tests/e2e/external-role-screenshots.spec.ts --reporter=list --workers=1",
|
feat: comprehensive testing infrastructure
- Add vitest with solid plugin, coverage, jsdom environment
- Create MSW mocks for API responses in test setup
- Add unit test for ProfessionAdminListPage
- Add Playwright accessibility and visual regression configs
- Add sample accessibility and visual tests
- Add ESLint + Prettier configs with SolidJS rules
- Update scripts: test, test:coverage, test:accessibility, test:visual
- Add .gitignore entries for coverage, test-results, playwright-report, .vitest
- Install required dev dependencies: vitest, @solidjs/testing-library, msw, eslint, prettier, typescript, @axe-core/playwright, etc.
- Create .github/workflows/ci.yml with lint, test, coverage, e2e, accessibility, visual checks
This sets up full testing pipeline for admin frontend.
2026-04-08 02:38:17 +02:00
|
|
|
"test:accessibility": "playwright test --config=playwright.a11y.config.ts",
|
|
|
|
|
"test:visual:regression": "playwright test --config=playwright.visual.config.ts",
|
2026-03-26 06:20:22 +01:00
|
|
|
"storybook": "storybook dev -p 6006",
|
2026-04-05 16:52:01 +02:00
|
|
|
"build-storybook": "storybook build",
|
|
|
|
|
"qa:visbug": "bash ./scripts/visbug-storybook.sh",
|
|
|
|
|
"qa:e2e:blueprint": "bash ./scripts/run-nxtgauge-e2e-suite.sh"
|
2026-03-16 23:20:54 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@solidjs/meta": "^0.29.4",
|
2026-04-26 23:58:42 +02:00
|
|
|
"@solidjs/router": "^0.15.3",
|
|
|
|
|
"@solidjs/start": "^1.3.0",
|
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
|
|
|
"@tailwindcss/vite": "^4.2.2",
|
feat: phase 1+2 — shell redesign + drag-and-drop dashboard
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>
2026-03-25 19:21:54 +01:00
|
|
|
"@thisbeyond/solid-dnd": "^0.7.5",
|
|
|
|
|
"apexcharts": "^5.10.4",
|
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
|
|
|
"lucide-solid": "^1.0.1",
|
2026-03-16 23:20:54 +01:00
|
|
|
"solid-js": "^1.9.5",
|
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
|
|
|
"tailwindcss": "^4.2.2",
|
2026-03-16 23:20:54 +01:00
|
|
|
"vinxi": "^0.5.7"
|
|
|
|
|
},
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=20"
|
2026-03-20 22:37:17 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-04-08 22:12:38 +02:00
|
|
|
"@axe-core/playwright": "^4.11.1",
|
2026-03-26 06:20:22 +01:00
|
|
|
"@chromatic-com/storybook": "^5.1.0",
|
|
|
|
|
"@playwright/test": "^1.58.2",
|
feat: comprehensive testing infrastructure
- Add vitest with solid plugin, coverage, jsdom environment
- Create MSW mocks for API responses in test setup
- Add unit test for ProfessionAdminListPage
- Add Playwright accessibility and visual regression configs
- Add sample accessibility and visual tests
- Add ESLint + Prettier configs with SolidJS rules
- Update scripts: test, test:coverage, test:accessibility, test:visual
- Add .gitignore entries for coverage, test-results, playwright-report, .vitest
- Install required dev dependencies: vitest, @solidjs/testing-library, msw, eslint, prettier, typescript, @axe-core/playwright, etc.
- Create .github/workflows/ci.yml with lint, test, coverage, e2e, accessibility, visual checks
This sets up full testing pipeline for admin frontend.
2026-04-08 02:38:17 +02:00
|
|
|
"@solidjs/testing-library": "^0.8.0",
|
2026-03-26 06:20:22 +01:00
|
|
|
"@storybook/addon-a11y": "^10.3.3",
|
|
|
|
|
"@storybook/addon-docs": "^10.3.3",
|
|
|
|
|
"@storybook/addon-vitest": "^10.3.3",
|
feat: comprehensive testing infrastructure
- Add vitest with solid plugin, coverage, jsdom environment
- Create MSW mocks for API responses in test setup
- Add unit test for ProfessionAdminListPage
- Add Playwright accessibility and visual regression configs
- Add sample accessibility and visual tests
- Add ESLint + Prettier configs with SolidJS rules
- Update scripts: test, test:coverage, test:accessibility, test:visual
- Add .gitignore entries for coverage, test-results, playwright-report, .vitest
- Install required dev dependencies: vitest, @solidjs/testing-library, msw, eslint, prettier, typescript, @axe-core/playwright, etc.
- Create .github/workflows/ci.yml with lint, test, coverage, e2e, accessibility, visual checks
This sets up full testing pipeline for admin frontend.
2026-04-08 02:38:17 +02:00
|
|
|
"@testing-library/jest-dom": "^6.6.3",
|
2026-03-26 06:20:22 +01:00
|
|
|
"@vitest/browser-playwright": "^4.1.1",
|
|
|
|
|
"@vitest/coverage-v8": "^4.1.1",
|
feat: comprehensive testing infrastructure
- Add vitest with solid plugin, coverage, jsdom environment
- Create MSW mocks for API responses in test setup
- Add unit test for ProfessionAdminListPage
- Add Playwright accessibility and visual regression configs
- Add sample accessibility and visual tests
- Add ESLint + Prettier configs with SolidJS rules
- Update scripts: test, test:coverage, test:accessibility, test:visual
- Add .gitignore entries for coverage, test-results, playwright-report, .vitest
- Install required dev dependencies: vitest, @solidjs/testing-library, msw, eslint, prettier, typescript, @axe-core/playwright, etc.
- Create .github/workflows/ci.yml with lint, test, coverage, e2e, accessibility, visual checks
This sets up full testing pipeline for admin frontend.
2026-04-08 02:38:17 +02:00
|
|
|
"jsdom": "^25.0.1",
|
|
|
|
|
"msw": "^2.7.3",
|
2026-03-26 20:58:39 +01:00
|
|
|
"pixelmatch": "^7.1.0",
|
2026-03-26 06:20:22 +01:00
|
|
|
"playwright": "^1.58.2",
|
2026-03-26 20:58:39 +01:00
|
|
|
"pngjs": "^7.0.0",
|
2026-03-26 06:20:22 +01:00
|
|
|
"storybook": "^10.3.3",
|
|
|
|
|
"storybook-solidjs-vite": "^10.0.11",
|
2026-04-26 23:58:42 +02:00
|
|
|
"typescript": "^5.5.0",
|
2026-03-26 06:20:22 +01:00
|
|
|
"visbug": "^0.1.14",
|
2026-04-08 22:12:38 +02:00
|
|
|
"vite-plugin-solid": "^2.11.12",
|
2026-04-26 23:58:42 +02:00
|
|
|
"vitest": "^4.1.1"
|
2026-03-16 23:20:54 +01:00
|
|
|
}
|
|
|
|
|
}
|