Commit graph

170 commits

Author SHA1 Message Date
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
d35d89f3a9 chore: ran linting 2026-01-21 03:28:34 +05:30
Anish Sarkar
5a95a6b543 feat: Add documentation link to GitHub connect form
- Replaced the removed Accordion component with a direct link to the GitHub connector documentation.
- Enhanced user experience by providing easy access to relevant documentation.
2026-01-21 01:21:25 +05:30
Anish Sarkar
8bd1ba0251 refactor: Simplify GitHub connect form by removing unused components and documentation sections 2026-01-21 00:21:21 +05:30
Anish Sarkar
6dd535c85a fix: Clean up GitHub connector UI and documentation
- Removed unnecessary period from the GitHub connect form alert description.
- Moved helper functions for string and array conversion outside the component to avoid useEffect dependency issues.
- Updated the GitHub connector documentation to provide detailed indexing information and troubleshooting tips for users.
2026-01-21 00:19:17 +05:30
Anish Sarkar
35888144eb refactor: Update GitHub connector to use gitingest CLI
- Refactored GitHubConnector to utilize gitingest CLI via subprocess, improving performance and avoiding async issues with Celery.
- Updated ingestion method to handle repository digests more efficiently, including error handling for subprocess execution.
- Adjusted GitHub indexer to call the new synchronous ingestion method.
- Clarified documentation regarding the optional nature of the Personal Access Token for public repositories.
2026-01-20 23:24:33 +05:30
Anish Sarkar
49b8a46d10 feat: Integrate gitingest for GitHub repository ingestion
- Added gitingest as a dependency to streamline the ingestion of GitHub repositories.
- Refactored GitHubConnector to utilize gitingest for efficient repository digest generation, reducing API calls.
- Updated GitHub indexer to process entire repository digests, enhancing performance and simplifying the indexing process.
- Modified GitHub connect form to indicate that the Personal Access Token is optional for public repositories.
2026-01-20 21:52:32 +05:30
DESKTOP-RTLN3BA\$punk
d96ae66012 chore: linting 2026-01-20 00:32:31 -08:00
Anish Sarkar
e65d9fa1db chore: ran linting 2026-01-20 11:50:17 +05:30
Anish Sarkar
0c3307fabb fix: use keyboard smoothly while editing the MCP json 2026-01-20 11:49:24 +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
31b5004984 refactor: improve MCPConfig component structure and validation logic 2026-01-20 03:38:53 +05:30
Anish Sarkar
af0349e36c chore: ran frontend linting 2026-01-20 03:30:12 +05:30
Anish Sarkar
f0997b0a30 chore: ran frontend linting 2026-01-19 21:23:22 +05:30
Anish Sarkar
5f672a07f2 refactor: enhance MCP connection forms and account list styling
- Updated MCPConnectForm and MCPConfig to improve layout and responsiveness.
- Adjusted text sizes and spacing for better readability across different screen sizes.
- Enhanced button labels for clarity when showing or hiding details.
- Improved styling for the ConnectorAccountsListView to ensure consistent appearance and user experience.
2026-01-19 20:41:26 +05:30
Anish Sarkar
0f3e1b118d fix: revert back the alert when clicking "Test Connection" button when adding an MCP, remove toast 2026-01-19 20:21:02 +05:30
Anish Sarkar
72ad558240 refactor: consolidate MCP connector handling in UI components
- Replaced MCPConnectorListView with ConnectorAccountsListView for better integration and UI consistency.
- Updated ConnectorCard to display connector counts for MCP connectors.
- Enhanced MCPConnectForm to improve connection testing feedback and error handling.
- Streamlined MCPConfig validation logic and improved user feedback for configuration errors.
- Adjusted AllConnectorsTab to count and display MCP connectors accurately.
- Removed redundant MCP-specific components to simplify the codebase.
2026-01-19 19:50:07 +05:30
Anish Sarkar
48603b993d feat: Update MCP connector icon and UI styling 2026-01-19 17:59:06 +05:30
Rohan Verma
87a174a1fd
Merge pull request #706 from AnishSarkar22/fix/drive-index
feat: enhance Google Drive indexing
2026-01-18 22:15:03 -08:00
Manoj Aggarwal
f9a8371852 add some caching and json validation using zod 2026-01-17 09:29:34 -08:00
Anish Sarkar
e0be1b9133 chore: ran backend and frontend linting 2026-01-17 16:30:07 +05:30
Anish Sarkar
6550c378b2 feat: enhance Google Drive document handling and UI integration
- Implemented support for both new file_id-based and legacy filename-based hash schemes in document processing.
- Added functions to generate unique identifier hashes and find existing documents with migration support.
- Improved existing document update logic to handle content changes and metadata updates, particularly for Google Drive files.
- Enhanced UI components to display appropriate file icons based on file types in the Google Drive connector.
- Updated document processing functions to accommodate the new connector structure and ensure seamless integration.
2026-01-17 14:57:31 +05:30
Anish Sarkar
7af3d1bc1a feat: improve Google Drive connector handling and UI feedback
- Added logic to refresh connector and notification attributes after indexing to ensure up-to-date information.
- Enhanced periodic sync configuration to disable the option when no folders or files are selected for Google Drive, providing user feedback through a message.
- Updated the connector edit view to reflect the new disabled state for periodic sync based on selected items.
- Implemented validation in the connector dialog to prevent enabling periodic sync without selected items, improving user experience.
2026-01-17 12:59:18 +05:30
Anish Sarkar
a3112a24fe feat: enhance Google Drive indexing with new options
- Updated the Google Drive indexing functionality to include indexing options such as max files per folder, incremental sync, and inclusion of subfolders.
- Modified the API to accept a new 'indexing_options' parameter in the request body.
- Enhanced the UI to allow users to configure these options when selecting folders and files for indexing.
- Updated related components and tasks to support the new indexing options, ensuring a more flexible and efficient indexing process.
2026-01-17 12:33:57 +05:30
Manoj Aggarwal
18ce599c81 fix electric fallback 2026-01-16 16:13:20 -08:00
Manoj Aggarwal
11b160cee9 resolve conflicts 2026-01-16 15:39:57 -08:00
Manoj Aggarwal
69badbceab remove redundant code and make modular 2026-01-16 15:29:05 -08:00
Manoj Aggarwal
d33e9aa63a remove unnecessary props 2026-01-16 15:15:34 -08:00
Manoj Aggarwal
1ad81583c0 fix errors 2026-01-16 15:11:01 -08:00
Manoj Aggarwal
1340121d5e nit 2026-01-16 15:02:44 -08:00
Manoj Aggarwal
4c07c0fe4f change the flow of mcp connectors 2026-01-16 14:39:44 -08:00
Manoj Aggarwal
ab0582cb1d Add logic to make the toast dynamic 2026-01-16 12:13:58 -08:00
Manoj Aggarwal
485c9dc4e4 remove active from connector tile if mcp server 2026-01-16 12:08:18 -08:00
Manoj Aggarwal
ab9565dcec make the count of connectors consistent with number of servers 2026-01-16 12:05:13 -08:00
Manoj Aggarwal
be0e840333 consolidate list of mcp tools in the success box 2026-01-16 11:44:10 -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
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
Anish Sarkar
4281e6f15d refactor: update ActiveConnectorsTab and ChatShareButton components for improved UI
- Adjusted styling in ActiveConnectorsTab to enhance visual clarity by modifying the Cable component's class.
- Removed unnecessary elements from ChatShareButton to streamline the UI and updated the loading text for consistency.
2026-01-15 22:44:02 +05:30
Anish Sarkar
4cde2218b4 chore: ran linting 2026-01-15 17:19:09 +05:30
Anish Sarkar
351f6eb23d refactor: optimize connector status hook and update class name for deprecated status
- Refactored `useConnectorStatus` hook to utilize `useCallback` for improved performance.
- Updated class name for the deprecated status badge to maintain consistency in styling.
2026-01-15 16:56:58 +05:30
Manoj Aggarwal
5c22238c10 minor changes 2026-01-14 14:01:23 -08: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
df0f488258 fix: UI while indexing 2026-01-14 15:36:16 +05:30
Anish Sarkar
5bd6bd3d67 chore: ran both frontend and backend linting 2026-01-14 02:05:40 +05:30
Anish Sarkar
34230bdb84 refactor: Enhance connector form submission and tooltip styling
- Updated the handleSubmitConnectForm function to accept an additional parameter for indexing start notification, improving the connector form submission process.
- Adjusted tooltip styling across various components for consistency and improved visual clarity.
- Simplified conditional rendering in ActiveConnectorsTab and ConnectorAccountsListView to enhance UI responsiveness during indexing operations.
2026-01-13 21:58:11 +05:30
Anish Sarkar
0e0aec13f3 refactor: Update indexing status display in connector components
- Replaced the previous "Syncing..." text with a more concise "Syncing" in various components to enhance clarity.
- Adjusted the UI to maintain consistent styling and improve user experience during indexing operations.
- Simplified conditional rendering for indexing status across ConnectorCard, ActiveConnectorsTab, and ConnectorAccountsListView components.
2026-01-13 21:17:17 +05:30
Anish Sarkar
f250fa177a feat: Implement real-time indexing state management for connectors
- Introduced a new custom hook, useIndexingConnectors, to track indexing states of connectors without polling.
- Updated ConnectorIndicator and related components to utilize the new indexing state management, enhancing user experience with immediate feedback during indexing.
- Removed deprecated log summary references and replaced them with real-time updates from Electric SQL.
- Adjusted UI components to reflect changes in indexing status, improving clarity and responsiveness.
2026-01-13 20:53:30 +05:30