Commit graph

3142 commits

Author SHA1 Message Date
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
DESKTOP-RTLN3BA\$punk
7ac7cd5f99 fix: improve error handling for unauthorized responses and response parsing in BaseApiService 2026-01-12 12:47:08 -08:00
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
CREDO23
c0b97fcc68 fix: add doc- prefix examples to citation instructions 2026-01-12 21:00:06 +02:00
CREDO23
842004e617 docs: add tool examples to system prompt 2026-01-12 20:54:00 +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
CREDO23
19ef32539d cleanup: remove obsolete comments 2026-01-12 20:20:48 +02:00
CREDO23
96545056cd refactor: async docs seeding in FastAPI lifespan 2026-01-12 20:15:11 +02:00
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
f6621f9a9a fix: copy docs content to Docker image for Surfsense docs indexer 2026-01-12 18:28:38 +02:00
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
06779a1a32 Unify settings pages styling with main layout 2026-01-12 17:30:15 +02:00
CREDO23
dc79fd97b0 Fix MobileSidebar missing onUserSettings prop 2026-01-12 17:22:05 +02:00
CREDO23
3dff7487b1 Delete old pages, fix duplicate translations, rename to 'Manage Members' 2026-01-12 17:12:06 +02:00
CREDO23
814122d087 Remove standalone back button from Team page 2026-01-12 17:09:45 +02:00
CREDO23
34c9d24970 Add User Settings page with sidebar pattern and API key section 2026-01-12 17:06:05 +02:00
CREDO23
0d4d227c26 Replace aggressive dialog with friendly empty state for new users 2026-01-12 16:55: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
Rohan Verma
9655db1995
Merge pull request #681 from AnishSarkar22/feat/config-connectors
feat: Config for connectors
2026-01-12 01:30:50 -08: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
Rohan Verma
8492ea3ad1
Merge pull request #671 from CREDO23/sur-70-feature-streamline-onboarding-auto-create-default-workspace
[Feature] Streamline onboarding | Auto create default Search space
2026-01-10 13:59:54 -08:00
Rohan Verma
488927e6ae
Merge pull request #684 from manojag115/feat/microsoft-teams-connector-reraise
Add Microsoft Teams connector to surfsense
2026-01-09 18:12:47 -08:00
Manoj Aggarwal
8b735a492a lint 2026-01-09 13:53:09 -08:00
Manoj Aggarwal
62d0d8b6db ruff lint 2026-01-09 13:38:49 -08:00
Manoj Aggarwal
29dadfd138 nit 2026-01-09 13:34:36 -08:00
Manoj Aggarwal
8b650f4cf4 resolve vercel error 2026-01-09 13:33:28 -08:00
Manoj Aggarwal
4532cc3569 revert .vscode change 2026-01-09 13:20:59 -08:00
Manoj Aggarwal
36c395ba72 nit 2026-01-09 13:20:54 -08:00
Manoj Aggarwal
18035b3728 Add MS Teams connector 2026-01-09 13:20:47 -08:00
Manoj Aggarwal
fa35b71522 Add teams connector similar to slack 2026-01-09 13:20:30 -08:00
Rohan Verma
3c93c7439f
Merge pull request #683 from manojag115/revert-679-feat/ms-teams-connector
Revert "Add Microsoft Teams Connector"
2026-01-09 12:42:59 -08:00
Manoj Aggarwal
786fd63e5b
Revert "Add Microsoft Teams Connector" 2026-01-09 12:33:26 -08:00