Commit graph

815 commits

Author SHA1 Message Date
Anish Sarkar
e38e6d90e0 feat: Add notifications table and integrate Electric SQL for real-time updates
- Introduced a new notifications table in the database schema to manage user notifications.
- Implemented Electric SQL replication setup for the notifications table, ensuring real-time synchronization.
- Updated existing database functions to support real-time updates for connectors and documents using Electric SQL.
- Refactored UI components to utilize new hooks for fetching connectors and documents, enhancing performance and user experience.
2026-01-13 16:54:06 +05:30
DESKTOP-RTLN3BA\$punk
8646fecc8b feat: add document upload functionality and update UI components for document management 2026-01-13 02:15:46 -08:00
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
DESKTOP-RTLN3BA\$punk
6622a8c582 feat: add custom callout component to MarkdownViewer for enhanced styling 2026-01-13 01:48:43 -08:00
DESKTOP-RTLN3BA\$punk
25b9118306 feat: implement search space deletion and fixed rback issues with shared chats 2026-01-13 01:45:58 -08:00
DESKTOP-RTLN3BA\$punk
fbeffd58fe refactor: simplify MobileSidebar component by removing unused props 2026-01-13 01:07:08 -08:00
Rohan Verma
720b339702
Merge branch 'dev' into implement-surfsense-docs-mentions 2026-01-13 00:55:16 -08:00
DESKTOP-RTLN3BA\$punk
c22e7ce56c feat: cleanup 2026-01-13 00:24:17 -08:00
DESKTOP-RTLN3BA\$punk
f22d649239 feat: added shared chats 2026-01-13 00:17:12 -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
982dac47ec fix: support Chinese brackets in citation regex 2026-01-13 09:21:54 +02:00
CREDO23
5e31a228bc fix: consistent citation numbering during streaming 2026-01-13 09:09:53 +02:00
Anish Sarkar
7a92ecc1ab Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-13 11:52:46 +05:30
CREDO23
cd3677b5fa feat: add SurfSense docs mention support in chat 2026-01-13 06:14:58 +02:00
CREDO23
4ace7d09a0 Remove all search spaces sheet and dropdown option 2026-01-13 00:49:27 +02:00
DESKTOP-RTLN3BA\$punk
73a57589ac chore: linting 2026-01-12 14:17:15 -08:00
DESKTOP-RTLN3BA\$punk
11915df97b feat: add connector statuses with warnings and maintenance messages for various connectors 2026-01-12 14:14:59 -08:00
Anish Sarkar
38f907e65b feat: Implement Electric SQL replication setup for notifications table
- Added setup_electric_replication function to handle Electric SQL replication for the notifications table during app startup.
- Updated alembic migration script to remove direct SQL commands for replication, now managed in app/db.py.
- Refactored indexing functions in search_source_connectors_routes to support new start_date and end_date parameters for improved flexibility.
- Enhanced Google Gmail indexing task to utilize new date parameters, ensuring better control over indexing periods.
2026-01-13 03:16:42 +05:30
Rohan Verma
61f220b862
Merge pull request #687 from CREDO23/enhance-new-UX
[Improvement] New Layout UX Enhancements
2026-01-12 12:46:11 -08:00
Rohan Verma
33586f1cb7
Merge pull request #682 from CREDO23/sur-77-impr-add-surfsense-documentation-to-new-default-search
[Feature] Onboarding | Built-in documentation search tool
2026-01-12 12:45:52 -08:00
CREDO23
4c72b882c8 Remove outdated clickup-connect-form.tsx 2026-01-12 21:45:22 +02:00
CREDO23
abd4b1bd05 Remove unused WorkspaceAvatar.tsx 2026-01-12 21:34:21 +02:00
Anish Sarkar
44605749c5 refactor: Update NotificationPopup and use-notifications for improved UI and performance
- Removed Badge component from NotificationPopup and replaced it with status icons for better visual representation.
- Refactored getStatusBadge to getStatusIcon for clarity and updated icon sizes.
- Enhanced useNotifications hook to utilize a ref for initialization tracking, improving performance and preventing unnecessary re-initializations.
- Optimized notification fetching logic with improved error handling and real-time updates using Electric SQL.
- Adjusted loading state management to ensure UI responsiveness during data fetching.
2026-01-13 00:06:21 +05:30
Anish Sarkar
93d17b51f5 feat: Implement notification system with real-time updates and Electric SQL integration
- Added notifications table to the database schema with replication support for Electric SQL.
- Developed NotificationService to manage indexing notifications, including creation, updates, and status tracking.
- Introduced NotificationButton and NotificationPopup components for displaying notifications in the UI.
- Enhanced useNotifications hook for real-time notification syncing using PGlite live queries.
- Updated package dependencies for Electric SQL and improved error handling in notification processes.
2026-01-12 22:50:15 +05:30
CREDO23
42473fe4ed feat: add Zod schemas for Surfsense docs and fix citation handling 2026-01-12 18:06:51 +02:00
CREDO23
9a40b55055 Remove duplicate files and empty folders 2026-01-12 17:39:21 +02:00
CREDO23
dc79fd97b0 Fix MobileSidebar missing onUserSettings prop 2026-01-12 17:22:05 +02:00
CREDO23
34c9d24970 Add User Settings page with sidebar pattern and API key section 2026-01-12 17:06:05 +02:00
CREDO23
4a2f62be1f Fix linter errors in LayoutDataProvider and AllSearchSpacesSheet 2026-01-12 16:47:15 +02:00
CREDO23
b6ddc233db Use hard redirect after search space creation 2026-01-12 16:45:04 +02:00
CREDO23
38fd1995aa Refactor dashboard with smart redirect and AllSearchSpacesSheet 2026-01-12 16:38:40 +02:00
CREDO23
7a58f2f568 Add AllSearchSpacesSheet component 2026-01-12 15:59:03 +02:00
CREDO23
d5580fe3ac Add CreateSearchSpaceDialog component 2026-01-12 15:56:23 +02:00
CREDO23
eed04e9b27 refactor: rename Workspace to SearchSpace in layout components 2026-01-12 15:47:56 +02:00
Anish Sarkar
f441c7b0ce feat: Enhance Electric SQL integration and update notification handling
- Added initialization script for Electric SQL user in Docker setup.
- Updated Electric SQL client to support new PGlite architecture and sync functionality.
- Improved notification fetching and syncing logic in useNotifications hook.
- Refactored ElectricProvider to handle initialization state and errors more gracefully.
- Removed deprecated electric.config.ts file and adjusted package dependencies accordingly.
2026-01-12 14:53:18 +05:30
Anish Sarkar
82c6dd0221 feat: Integrate Electric SQL for real-time notifications and enhance PostgreSQL configuration
- Added Electric SQL service to docker-compose for real-time data synchronization.
- Introduced PostgreSQL configuration for logical replication and performance tuning.
- Created scripts for initializing Electric SQL user and electrifying tables.
- Implemented notification model and service in the backend.
- Developed ElectricProvider and useNotifications hook in the frontend for managing notifications.
- Updated environment variables and package dependencies for Electric SQL integration.
2026-01-12 12:47:00 +05:30
Anish Sarkar
b53d095ab9 chore: ran frontend linting 2026-01-11 16:56:11 +05:30
Anish Sarkar
1e97745903 feat: add json files for status badges 2026-01-11 16:53:54 +05:30
Anish Sarkar
9fa0e17588 refactor: update connector status configuration to use commented example configs 2026-01-11 16:13:48 +05:30
Anish Sarkar
075bb44731 chore: ran frontend linting 2026-01-11 16:12:28 +05:30
Anish Sarkar
f52440977f fix: disable breadcrumb on mobile view 2026-01-11 16:08:23 +05:30
Anish Sarkar
2037ce4ce5 Merge remote-tracking branch 'upstream/dev' into feat/config-connectors 2026-01-11 15:56:36 +05:30
Rohan Verma
383592ce63
Merge pull request #680 from AnishSarkar22/fix/index-future-date
feat: Index future dates for calendar based connectors & bug fixes
2026-01-10 14:00:29 -08:00
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