SurfSense/surfsense_web/hooks
Matt Van Horn b92cc963ce
refactor(use-logs): use canonical log types from contracts/types/log.types
Removes duplicated LogLevel, LogStatus, Log, LogFilters and LogSummary
definitions from surfsense_web/hooks/use-logs.ts. These shapes already
live as Zod-derived types in contracts/types/log.types.ts, which is the
source of truth used by logs-api.service.ts and log-mutation.atoms.ts.

Adds LogLevel and LogStatus aliases for LogLevelEnum/LogStatusEnum in
log.types.ts so the existing public surface from use-logs is preserved
without per-hook re-exports. The hook re-exports the canonical names so
callers (app/dashboard/[search_space_id]/logs/(manage)/page.tsx) do not
need to change.

Closes #1372
2026-05-11 00:11:05 -07:00
..
use-agent-actions-query.ts chore: linting 2026-04-30 18:42:38 -07:00
use-announcements.ts chore: linting 2026-02-20 22:44:56 -08:00
use-api-key.ts fix: resolve setTimeout memory leak on unmounted component 2026-04-04 01:28:45 +05:30
use-chat-session-state.ts format: auto-fix via pnpm format:fix 2026-03-24 16:07:28 +02:00
use-comments-sync.ts chore: format issue 1046 frontend changes 2026-04-01 23:23:36 +09:00
use-comments.ts chore: ran linting 2026-03-07 04:46:48 +05:30
use-connectors-sync.ts format: auto-fix via pnpm format:fix 2026-03-24 16:07:28 +02:00
use-debounce.ts chore: ran linting 2026-02-17 12:47:39 +05:30
use-debounced-value.ts feat: fixed issues of note management 2025-12-17 00:09:43 -08:00
use-document-search.ts refactor: integrate useDocumentSearch hook into DocumentsSidebar for improved search functionality and performance, while enhancing user feedback with localized toast messages 2026-03-06 12:52:22 +05:30
use-documents-processing.ts refactor: update document processing status handling and improve sidebar components 2026-03-31 21:29:46 -07:00
use-documents.ts feat: implement map and find optimization 2026-04-01 18:47:57 +02:00
use-folder-sync.ts chore: ran linting 2026-04-08 18:23:03 +05:30
use-global-loading.ts fix: remove message from loading UI 2026-01-27 15:28:30 +05:30
use-google-drive-folders.ts chore: ran frontend linting 2026-01-01 22:24:42 +05:30
use-google-picker.ts fix: remove error message display for Google Drive and OneDrive authentication issues; add toast notifications for picker errors 2026-03-28 23:57:57 +05:30
use-inbox.ts feat: implement map and find optimization 2026-04-01 18:47:57 +02:00
use-logs.ts refactor(use-logs): use canonical log types from contracts/types/log.types 2026-05-11 00:11:05 -07:00
use-long-press.ts feat: refactor long-press functionality in AllPrivateChatsSidebar and AllSharedChatsSidebar to utilize custom hook for improved code reusability and maintainability 2026-03-07 04:44:24 +05:30
use-media-query.ts biome checks 2025-10-04 12:14:14 -07:00
use-messages-sync.ts feat: enhance tool input streaming and agent action handling for improved chat experience 2026-04-30 03:13:58 -07:00
use-mobile.ts
use-mounted.ts chore: ran linting 2026-02-17 12:47:39 +05:30
use-platform-shortcut.ts feat: enhance sidebar and toolbar components with shortcut key display, improving user interaction and accessibility 2026-03-07 02:50:01 +05:30
use-platform.ts feat: enhance keyboard shortcut management and improve app responsiveness 2026-04-07 00:43:40 -07:00
use-public-chat-runtime.ts feat: improve public chat UI and shared components 2026-01-26 18:39:59 +02:00
use-public-chat.ts feat: add public chat frontend 2026-01-26 17:08:26 +02:00
use-search-source-connectors.ts chore: linting 2026-03-31 14:45:46 -07:00
use-typewriter.ts refactor: improve password input layout and enhance chat thread title update logic 2026-04-14 21:13:01 +05:30
use-zero-document-type-counts.ts feat: made agent file sytem optimized 2026-03-28 16:39:46 -07:00