Commit graph

822 commits

Author SHA1 Message Date
Rohan Verma
504ecf52d5
Merge pull request #675 from CREDO23/sur-73-impr-implement-new-main-app-ux
[Refactor] Implement new main app UX
2026-01-10 14:00:17 -08:00
CREDO23
8255d158a8 Merge branch 'dev' into sur-73-impr-implement-new-main-app-ux 2026-01-09 21:50:41 +02:00
Anish Sarkar
180fff7105 feat: enhance connector card and status badge with tooltip support
- Added tooltip functionality to `ConnectorCard` for displaying status messages on disabled or maintenance connectors.
- Updated `ConnectorStatusBadge` to show status messages in tooltips for warning statuses, improving user feedback.
- Refactored rendering logic to ensure tooltips are displayed appropriately based on connector status.
2026-01-09 23:38:38 +05:30
Anish Sarkar
b0043b6446 refactor: streamline connector status handling and remove warnings
- Removed the warning message handling from `useConnectorStatus` and related components to simplify status management.
- Updated `ConnectorCard` and `ConnectorAccountsListView` to eliminate warning displays, focusing on status messages instead.
- Adjusted the connector status configuration to remove warning properties, enhancing clarity and reducing complexity.
2026-01-09 23:30:33 +05:30
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
CREDO23
532f0039d5 merge dev 2026-01-09 15:12:31 +02:00
CREDO23
101dd5745c merge dev 2026-01-09 15:00:15 +02:00
CREDO23
a5d47cae31 Merge remote-tracking branch 'upstream/dev' into sur-70-feature-streamline-onboarding-auto-create-default-workspace 2026-01-09 14:56:41 +02:00
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
DESKTOP-RTLN3BA\$punk
2e8d3fd721 feat: updated logo 2026-01-08 23:03:43 -08:00
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
CREDO23
d689a8728a fix: query key caching for threads 2026-01-08 19:11:26 +02:00
CREDO23
16c94d1c47 chore: remove old sidebar components 2026-01-08 19:11:18 +02:00
CREDO23
a919f8d9ee feat: add new layout system (Slack/ClickUp inspired) 2026-01-08 19:10:40 +02:00
DESKTOP-RTLN3BA\$punk
a6200ee3a2 chore: linting 2026-01-07 19:10:53 -08:00
DESKTOP-RTLN3BA\$punk
48fc70a08b chore: cleanup 2026-01-07 19:07:06 -08:00
DESKTOP-RTLN3BA\$punk
73eeb555b2 refactor: update launch configurations and enhance HeroSection with Google login functionality 2026-01-07 17:46:38 -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
5151ba381e use hard navigation on login and logout to clear state 2026-01-07 18:13:31 +02:00
CREDO23
348898b08b check search space access before redirect 2026-01-07 17:22:57 +02: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
Rohan Verma
3ecd4eb320
Merge pull request #668 from AnishSarkar22/feature/guided-intro
feat: Onboarding tour for new users
2026-01-06 21:09:11 -08:00
Anish Sarkar
9f48f22d28 feat: enhance onboarding tour user ID tracking
- Added logic to track previous user ID to detect changes and reset tour state accordingly.
- Updated localStorage checks to ensure the onboarding tour is displayed only for new users who haven't seen it.
- Improved validation logic to prevent auto-marking the tour as seen if the user has existing data.
2026-01-07 01:43:11 +05:30
Anish Sarkar
6939eb975d chore: ran frontend lint 2026-01-06 23:03:51 +05:30
Anish Sarkar
e08eb7920c fix: update the content for document 2026-01-06 23:01:28 +05:30
Anish Sarkar
933917d8fd feat: enhance onboarding tour logic and data handling
- Integrated user data fetching and validation to determine if the onboarding tour should be displayed.
- Improved checks for user status by evaluating threads, documents, and connectors to identify new users.
- Added localStorage management to track whether users have completed or skipped the tour.
- Refactored the tour initiation logic to ensure it only runs when all necessary data is loaded and available.
2026-01-06 22:59:40 +05:30
Anish Sarkar
0621304fbd refactor: enhance onboarding tour UI and functionality
- Updated tooltip and spotlight styles for improved visibility and animation.
- Adjusted background and text colors based on dark mode settings for better user experience.
- Introduced animation for tooltip content changes to enhance user engagement.
- Refactored rendering logic to ensure spotlight updates sync with tooltip animations.
2026-01-06 22:43:59 +05:30
Anish Sarkar
e46a0e0a95 fix: improve onboarding tour functionality and UI
- Updated onboarding tour messages to include Gmail and Drive for better clarity.
- Refactored Spotlight component to enhance element targeting and prevent flickering.
- Optimized rendering logic for Spotlight and TourTooltip to ensure they only display when target data is available.
2026-01-06 22:14:11 +05:30
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
DESKTOP-RTLN3BA\$punk
929bc026e6 refactor: remove react-markdown dependency and enhance document editing logic
- Removed the react-markdown dependency from package.json and pnpm-lock.yaml.
- Introduced a constant for editable document types in RowActions component to streamline edit functionality.
- Updated RowActions to conditionally render edit options based on document type, improving user experience.
2026-01-06 03:09:49 -08:00
Anish Sarkar
c7c5caf559 chore: ran both frontend and backend linting 2026-01-06 15:49:31 +05:30