Commit graph

3377 commits

Author SHA1 Message Date
Anish Sarkar
28aa4814bd refactor: improve chat UI and greeting logic
- Simplified chat document processing display by removing the book emoji for a cleaner look.
- Enhanced the greeting function to prioritize user display names over email for a more personalized experience.
- Adjusted the ChatShareButton component by removing unused imports and unnecessary elements for better clarity and performance.
- Updated the title in the Electric SQL documentation for conciseness.
2026-01-15 18:29:30 +05:30
Anish Sarkar
85ca04c641 refactor: remove deprecated composer and assistant UI components
- Deleted `composer-action.tsx`, `composer.tsx`, and `thread-welcome.tsx` files to streamline the codebase and eliminate unused components.
- This cleanup is part of an effort to improve maintainability and reduce complexity in the assistant UI.
2026-01-15 17:31:33 +05:30
Anish Sarkar
4cde2218b4 chore: ran linting 2026-01-15 17:19:09 +05:30
Anish Sarkar
aea3040271 refactor: update sidebar components for improved styling and consistency
- Removed unused type import from `AllPrivateChatsSidebar` and `AllSharedChatsSidebar`.
- Adjusted class names for icons in sidebar components to enhance visual consistency.
- Updated `SidebarSection` to remove unnecessary gap classes for cleaner layout.
- Changed sync version in `client.ts` to v2 for user-specific database architecture.
- Modified search chat placeholder text in `en.json` for clarity.
2026-01-15 17:17:51 +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
Anish Sarkar
9ddcd4f99b feat: added docs for electric-sql + pglite 2026-01-15 16:15:59 +05:30
Anish Sarkar
b9dc785a1c chore: ran frontend and backend linting 2026-01-15 15:55:27 +05:30
Anish Sarkar
ab63b23f0a Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-15 15:52:47 +05:30
Anish Sarkar
56dd2b4fdc feat: Enhance notification syncing and querying logic
- Implemented user-level sync for notifications to reduce duplicate subscriptions and improve memory efficiency.
- Separated user-level sync from search-space-level queries for smoother transitions between search spaces.
- Updated error handling and logging for sync operations.
- Improved cleanup logic for subscriptions to prevent memory leaks.
2026-01-15 15:49:04 +05:30
Rohan Verma
0d2a2f8ea1
Merge pull request #701 from MODSetter/dev
chore: update Open Graph image
2026-01-15 02:10:56 -08:00
DESKTOP-RTLN3BA\$punk
eee3f5b55d chore: update Open Graph image 2026-01-15 02:10:18 -08:00
Anish Sarkar
703ec08d19 feat: Reduce memory footprint for PGlite, Implement user-specific Electric SQL database management
- Added cleanup logic for other users' databases on login to ensure data isolation.
- Introduced best-effort cleanup on logout to remove stale databases.
- Updated Electric client initialization to support user-specific databases.
- Refactored hooks to utilize the Electric context for better state management and prevent race conditions.
- Enhanced error handling and logging for Electric SQL operations.
2026-01-15 15:22:23 +05:30
Rohan Verma
2948ec212c
Merge pull request #700 from MODSetter/dev
readme: header image updated
2026-01-15 01:31:38 -08:00
Rohan Verma
f9c94a201f
readme: header image updated
Removed old header image from README.
2026-01-15 01:31:02 -08:00
Anish Sarkar
eb1ddf0c92 feat: docker all in one setup for electric-sql and edited comments in init-electric-user.sh 2026-01-15 14:26:21 +05:30
Rohan Verma
20a25ef02a
Merge pull request #699 from MODSetter/dev
feat: fixed file uploads timeouts, migrations and various ux updates
2026-01-15 00:11:26 -08:00
DESKTOP-RTLN3BA\$punk
69e9b6a027 chore: update uv lock 2026-01-15 00:08:52 -08:00
DESKTOP-RTLN3BA\$punk
7ae68455b3 chore: linting 2026-01-15 00:05:53 -08:00
DESKTOP-RTLN3BA\$punk
3375aeb9bc feat: add upload limits and validation to DocumentUploadTab component 2026-01-15 00:01:00 -08:00
Anish Sarkar
35392c8e62 fix: made migartion idempotent and fixed docker-compose 2026-01-15 13:26:23 +05:30
DESKTOP-RTLN3BA\$punk
bab89274e0 feat: implement LlamaCloud parsing with retry logic for transient errors 2026-01-14 23:53:17 -08:00
Anish Sarkar
32b8bb33f9 feat: add notifications table and configure Electric SQL replication
- Created a new notifications table with necessary fields and indexes.
- Set up Electric SQL replication for notifications, search_source_connectors, and documents tables.
- Implemented idempotent checks for user and publication creation in the migration script.
2026-01-15 11:22:12 +05:30
Anish Sarkar
f7f11877ce Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-15 11:05:45 +05:30
DESKTOP-RTLN3BA\$punk
bff37789c8 fix: migrations 2026-01-14 15:19:00 -08:00
Anish Sarkar
8ceccc421d feat: added electric-sql docker-compose 2026-01-15 04:33:00 +05:30
Anish Sarkar
94e65129cd chore: ran backend linting 2026-01-15 04:26:34 +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
31a5581af1 feat: add notifications table and Electric SQL replication setup
- Introduced a new notifications table with relevant fields and indexes.
- Configured Electric SQL replication for the notifications, search_source_connectors, and documents tables.
- Centralized Electric SQL user credentials in the migration script for better management.
- Ensured idempotency in the migration process for creating users and publications.
2026-01-15 03:28:10 +05:30
Anish Sarkar
2e0f742000 Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-15 03:07:20 +05:30
Anish Sarkar
e28be9d78c feat: centralize Electric SQL user credentials in configuration
- Added centralized configuration for Electric SQL user credentials in env.py.
- Updated migration script to utilize these credentials for creating and granting permissions to the Electric SQL user.
2026-01-15 03:03:34 +05:30
DESKTOP-RTLN3BA\$punk
92e7b3aef3 Merge commit '13289af2ad' into dev 2026-01-14 13:19:56 -08:00
Rohan Verma
f3f52170a0
Merge pull request #697 from CREDO23/implement-surfsense-docs-mentions
[Feat] Capture Google profile data, add user profile settings & document mentions picker improvements
2026-01-14 13:19:10 -08:00
Rohan Verma
4fb9017eac
Merge pull request #693 from manojag115/feat/mcp-connector-backend
Add backend code for adding MCPs as a connector
2026-01-14 13:18:12 -08:00
Rohan Verma
cee1a8be68
Merge pull request #692 from CREDO23/feat/idempotent-migrations
[Improvement] Make Alembic migrations idempotent
2026-01-14 13:16:03 -08:00
CREDO23
142e72c030 show avatar for newly sent messages in shared chats 2026-01-14 21:44:13 +02:00
CREDO23
54568a62e0 fix: add referrerPolicy for Google profile images 2026-01-14 20:30:02 +02:00
Anish Sarkar
ee3a0a9ab7 fix: made electric user and password hardcoded 2026-01-14 23:39:52 +05:30
Anish Sarkar
7a9a14aa66 feat: fixed migration for electric-sql 2026-01-14 23:23:45 +05:30
CREDO23
83d6b735fa display user avatar in shared chat messages 2026-01-14 19:46:37 +02:00
CREDO23
dcd36166fc add author fields to MessageRecord type 2026-01-14 18:38:47 +02:00
CREDO23
a8918b9cca include author info in message response 2026-01-14 18:36:48 +02:00
CREDO23
e9d164007d save author_id when appending message 2026-01-14 18:29:19 +02:00
CREDO23
468feae592 add author fields to NewChatMessageRead schema 2026-01-14 18:27:21 +02:00
CREDO23
efcc394b0c migration: add author_id to messages 2026-01-14 18:24:28 +02:00
CREDO23
d89bcf13c3 add author_id to NewChatMessage model 2026-01-14 17:56:45 +02:00
CREDO23
924e621a6b feat: add migration 0 for initial schema setup 2026-01-14 17:04:37 +02:00
CREDO23
4d024219cb add profile settings form with display name editing 2026-01-14 16:11:13 +02:00
CREDO23
4e09642719 modularize user settings and add profile section 2026-01-14 15:57:02 +02:00