feat: flip routing — customer portal at /, admin at /admin #57

Merged
ghost merged 3 commits from feat/flip-routing-customer-root into main 2026-03-19 02:47:19 +00:00

3 Commits

Author SHA1 Message Date
Groom Book CTO 76238e377b fix(e2e): use specific locator for customer portal test
getByText('Paws & Reflect') matched 3 elements causing strict mode
violation. Scope to navigation role for unique match.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 02:28:36 +00:00
Groom Book CTO 8328f9a776 fix(e2e): update tests for routing flip — admin at /admin, portal at /
All E2E tests now use /admin prefix for admin routes (clients, services,
staff, invoices, reports, book). Adds customer portal smoke test at /.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 02:25:40 +00:00
Groom Book CTO b12d83c4f2 feat: flip routing — customer portal at /, admin at /admin
Move all admin dashboard routes under /admin prefix and mount the
customer portal at root (/). This gives customers clean, shareable
URLs while staff bookmark /admin.

- Admin routes: /admin, /admin/clients, /admin/services, etc.
- Customer portal: / (root)
- Admin nav "Customer Portal" link points to / for staff preview
- Updated tests for new route structure and fixed React 19 act compat

Closes #56

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-19 02:12:43 +00:00