veza/apps/web/src/hooks
senke 0e063aafb3 feat(ui): unsaved changes warning + chat date separators
Unsaved changes:
- New useUnsavedChanges hook: browser beforeunload warning
- New useFormDirtyState hook: isDirty/markDirty/markClean tracking
- SettingsPage: wired up dirty tracking with markClean on save

Chat date separators:
- DateSeparator component with centered date label and hr lines
- Inserted between messages from different days
- Formats: Today, Yesterday, or full date (e.g. "Monday, February 10")

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 00:07:19 +01:00
..
index.ts feat(ui): unsaved changes warning + chat date separators 2026-02-10 00:07:19 +01:00
types.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useAuth.test.ts refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
useAuth.ts [INT-AUTH-002] Remove duplicate auth store - migrate to features/auth/store/authStore.ts 2025-12-26 09:11:46 +01:00
useCopyToClipboard.ts feat(ui): form polish + micro-interactions for premium feel 2026-02-09 23:31:52 +01:00
useDebounce.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useDebounce.ts BASE: completing the initial repo state 2025-12-03 22:56:50 +01:00
useDebouncedCallback.ts edge-cases: implement Edge 3.2 - handle rapid user interactions 2026-01-16 12:58:21 +01:00
useFormValidation.ts fix: Corriger URL Swagger et finaliser implémentation DeveloperPage 2026-01-18 13:55:28 +01:00
useGlobalKeyboardShortcuts.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useGlobalKeyboardShortcuts.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useIntersectionObserver.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useIntersectionObserver.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useIsRateLimited.ts security: disable mutation buttons when rate limited 2026-01-15 20:01:47 +01:00
useKeyboardNavigation.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useKeyboardNavigation.ts [FIX] PROD-010: Corriger ENUM PostgreSQL dans modèle User - Tests E2E passent 2026-01-04 01:44:19 +01:00
useLocalStorage.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useLocalStorage.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useLongRunningOperation.ts edge-cases: implement Edge 3.3 - handle tab switching during operations 2026-01-16 12:59:29 +01:00
useMutationRetry.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useOnlineStatus.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useOnlineStatus.ts refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
usePreload.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
usePreload.ts refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
usePreventDoubleClick.ts edge-cases: implement Edge 3.2 - handle rapid user interactions 2026-01-16 12:58:21 +01:00
usePWA.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
usePWA.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useQueryInvalidation.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useQueryInvalidation.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useRoutePreload-additional.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useRoutePreload.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useRoutePreload.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useTabVisibility.ts edge-cases: implement Edge 3.3 - handle tab switching during operations 2026-01-16 12:59:29 +01:00
useThrottledCallback.ts edge-cases: implement Edge 3.2 - handle rapid user interactions 2026-01-16 12:58:21 +01:00
useToast.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useToast.ts [FE-TYPE-012] fe-type: Add type safety for hooks 2025-12-25 14:57:57 +01:00
useTranslation.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
useTranslation.ts [T0-003] fix(frontend): Corriger erreurs TypeScript/React 2026-01-04 01:44:20 +01:00
useUnsavedChanges.ts feat(ui): unsaved changes warning + chat date separators 2026-02-10 00:07:19 +01:00