SurfSense/surfsense_web/hooks
CREDO23 f04ab89418 refactor: rename Electric hooks and clean consumer components
Rename hooks to remove Electric branding:
- use-connectors-electric → use-connectors-sync (useConnectorsSync)
- use-messages-electric → use-messages-sync (useMessagesSync)
- use-comments-electric → use-comments-sync (useCommentsSync)

Clean all Electric/PGlite references in consumer components:
connector-popup.tsx, thread.tsx, page.tsx, use-indexing-connectors.ts,
use-connector-dialog.ts
2026-03-23 19:29:08 +02:00
..
use-announcements.ts chore: linting 2026-02-20 22:44:56 -08:00
use-api-key.ts Add clipboard utility with fallback and show selectable URLs 2026-02-04 18:54:59 +02:00
use-chat-session-state.ts feat: rewrite use-chat-session-state hook from Electric to Zero 2026-03-23 18:56:32 +02:00
use-comments-sync.ts refactor: rename Electric hooks and clean consumer components 2026-03-23 19:29:08 +02:00
use-comments.ts chore: ran linting 2026-03-07 04:46:48 +05:30
use-composio-drive-folders.ts chore: ran linting 2026-01-23 05:28:18 +05:30
use-connectors-sync.ts refactor: rename Electric hooks and clean consumer components 2026-03-23 19:29:08 +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 feat: rewrite use-documents-processing hook from Electric to Zero 2026-03-23 19:06:32 +02:00
use-documents.ts feat: rewrite use-documents hook from Electric to Zero 2026-03-23 19:16:38 +02:00
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 chore: ran linting 2026-03-11 12:30:20 +05:30
use-inbox.ts feat: rewrite use-inbox and use-documents hooks from Electric to Zero 2026-03-23 19:21:20 +02:00
use-logs.ts fix: remove hardcoded limit in query params 2025-12-29 17:23:31 +02: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 refactor: rename Electric hooks and clean consumer components 2026-03-23 19:29:08 +02:00
use-mobile.ts Initial formatting using biome 2025-07-27 10:05:37 -07:00
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-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 feat: add file selection to Google Drive connector 2025-12-31 14:15:07 +02:00
use-typewriter.ts refactor: update title generation logic to improve user experience by generating titles in parallel with assistant responses 2026-03-09 01:28:53 +05:30