Commit graph

279 commits

Author SHA1 Message Date
Anish Sarkar
207595bb33 refactor: enhance connector card and status badge components
- Updated `ConnectorCard` to prioritize displaying status messages over indexed dates and warnings.
- Modified `ConnectorStatusBadge` to use a span instead of a div for better inline flexibility.
- Adjusted styles in `ConnectorAccountsListView` for improved layout and spacing.
- Cleaned up example status messages in the configuration file for clarity.
2026-01-09 23:16:00 +05:30
CREDO23
abd3bace53 feat: add frontend support for surfsense docs citations 2026-01-09 18:21:59 +02:00
Anish Sarkar
924d18896a feat: implement connector status management and warnings, ran frontend linting
- Added a new hook `useConnectorStatus` to manage connector status information.
- Introduced `ConnectorStatusBadge` and `ConnectorWarningBanner` components for displaying status and warnings.
- Updated `ConnectorCard` and `ConnectorAccountsListView` to utilize the new status management features, including conditional rendering based on connector status and warnings.
- Created a configuration file for connector statuses to streamline status management across the application.
2026-01-09 18:55:50 +05:30
Anish Sarkar
61560e5d4f chore: ran frontend linting 2026-01-09 18:22:54 +05:30
Anish Sarkar
b17cb40732 feat: enhance connector dialog and accounts list view
- Added state management to track if the user came from the accounts list when entering edit mode in the connector dialog.
- Updated the back navigation logic to restore the accounts list view if applicable.
- Improved the UI of the accounts list view with a new back button and enhanced connector header layout for better user experience.
2026-01-09 17:11:47 +05:30
Anish Sarkar
e21bc8086a Merge remote-tracking branch 'upstream/dev' into fix/index-future-date 2026-01-09 13:24:38 +05:30
Anish Sarkar
4aeb05e2e5 feat: allow future dates for Google Calendar and Luma connectors
- Updated date handling in indexing functions to permit future dates for Google Calendar and Luma connectors.
- Enhanced UI components to support future date selection, including a new button for selecting the next 30 days.
- Adjusted documentation and descriptions to clarify date range options for users.
2026-01-09 13:20:12 +05:30
Rohan Verma
8a2715e549
Merge pull request #679 from manojag115/feat/ms-teams-connector
Add Microsoft Teams Connector
2026-01-08 20:27:51 -08:00
DESKTOP-RTLN3BA\$punk
dfaa0cef21 chore: linting 2026-01-08 13:11:58 -08:00
DESKTOP-RTLN3BA\$punk
789197d41c feat: updated sitemap, added more posthog events & added new changelog
- Implemented a function to return the current hour for lastModified timestamps in the sitemap.
- Added multiple new URLs to the sitemap, including documentation and connector pages.
- Integrated tracking for search space invite events, including sent, accepted, declined, and user added events.
- Enhanced connector management with tracking for connection, deletion, and indexing events.
2026-01-08 13:10:48 -08:00
Manoj Aggarwal
73a9dccefc Add teams connector similar to slack 2026-01-07 15:15:49 -08:00
Rohan Verma
fabbae2b48
Merge pull request #670 from AnishSarkar22/fix/connector
feat: Clickup OAuth Connector, fixed Airtable OAuth Connector
2026-01-07 12:39:41 -08:00
Rohan Verma
b53ea565db
Merge pull request #669 from CREDO23/sur-66-feature-support-multiple-connectors-of-the-same-type-per
[Feature] Support multiple connectors of the same type per search space
2026-01-07 12:38:37 -08:00
CREDO23
b664547178 style: format web codebase 2026-01-07 15:20:36 +02:00
CREDO23
4de28152d5 fix: connector card UI improvements 2026-01-07 15:18:31 +02:00
CREDO23
4b3d427e90 feat: prevent duplicate OAuth account connections 2026-01-07 12:57:33 +02:00
Anish Sarkar
8b398bb9f2 Merge remote-tracking branch 'upstream/dev' into fix/connector 2026-01-07 15:16:24 +05:30
Anish Sarkar
ca46822d6d chore: ran frontend linting 2026-01-07 15:16:09 +05:30
Anish Sarkar
86af9b5a21 feat: implement ClickUp OAuth integration and connector support
- Added ClickUp OAuth authentication flow with new environment variables for client ID, client secret, and redirect URI.
- Introduced ClickUpHistoryConnector to manage OAuth-based authentication and token refresh for ClickUp API access.
- Created ClickUp connector routes for OAuth flow, including authorization and callback handling.
- Updated indexing logic to utilize the new ClickUpHistoryConnector, supporting both OAuth and legacy API token methods.
- Enhanced frontend components to reflect the new ClickUp integration and removed legacy API token forms.
2026-01-07 15:15:25 +05:30
CREDO23
3ff87a218d feat: improve connector popup with grouped OAuth connectors
Active Connectors tab:
- Group OAuth connectors by type (Gmail, Google Drive, etc.)
- Show account count badge on grouped cards
- Show most recent last indexed date across all accounts
- Show non-OAuth connectors individually with active task messages

