No description
Find a file
Ashwin Kumar c526a376d5 fix(admin): convert AdminShell to persistent layout, fix company API URL
Replace per-page AdminShell wrapping with a single SolidStart layout file
(src/routes/admin.tsx) so the shell mounts once and persists across all
/admin/* navigation — eliminating the sidebar bounce and session re-check
flash that occurred on every page transition.

- Create src/routes/admin.tsx as layout with <Outlet /> for child routes
- Remove <AdminShell> import/wrapper from all 66 route files and 2 shared
  components (RoleUserManagementTablePage, UserListPage)
- Fix company.tsx: wrong fetch URL /api/admin/companies → /api/gateway/api/admin/companies
- Add missing auth headers (Authorization Bearer) to company.tsx and users.tsx
- Fix admin/index.tsx API constant from hardcoded localhost:8000 → /api/gateway

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 02:49:14 +02:00
.claude fix(admin): convert AdminShell to persistent layout, fix company API URL 2026-04-03 02:49:14 +02:00
.nitro/types feat(admin): runtime config builders with local save/publish 2026-03-16 23:20:54 +01:00
.playwright-cli feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:42 +02:00
.storybook Refactor admin UI and add Storybook/Vitest setup 2026-03-26 06:20:22 +01:00
docs chore: sync local changes 2026-03-26 20:58:39 +01:00
public feat(admin): align nextjs sidebar/ui parity and module flow bridge 2026-03-19 03:36:46 +01:00
scripts Refine external preview flows and simplify verification/approval management 2026-03-30 21:43:49 +02:00
src fix(admin): convert AdminShell to persistent layout, fix company API URL 2026-04-03 02:49:14 +02:00
tests/e2e chore: sync local changes 2026-03-26 20:58:39 +01:00
.gitignore chore: sync local changes 2026-03-26 20:58:39 +01:00
package-lock.json chore: sync local changes 2026-03-26 20:58:39 +01:00
package.json Standardize admin tables and polish shell UX 2026-03-30 04:48:09 +02:00
playwright.config.ts test(auth): add admin auth split unit+e2e coverage 2026-03-20 22:37:17 +01:00
README.md feat(admin): runtime config builders with local save/publish 2026-03-16 23:20:54 +01:00
tsconfig.json feat(admin): runtime config builders with local save/publish 2026-03-16 23:20:54 +01:00
vite.config.ts Refactor admin UI and add Storybook/Vitest setup 2026-03-26 06:20:22 +01:00
vitest.shims.d.ts Refactor admin UI and add Storybook/Vitest setup 2026-03-26 06:20:22 +01:00

NXTGAUGE Admin Solid

SolidStart migration target for nxtgauge-nov-2025-frontend (admin panel).

Principle

Port admin modules one by one with strict API/permission parity.

See docs/MIGRATION_MASTER_PLAN.md.

This project was created with the Solid CLI