Commit graph

238 commits

Author SHA1 Message Date
Anish Sarkar
fae52345f8 Merge remote-tracking branch 'upstream/dev' into feat/composio 2026-01-23 14:35:17 +05:30
Manoj Aggarwal
49d51ba569 merge 2026-01-22 20:57:48 -08:00
CREDO23
1a2fa23916 Merge upstream/dev with live collaboration features 2026-01-22 23:00:42 +02:00
Manoj Aggarwal
f0760c14e9 Merge dev into feature/obsidian - resolved conflicts keeping both Obsidian and Composio connectors 2026-01-22 11:43:18 -08:00
Anish Sarkar
4bff1e8c10 Merge branch 'feat/inbox' into feat/composio 2026-01-22 23:02:00 +05:30
Anish Sarkar
076de2f3d7 feat: add unread count endpoint and update inbox logic
- Introduced a new API endpoint to fetch unread notification counts, providing both total and recent counts for better tracking.
- Updated the useInbox hook to manage separate states for older and recent unread counts, enhancing user experience with real-time updates.
- Implemented logic to handle marking notifications as read, ensuring accurate count adjustments for both recent and older items.
- Enhanced type definitions in the inbox types to support the new unread count functionality.
2026-01-22 22:56:02 +05:30
Anish Sarkar
be5715cfeb feat: add Composio connector types and enhance integration
- Introduced new enum values for Composio connectors: COMPOSIO_GOOGLE_DRIVE_CONNECTOR, COMPOSIO_GMAIL_CONNECTOR, and COMPOSIO_GOOGLE_CALENDAR_CONNECTOR.
- Updated database migration to add these new enum values to the relevant types.
- Refactored Composio integration logic to handle specific connector types, improving the management of connected accounts and indexing processes.
- Enhanced frontend components to support the new Composio connector types, including updated UI elements and connector configuration handling.
- Improved backend services to manage Composio connected accounts more effectively, including deletion and indexing tasks.
2026-01-22 22:33:28 +05:30
CREDO23
12437f840a Add new_chat_messages table to PGlite and create useMessagesElectric hook 2026-01-22 18:43:20 +02:00
CREDO23
4b57ba9d2b Add chat_comments table to PGlite schema and thread_id to types 2026-01-22 17:56:45 +02:00
CREDO23
3ab9cc8485 Restore API-based comments and remove unstable live sync integration 2026-01-22 15:05:00 +02:00
Anish Sarkar
00596f991d refactor: enhance inbox functionality with type guards and API service integration
- Introduced type guards for metadata in InboxSidebar to ensure safe access and improve type safety.
- Refactored the useInbox hook to utilize the new notifications API service for fetching notifications, enhancing validation and error handling.
- Added new API request/response schemas for notifications, improving structure and clarity.
- Updated logic for loading and marking notifications as read, ensuring consistent state management and user experience.
2026-01-22 18:32:25 +05:30
Anish Sarkar
be7ba76417 chore: ran backend and frontend linting 2026-01-22 16:07:06 +05:30
Anish Sarkar
3d4a8f981c Merge remote-tracking branch 'upstream/dev' into feat/inbox 2026-01-22 16:03:37 +05:30
DESKTOP-RTLN3BA\$punk
12b825bff0 Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-01-21 22:58:48 -08:00
DESKTOP-RTLN3BA\$punk
8c625d4237 feat: composio connector 2026-01-21 22:57:58 -08:00
Manoj Aggarwal
88a9a5bef2 format 2026-01-21 22:54:09 -08:00
Manoj Aggarwal
8a83424be5 Add support for obsidian to surfsense 2026-01-21 15:21:06 -08:00
Anish Sarkar
112f6ec4cc refactor: remove archived functionality from notifications and related components
- Removed the archived column from the Notification model and database schema, simplifying the notification structure.
- Deleted ArchiveRequest and ArchiveResponse models, along with associated API endpoints for archiving notifications.
- Updated InboxSidebar and related components to eliminate archiving functionality, streamlining the user experience.
- Adjusted filtering logic in the InboxSidebar to focus solely on unread notifications, enhancing clarity and usability.
2026-01-21 22:47:39 +05:30
CREDO23
73ff261194 Add raw message/comment types and reduce members stale time 2026-01-21 17:58:17 +02:00
Anish Sarkar
22b2d6e400 feat: add archived column to notifications and implement archiving functionality
- Introduced an archived boolean column in the notifications table to allow users to archive inbox items without deletion.
- Updated Notification model to include the archived field with default value.
- Added ArchiveRequest and ArchiveResponse models for handling archive/unarchive operations.
- Implemented API endpoint to archive or unarchive notifications, ensuring real-time updates with Electric SQL.
- Enhanced InboxSidebar to filter and display archived notifications appropriately.
2026-01-21 20:34:58 +05:30
Anish Sarkar
93aa1dcf3c feat: implement inbox sidebar for enhanced user notifications
- Introduced a new InboxSidebar component to manage and display inbox items.
- Integrated real-time syncing of inbox items using Electric SQL for instant updates.
- Added functionality to mark items as read, archive/unarchive, and filter inbox content.
- Updated existing components to accommodate the new inbox feature, including layout adjustments and state management.
- Enhanced user experience with improved navigation and interaction for inbox items.
2026-01-21 19:43:20 +05:30
CREDO23
6a31e79ede Add chat session state types for live collaboration 2026-01-20 16:52:18 +02:00
Anish Sarkar
96701a9f01 feat: enhance chat comment notifications with author details
- Added author_avatar_url and author_email to comment creation and reply functions for improved metadata.
- Updated MentionNotificationHandler to include author details in notifications.
- Enhanced NotificationPopup to display author's avatar with initials fallback for mentions.
- Updated notification types to accommodate new author fields.
2026-01-20 20:05:37 +05:30
Anish Sarkar
a536ad1590 Merge remote-tracking branch 'upstream/dev' into fix/ui-mcp 2026-01-20 11:39:45 +05:30
DESKTOP-RTLN3BA\$punk
9625a24475 feat: support multiple transport types for MCP server connections, including stdio and HTTP 2026-01-19 17:44:19 -08:00
Anish Sarkar
af0349e36c chore: ran frontend linting 2026-01-20 03:30:12 +05:30
CREDO23
7b170dfa75 feat: add new_mention notification type with metadata schema 2026-01-19 17:31:17 +02:00
CREDO23
47fbc83d48 Merge branch 'dev' into sur-90-feat-comments-in-chats 2026-01-19 14:49:10 +02:00
Anish Sarkar
48603b993d feat: Update MCP connector icon and UI styling 2026-01-19 17:59:06 +05:30
Rohan Verma
26ef83fbaa
Merge pull request #707 from AnishSarkar22/fix/mentions
feat: Revamped search in document mentions
2026-01-18 22:15:28 -08:00
Anish Sarkar
b001b65067 feat: add pg_trgm indexes and lightweight document title search
- Introduced pg_trgm extension and GIN trigram indexes for efficient document title searches, enhancing performance for mention picker functionality.
- Implemented a new API endpoint for lightweight document title searches, returning only essential fields.
- Updated frontend components to utilize the new title search feature with throttling for improved user experience.
- Added necessary schemas and types for the new search functionality.
2026-01-17 20:45:10 +05:30
Manoj Aggarwal
11b160cee9 resolve conflicts 2026-01-16 15:39:57 -08:00
Manoj Aggarwal
4c07c0fe4f change the flow of mcp connectors 2026-01-16 14:39:44 -08:00
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
CREDO23
80e19a52cb refactor: remove read tracking from mentions (prep for notification center) 2026-01-16 19:15:10 +02:00
CREDO23
47de91e07b feat: add display name and avatar to member picker, filter self-mentions 2026-01-16 15:53:33 +02:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
CREDO23
37612f588a feat(web): add chat comments types 2026-01-15 19:44:28 +02:00
Manoj Aggarwal
c78ea98a68 Add front end logic for MCP connectors 2026-01-14 14:01:23 -08:00
Manoj Aggarwal
792548b379 feat: add MCP connector frontend UI and integration 2026-01-14 14:01:22 -08:00
Anish Sarkar
2e0f742000 Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-15 03:07:20 +05:30
CREDO23
f9a7b3875a add UpdateUserRequest and UpdateUserResponse schemas 2026-01-14 15:38:58 +02:00
CREDO23
9d3c6f0ee1 show user avatar in sidebar when available 2026-01-14 15:22:24 +02:00
Anish Sarkar
5bd6bd3d67 chore: ran both frontend and backend linting 2026-01-14 02:05:40 +05:30
Anish Sarkar
99bd2df463 Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-14 02:04:54 +05:30
Anish Sarkar
12671ede0e feat: Enhance document processing notifications and refactor related services
- Introduced a new DocumentProcessingNotificationHandler to manage notifications for document processing stages.
- Updated existing notification methods to include detailed progress updates for various stages (queued, parsing, chunking, embedding, storing, completed, failed).
- Refactored NotificationService to support the new document processing notification type and metadata schema.
- Updated multiple document processing tasks to create and manage notifications throughout the processing lifecycle.
- Adjusted UI components to reflect changes in notification types and improve user experience during document uploads and processing.
2026-01-13 19:09:12 +05:30
Anish Sarkar
59a8ef5d64 refactor: Remove deprecated create_connector_indexed_notification method and add notification types
- Removed the deprecated create_connector_indexed_notification method from NotificationService.
- Introduced new notification types and schemas in notification.types.ts to standardize notification handling.
- Updated useNotifications hook to utilize the new notification type definitions.
2026-01-13 17:21:00 +05:30
DESKTOP-RTLN3BA\$punk
d140f6393e feat: implement leave search space functionality for non-owners and update related UI components 2026-01-13 02:06:35 -08:00
CREDO23
c579d773a9 feat: add search filtering for SurfSense docs mentions and handle zero-width spaces in citations 2026-01-13 09:41:25 +02:00
CREDO23
cd3677b5fa feat: add SurfSense docs mention support in chat 2026-01-13 06:14:58 +02:00