
Eunjae LeeandDevin AI
4d0458b0e8
feat: add client-side auth protection to routing forms pages (#23743)
* feat: add client-side auth protection to routing forms pages
- Create RoutingFormsShell component with useRedirectToLoginIfUnauthenticated hook
- Wrap form-edit, route-builder, and incomplete-booking pages with RoutingFormsShell
- Ensures consistent auth behavior during client-side navigation
- Maintains existing server-side auth protection
- Fix ESLint warnings: replace 'any' types with 'unknown' types and add eslint-disable for restricted imports
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev>
* refactor: clean up RoutingFormsShell implementation
- Remove unused isPublic parameter from RoutingFormsShell component
- Keep only essential client-side authentication protection functionality
- Fix remaining ESLint warnings to allow commit to pass
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev>
* remove unnecessary hook
* use shell at layout
* rename component
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-09-16 10:39:42 -03:00
..
2025-09-16 10:39:42 -03:00
2025-09-14 11:24:16 -03:00
2022-08-30 12:25:24 -06:00
2023-12-17 08:21:22 +10:00
2025-09-15 11:16:50 +00:00
2025-09-14 12:04:47 -03:00
2025-09-12 15:32:50 -03:00
2025-09-15 11:00:00 +02:00
2025-09-14 20:21:56 +01:00
2025-07-14 22:49:25 +00:00
2025-09-11 15:27:50 +01:00
2025-09-14 12:00:12 -03:00
2025-09-11 15:27:50 +01:00
2024-10-31 14:57:07 +00:00
2023-03-15 15:01:04 -07:00
2025-05-09 19:44:48 +00:00
2023-09-14 08:58:08 +02:00
2023-11-06 13:30:37 +05:30
2025-05-06 15:19:47 +00:00
2024-12-11 14:18:32 +01:00
2025-02-10 03:35:17 +00:00
2025-08-20 07:27:51 +00:00
2025-09-11 15:27:50 +01:00
2025-07-26 01:38:20 +01:00
2025-08-21 11:12:54 +00:00
2022-07-22 11:27:06 -06:00
2025-09-11 23:18:39 +01:00
2025-09-15 16:22:52 +00:00
2025-04-20 16:16:48 +00:00
2025-08-20 07:26:32 +00:00
2022-02-10 14:22:45 -07:00
2025-05-14 12:21:13 +00:00
2025-05-14 12:21:13 +00:00
2025-08-05 01:21:23 +01:00
2025-08-26 13:47:06 -03:00
2025-08-20 14:51:45 +00:00