fix(GRO-743): client detail page fetches on direct URL navigation #316

Merged
the-dogfather-cto[bot] merged 1 commits from fix/gro-743-client-detail-direct-nav into dev 2026-04-17 17:23:09 +00:00

1 Commits

Author SHA1 Message Date
Test User 60d0d53160 fix(GRO-743): add dedicated client detail route with unconditional data fetch
Direct navigation to /admin/clients/{id} now:
- Fetches GET /api/clients/{id} on mount (unconditional)
- Fetches GET /api/pets?clientId= on mount
- Shows loading state while fetching
- Shows error state on failure (401/404/5xx)
- Preserves existing link-based navigation from ClientsPage

Added ClientDetailPage.tsx as a standalone route component.
Added 3 E2E tests covering direct nav, loading state, and error state.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-17 07:15:33 +00:00