Commit graph

537 commits

Author SHA1 Message Date
CREDO23
6b1317435a fix: remove hardcoded limit in query params 2025-12-29 17:23:31 +02:00
DESKTOP-RTLN3BA\$punk
35904ba0c8 Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2025-12-28 15:54:10 -08:00
DESKTOP-RTLN3BA\$punk
46eb63fa11 hotpatch: remove consitent 2 sec interval api call to logs summary endpoint 2025-12-28 15:52:58 -08:00
Anish Sarkar
747b6f23c7 fix: red background appeared when blocknote editor is being loaded 2025-12-29 01:42:08 +05:30
Anish Sarkar
8b534c9b68 style: Refine UI element sizes, spacing, and responsiveness across settings components for improved user experience 2025-12-29 01:22:22 +05:30
Anish Sarkar
ed6470525a feat: Enhance mobile navbar animations and responsiveness across various components 2025-12-29 00:24:49 +05:30
Anish Sarkar
5bd26ab669 style: enhance responsive layout, add UI transitions, and refine form elements on authentication pages 2025-12-29 00:11:21 +05:30
Anish Sarkar
dee18233c5 feat: Implement responsive design for dashboard layout and user dropdown, and remove unused imports. 2025-12-29 00:06:38 +05:30
Anish Sarkar
1d5ee45bd9 style: Adjust UI element and text sizes for improved responsiveness and visual consistency across various components. 2025-12-28 23:59:01 +05:30
CREDO23
27beac4f62 fix: Google Drive folder handling and connector page updates 2025-12-28 19:57:10 +02:00
Anish Sarkar
3bea989868 feat: implement responsive row action dropdowns and enhance mobile sidebar navigation 2025-12-28 23:25:22 +05:30
CREDO23
10c98745cd refactor(web): use React Query for Google Drive folder operations
- Fix errors in connectors-api.service (use .issues instead of .errors)
- Create useGoogleDriveFolders hook with proper React Query integration
- Add Google Drive folders cache keys with proper query invalidation
- Refactor GoogleDriveFolderTree to use React Query hook for root data
- Remove manual state management (isInitialized, setRootItems, loadRootItems)
- Remove unused state (driveFolders, isLoadingFolders) from manage page
- Simplify handleOpenDriveFolderDialog function
- Automatic loading, caching, error handling, and refetching via React Query
- Better performance with proper caching and state management
2025-12-28 19:17:37 +02:00
CREDO23
c5c61a2c6b Merge branch 'dev' into google-drive-connector
Merge in dev
2025-12-28 19:00:09 +02:00
Anish Sarkar
446abc239b fix: now document processing UI banner does not show for periodic reindexing documents 2025-12-28 21:19:20 +05:30
CREDO23
27a4bcdfc2 feat(ui): support multiple folder selection in Google Drive indexing
- Update manage page to handle array of selected folders
- Add info icon with clear description about folder-level indexing
- Display list of all selected folders before indexing
- Remove unnecessary file type details section
- Pass comma-separated folder IDs and names to backend
2025-12-28 16:48:56 +02:00
CREDO23
c4a95ecc02 feat(ui): integrate Google Drive folder selection into manage connectors page
- Add folder selection dialog for Google Drive indexing
- Hide date picker and quick index for Google Drive
- Show folder tree browser in modal
- Pass selected folder to indexing API
- Adjust modal size to prevent overflow
2025-12-28 16:04:58 +02:00
CREDO23
ad4d424d38 feat(ui): add Google Drive OAuth connection page
- Handle OAuth flow similar to Gmail/Calendar
- Show connection status and redirect to manage page
- Display connector features and file type support
- No folder selection at connection time (done at index time)
2025-12-28 16:04:58 +02:00
DESKTOP-RTLN3BA\$punk
f2df655469 chore: Remove unused dependency '@next/third-parties' from package.json and pnpm-lock.yaml, and clean up related code in layout.tsx 2025-12-27 14:29:52 -08:00
DESKTOP-RTLN3BA\$punk
528c59ce58 chore: linting 2025-12-27 13:44:23 -08:00
Anish Sarkar
74f17f61ec feat: Enhance agent system prompt with write_todos examples, and apply minor code formatting across connector pages and hooks. 2025-12-28 01:41:27 +05:30
Anish Sarkar
8b10b0cd24 feat: Display document reindexing status in the sidebar by adding document ID to logs 2025-12-28 01:07:42 +05:30
Anish Sarkar
ae4ee9ab70 Merge remote-tracking branch 'upstream/dev' into fix/chatpage-ux 2025-12-27 19:48:13 +05:30
Anish Sarkar
a956b5ff87 feat: Introduce document processing indicator UI, update localization. 2025-12-27 19:09:42 +05:30
Anish Sarkar
65dc97df99 feat: updated routes 2025-12-27 19:03:46 +05:30
Anish Sarkar
7ad232dbbe feature: added refresh button in manage documents page with translation 2025-12-27 18:37:30 +05:30
Rohan Verma
2c2ae40274
Merge pull request #594 from CREDO23/feat/add-jotai-tanstack-connectors
[Feat] Connectors| Add jotai & tanstack
2025-12-26 21:43:11 -08:00
CREDO23
640d765d90 feat: migrate get logs handler 2025-12-26 19:06:09 +02:00
CREDO23
864ebeea9c user mutation atoms 2025-12-26 18:38:12 +02:00
CREDO23
f74a4a5662 fix: fix backward compatibility in web crawler connector page 2025-12-26 15:26:05 +02:00
CREDO23
7d686e30b5 fix: fix backward compatibility in web crawler connector page 2025-12-26 15:19:21 +02:00
CREDO23
1c197f8f57 fix: fix backward compatibility in luma connector page 2025-12-26 15:13:45 +02:00
CREDO23
5984696b7e fix: fix backward compatibility in google gmail connector page 2025-12-26 15:09:58 +02:00
CREDO23
939ac63d0e fix: fix backward compatibility in google calendar connector page 2025-12-26 15:08:44 +02:00
CREDO23
6cccd48797 fix: fix backward compatibility in airtable connector page 2025-12-26 15:01:26 +02:00
CREDO23
f05a313d73 Merge upstream/dev and accept upstream deletions 2025-12-26 14:50:52 +02:00
Anish Sarkar
ebc04f590e refactor: improve write_todos tool and UI components
- Refactored the write_todos tool to enhance argument and result schemas using Zod for better validation and type safety.
- Updated the WriteTodosToolUI to streamline the rendering logic and improve loading states, ensuring a smoother user experience.
- Enhanced the Plan and TodoItem components to better handle streaming states and display progress, providing clearer feedback during task management.
- Cleaned up code formatting and structure for improved readability and maintainability.
2025-12-26 17:49:56 +05:30
Anish Sarkar
2cb5ce3aa9 Merge remote-tracking branch 'upstream/dev' into fix/chatpage-ux 2025-12-26 15:07:15 +05:30
Anish Sarkar
5c68820c2a refactor: enhance chat and tool UI with improved streaming and error handling
- Updated NewChatPage to persist partial responses when requests are cancelled by the user.
- Enhanced WriteTodosToolUI to check if the thread is running, improving the display of loading states and error handling.
- Modified Plan and TodoItem components to conditionally animate in-progress items based on streaming status, providing a clearer user experience during task management.
2025-12-26 15:01:22 +05:30
Anish Sarkar
eb70c055a4 refactor: introduce write_todos tool for enhanced task management
- Added a new write_todos tool to facilitate the creation and management of planning lists within the chat interface.
- Updated system prompt with detailed instructions on using the write_todos tool, including usage patterns and restrictions.
- Enhanced the chat message handling to support the new tool, ensuring proper integration and user experience.
- Implemented UI components for displaying and interacting with the planning lists, including progress tracking and status indicators.
2025-12-26 14:37:23 +05:30
Anish Sarkar
1dd740bb23 refactor: enhance chat functionality with new tools and attachment handling
- Updated system prompt to clarify usage of the display_image tool, emphasizing valid URL requirements and prohibiting user-uploaded image displays.
- Introduced write_todos tool for creating and updating planning lists, with detailed usage instructions and examples.
- Enhanced message handling to persist attachments and mentioned documents, ensuring they survive page reloads.
- Improved UI components to integrate the new write_todos tool and ensure consistent user experience across chat interactions.
2025-12-26 11:38:32 +05:30
DESKTOP-RTLN3BA\$punk
518958e9a7 feat: added posthog 2025-12-25 13:53:41 -08:00
Anish Sarkar
287fc236ad refactor: enhance chat functionality with query invalidation and navigation improvements
- Integrated useQueryClient from React Query to manage query invalidation for threads, ensuring real-time updates in the sidebar when a new chat is created or a thread is deleted.
- Updated the AllChatsSidebar to close the sidebar and navigate to the new chat page if the currently open chat is deleted.
- Improved error handling and user experience during thread deletion by ensuring the sidebar closes smoothly before redirection.
2025-12-26 03:11:49 +05:30
DESKTOP-RTLN3BA\$punk
d9e6947fbd Revert "feat: added posthog"
This reverts commit c96be7d9e1.
2025-12-25 13:37:35 -08:00
DESKTOP-RTLN3BA\$punk
c96be7d9e1 feat: added posthog 2025-12-25 13:25:13 -08:00
Anish Sarkar
9bc3f193c3 refactor: improve type safety in document extraction and UI components
- Introduced Zod schemas for type-safe parsing of mentioned document information in chat messages.
- Updated the extractMentionedDocuments function to utilize the new schemas for better validation.
- Made the 'alt' property optional in image-related components for improved flexibility and fallback handling.
2025-12-26 00:18:47 +05:30
Anish Sarkar
46bb52a444 chore: run biome lints 2025-12-25 19:32:18 +05:30
Anish Sarkar
ee5d14c86c refactor: improve type safety and structure in editor page
- Updated BlockNote document handling by defining TypeScript types for better clarity and maintainability.
- Refactored extractTitleFromBlockNote function to utilize the new types, enhancing type safety.
- Changed state management for editorContent to use the defined BlockNoteDocument type.
- Adjusted layout classes for improved responsiveness and visual consistency in the editor interface.
2025-12-25 19:28:46 +05:30
Anish Sarkar
9e7f8d7fe3 feat: enhance chat functionality with improved attachment handling and user experience
- Updated system prompt to clarify usage of the display_image tool, emphasizing URL requirements and restrictions on user-uploaded images.
- Enhanced the streaming chat process to provide more context about user attachments and documents during analysis.
- Implemented state resets when switching between chats to prevent stale data and race conditions.
- Added new components for displaying image previews and document attachments in the chat interface.
- Improved attachment processing to support image data URLs for persistent display after uploads.
2025-12-25 17:52:48 +05:30
Anish Sarkar
bf22156664 refactor: update navigation and chat initialization logic
- Changed navigation from researcher to new-chat in EditorPage.
- Updated NewChatPage to support lazy thread creation on first message.
- Adjusted breadcrumb to not display thread ID for new-chat sections.
- Improved user experience by modifying error messages and loading states.
- Enhanced styling in model-selector component for better visibility.
2025-12-25 12:18:45 +05:30
DESKTOP-RTLN3BA\$punk
2603db74eb feat: released 0.0.9 changelog 2025-12-24 18:03:22 -08:00