Commit graph

2454 commits

Author SHA1 Message Date
CREDO23
134f9577b9 feat(web): add chat comments atoms and hooks 2026-01-15 19:57:25 +02:00
CREDO23
33670aceb5 feat(web): add comments and mentions cache keys 2026-01-15 19:51:28 +02:00
CREDO23
5c8621429d feat(web): add chat comments API service 2026-01-15 19:47:10 +02:00
CREDO23
37612f588a feat(web): add chat comments types 2026-01-15 19:44:28 +02:00
Anish Sarkar
4281e6f15d refactor: update ActiveConnectorsTab and ChatShareButton components for improved UI
- Adjusted styling in ActiveConnectorsTab to enhance visual clarity by modifying the Cable component's class.
- Removed unnecessary elements from ChatShareButton to streamline the UI and updated the loading text for consistency.
2026-01-15 22:44:02 +05:30
CREDO23
4792fb71e2 Add mention routes (list, mark as read, mark all as read) 2026-01-15 18:51:27 +02:00
CREDO23
7504411dcf Add mention service methods (get mentions, mark as read) 2026-01-15 18:49:12 +02:00
CREDO23
c82a94cf02 Add mention processing and rendering in chat comments service 2026-01-15 18:30:21 +02:00
Anish Sarkar
802419502d fix: add env.example and docs 2026-01-15 21:59:59 +05:30
CREDO23
c793e2d621 Rename comments files to chat_comments and add mention parser utility 2026-01-15 18:02:07 +02:00
CREDO23
7d43f1fb8f Add comments routes and register in app 2026-01-15 17:39:30 +02:00
Anish Sarkar
52f2aac54e chore: update docker-compose and documentation for PostgreSQL configuration
- Added NEXT_FRONTEND_URL environment variable to docker-compose.yml for frontend integration.
- Updated hero-section.tsx to change the "Get Started" button link from "/login" to "/register".
- Enhanced electric-sql documentation with detailed instructions for locating and editing the postgresql.conf file.
2026-01-15 21:07:14 +05:30
CREDO23
41e0462ecc Add delete_comment method to comments service 2026-01-15 17:35:32 +02:00
CREDO23
9c965d524a Add update_comment method to comments service 2026-01-15 17:32:37 +02:00
CREDO23
c1402683cc Add create_reply method to comments service 2026-01-15 17:30:39 +02:00
CREDO23
5d9294b701 Add create_comment method to comments service 2026-01-15 17:27:42 +02:00
CREDO23
d24759f691 Add comments service with get_comments_for_message method 2026-01-15 17:09:59 +02:00
CREDO23
43939d554c Add Pydantic schemas for comments 2026-01-15 16:48:30 +02:00
CREDO23
c14776faad Add comment permissions to DEFAULT_ROLE_PERMISSIONS 2026-01-15 16:42:09 +02:00
CREDO23
b7a167dffe Add comment permissions to Permission enum 2026-01-15 16:39:24 +02:00
CREDO23
ee68fb86d2 Add ChatCommentMention model to db.py 2026-01-15 16:37:46 +02:00
CREDO23
b06b3baaea Add ChatComment model to db.py 2026-01-15 16:34:03 +02:00
Anish Sarkar
eb1f39b365 fix: run automatic alembic migrations for docker-compose 2026-01-15 19:58:26 +05:30
CREDO23
266a5be38b Add chat_comment_mentions table migration 2026-01-15 16:26:49 +02:00
CREDO23
d48b3680d3 Add chat_comments table migration 2026-01-15 16:24:29 +02:00
Anish Sarkar
138347c02d fix: docker-compose vite dependency for fuma-docs 2026-01-15 18:57:54 +05:30
Anish Sarkar
a05fe3ca07 refactor: update document mention picker styling for improved visibility. 2026-01-15 18:39:37 +05:30
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