All Connectors tab:
- Show most recent last indexed date for OAuth connector types
- Check if any account is indexing for OAuth types

Accounts List View:
- Remove document count from individual account cards
- Back button returns to previous tab (not always All Connectors)

General:
- Update handleViewAccountsList to use (connectorType, connectorTitle) signature
- Consistent behavior for viewing accounts from both tabs
2026-01-07 11:40:21 +02:00
CREDO23
9ad1348d6b feat: add connectorId support for multi-account OAuth connectors
Backend:
- Add connectorId to OAuth redirect URLs in all 10 connector routes
- Enables frontend to identify the specific connector created

Frontend:
- Update OAuth success handler to use connectorId for finding new connector
- Set connectorId in URL when transitioning to configure view
- Add connectorId support in URL sync effect for page refresh
- Consolidate handleAddAccountOAuth into handleConnectOAuth
- Update indexing config view to show connector type and display name
2026-01-07 10:54:49 +02:00
CREDO23
2508b37f4e feat: add connector accounts list view for OAuth connectors with multiple accounts
- Create ConnectorAccountsListView component to show all connected accounts for a connector type
- Add state management in use-connector-dialog for viewing connector accounts list
- Update AllConnectorsTab to show accounts list when OAuth connector is connected
- Update connector-popup.tsx to render the new accounts list view
- Add 'accounts' view to connector popup URL schema
- Display connected accounts in 2-column grid layout
- Add 'Add Account' button with dashed border in header
2026-01-07 09:28:07 +02:00
CREDO23
755f92323a fix: connector card and edit view styling 2026-01-07 08:36:55 +02:00
CREDO23
93c7b83a06 feat: show identifier-only display names in connector cards 2026-01-07 08:16:27 +02:00
Anish Sarkar
605edee033 feat: add onboarding tour component and integrate into dashboard layout
- Introduced the OnboardingTour component to guide users through key features.
- Integrated the OnboardingTour into the DashboardClientLayout for improved user experience.
- Updated connector popup and sidebar navigation with data attributes for tour steps.
2026-01-06 21:37:49 +05:30
Anish Sarkar
c7c5caf559 chore: ran both frontend and backend linting 2026-01-06 15:49:31 +05:30
Anish Sarkar
6ea6e752f6 refactor: update OAuth scopes and improve connector UI messages
- Removed unnecessary OAuth scopes for Confluence and Jira connectors to streamline authentication requirements.
- Updated the Confluence and Jira configuration components to enhance user experience by clarifying connection update instructions and improving styling for displayed URLs.
2026-01-06 15:44:43 +05:30
Anish Sarkar
5d363b8a60 feat: implement Confluence OAuth integration and connector routes
- Added support for Confluence OAuth with new environment variables for client ID, client secret, and redirect URI.
- Implemented Confluence connector routes for OAuth flow, including authorization and callback handling.
- Enhanced Confluence connector to support both OAuth 2.0 and legacy API token authentication methods.
- Updated Confluence indexing logic to utilize OAuth credentials with auto-refresh capabilities.
- Removed outdated Confluence UI components and adjusted frontend logic to reflect the new integration.
2026-01-06 13:20:22 +05:30
Anish Sarkar
982b9ceb76 feat: implement Jira OAuth integration and connector routes
- Added support for Jira OAuth with new environment variables for client ID, client secret, and redirect URI.
- Implemented Jira connector routes for OAuth flow, including authorization and callback handling.
- Enhanced Jira connector to support both OAuth 2.0 and legacy API token authentication methods.
- Updated Jira indexing logic to utilize OAuth credentials with auto-refresh capabilities.
- Removed outdated Jira UI components and adjusted frontend logic to reflect the new integration.
2026-01-06 01:01:04 +05:30
Anish Sarkar
df23813f1c feat: add Discord OAuth integration and connector routes
- Introduced Discord OAuth support with new environment variables for client ID, client secret, and redirect URI.
- Implemented Discord connector routes for OAuth flow, including authorization and callback handling.
- Enhanced Discord connector to support both OAuth-based authentication and legacy bot token usage.
- Updated Discord indexing logic to utilize OAuth credentials with auto-refresh capabilities.
- Removed outdated Discord UI components and adjusted frontend logic to reflect the new integration.
2026-01-05 14:21:39 +05:30
Anish Sarkar
0fe94bfcf3 feat: add Slack OAuth integration and connector routes
- Introduced Slack OAuth support with new environment variables for client ID, client secret, and redirect URI.
- Implemented Slack connector routes for OAuth flow, including authorization and callback handling.
- Updated configuration to support both new OAuth format and legacy token handling.
- Enhanced the Slack indexer to decrypt tokens when necessary, ensuring compatibility with existing encrypted credentials.
- Removed outdated Slack connector UI components and adjusted frontend logic to reflect the new integration.
2026-01-04 02:30:00 +05:30
Anish Sarkar
431ea44b56 feat: enhance periodic indexing configuration with detailed validation and UI options
- Updated the SearchSourceConnectorBase class to include detailed documentation on supported periodic indexing frequencies.
- Added "Every 5 minutes" option to the frequency selection in multiple connector forms (BookStack, ClickUp, Confluence, Discord, Elasticsearch, Github, Jira, Luma, Slack) to improve user experience and flexibility in scheduling.
2026-01-03 23:06:09 +05:30
Anish Sarkar
645e849d93 chore: ran both frontend and backend linting 2026-01-03 00:18:17 +05:30
Anish Sarkar
b81af397c0 feat: add Linear OAuth integration and connector routes
- Introduced Linear OAuth support with new environment variables for client ID, client secret, and redirect URI.
- Implemented Linear connector routes for OAuth flow, including authorization and callback handling.
- Updated existing components to accommodate Linear integration, including validation changes and connector configuration.
- Enhanced the Linear indexer to utilize OAuth access tokens instead of API keys.
- Adjusted UI components to reflect the new Linear connector without requiring special configuration.
2026-01-02 21:24:28 +05:30
Anish Sarkar
c5b184d475 feat: add Notion OAuth integration and connector routes
- Introduced Notion OAuth support with new environment variables for client ID, client secret, and redirect URI.
- Implemented Notion connector routes for OAuth flow, including authorization and callback handling.
- Updated existing components to accommodate Notion integration, including validation changes and connector configuration.
- Enhanced the Notion indexer to utilize OAuth access tokens instead of integration tokens.
- Adjusted UI components to reflect the new Notion connector without requiring special configuration.
2026-01-02 20:07:14 +05:30
Anish Sarkar
2b01120c2b refactor: disable write_todos functionality across chat and UI components
- Commented out the write_todos tracking and messaging logic in the stream_new_chat.py file.
- Disabled the import and usage of WriteTodosToolUI in the new-chat page component.
- Updated related logic in the active connectors tab to remove indexing state handling for write_todos.
- These changes are part of a temporary disablement of the write_todos feature for further evaluation.
2026-01-02 18:22:38 +05:30
Anish Sarkar
d576607d67 refactor: improve connector popup UI and date formatting
- Adjusted the height of the dialog content in the connector popup for better layout.
- Enhanced the last indexed date display with a new function for contextual formatting, providing clearer time references.
- Updated various text sizes for consistency across the connector card and dialog header components.
- Minor layout adjustments in the connector dialog header and active connectors tab for improved spacing.
2026-01-02 17:17:49 +05:30
Anish Sarkar
8c946dfe80 feat: enhance document upload UI with accordion functionality 2026-01-02 16:51:37 +05:30
DESKTOP-RTLN3BA\$punk
2832d57bda chore: linting 2026-01-01 22:56:37 -08:00
DESKTOP-RTLN3BA\$punk
8f37170217 chore: update documentation and environment configuration
- Added GOOGLE_DRIVE_REDIRECT_URI to .env.example for Google Drive connector OAuth.
- Updated docker-installation.mdx and manual-installation.mdx to include GOOGLE_DRIVE_REDIRECT_URI in installation instructions.
2026-01-01 22:50:29 -08:00
Anish Sarkar
43e50e90df chore: ran linting 2026-01-02 04:10:37 +05:30
Anish Sarkar
5ebb9d7aea feat: integrate document upload dialog and enhance dashboard layout
- Added DocumentUploadDialogProvider to manage document upload dialog state across components.
- Updated DashboardClientLayout to include the DocumentUploadDialogProvider for improved user experience.
- Refactored DocumentsTableShell to utilize the new dialog for file uploads instead of navigating to a separate upload page.
- Removed the deprecated upload page and streamlined document upload handling within the dialog.
- Enhanced DocumentUploadTab with improved file type handling and user feedback during uploads.
- Updated GridPattern styling for better visual consistency.
2026-01-02 04:07:13 +05:30
Anish Sarkar
aa96e08231 feat: implement search functionality in connector popup
- Added a search input in the ConnectorDialogHeader to filter active connectors based on user input.
- Enhanced the ActiveConnectorsTab to filter displayed connectors and document types according to the search query.
- Introduced a clear search button for improved user experience when managing connectors.
2026-01-02 01:23:04 +05:30
Anish Sarkar
afe4254f74 refactor: reorganize connector tab layout and improve component logic
- Swapped the sections for "Content Sources" and "More Integrations" in the AllConnectorsTab for better clarity.
- Streamlined the mapping logic for filtered connectors and crawlers, enhancing readability and maintainability.
- Updated the AppSidebar to replace the workspace switch icon for improved visual consistency.
- Modified the submit button text in the localization file for better clarity in user actions.
2026-01-02 01:17:53 +05:30
Anish Sarkar
3227c6c043 refactor: enhance styling and layout of connector edit view
- Adjusted padding and height properties for action buttons in the connector edit view to improve UI consistency and usability.
- Ensured that button sizes are uniform across different screen sizes for a better user experience.
2026-01-01 23:24:34 +05:30
Anish Sarkar
95878368c8 chore: ran frontend linting 2026-01-01 22:24:42 +05:30
Anish Sarkar
f9a10c1e0d refactor: enhance Circleback connector configuration and simplify sidebar components
- Introduced Zod schema for type-safe validation of Circleback webhook info, improving data handling in the CirclebackConfig component.
- Updated the CirclebackConfig to utilize the new schema for fetching and setting webhook information.
- Removed unnecessary state management related to source expansion in the sidebar components, streamlining the NavMain, NavChats, and NavNotes components.
- Improved overall code clarity and maintainability by eliminating unused imports and props.
2026-01-01 22:17:03 +05:30
Anish Sarkar
5f76844992 refactor: update dashboard layout and enhance Circleback connector configuration
- Modified the DashboardLayout to replace the "Sources" section with a "Documents" entry, improving navigation clarity.
- Updated the CirclebackConfig component to include an Info icon for configuration instructions and adjusted the webhook URL input to be disabled for better user experience.
- Enhanced the useConnectorDialog hook to handle non-indexable connectors more effectively, ensuring proper state management and user feedback.
- Improved icon mapping in the app sidebar for consistency across components.
2026-01-01 22:08:20 +05:30
Anish Sarkar
3ae8fe3a7e refactor: simplify connector management and update dashboard layout
- Removed the Connectors management page and integrated its functionality into a popup for better user experience.
- Updated the DashboardLayout to reflect changes in navigation, removing references to the Connectors page.
- Streamlined the breadcrumb component by eliminating unnecessary connector-related sections.
- Enhanced the ConnectorIndicator to facilitate easier access to connector management features.
- Improved overall UI consistency and accessibility across the dashboard components.
2026-01-01 21:41:31 +05:30
Anish Sarkar
b909032e32 feat: enhance Google Drive connector functionality and UI
- Added support for selecting both folders and files in the Google Drive connector configuration.
- Updated the UI to reflect the selection of files alongside folders, improving user clarity.
- Introduced a quick indexing feature for connectors, allowing users to start indexing without date selection.
- Adjusted periodic sync settings to be disabled for Google Drive connectors, ensuring proper functionality.
- Improved styling and accessibility across various components in the connector popup.
2026-01-01 21:22:34 +05:30