Commit graph

95 commits

Author SHA1 Message Date
Anish Sarkar
9945d16b17 chore: ran biome checks 2026-03-07 12:57:27 +05:30
Anish Sarkar
f8b0e946ce chore: ran linting 2026-03-07 04:46:48 +05:30
Anish Sarkar
c9949303ae feat: integrate document upload dialog in ComposerAction and update sidebar components for improved user interaction and styling consistency 2026-03-07 03:29:46 +05:30
Anish Sarkar
c1ba3a9b6d refactor: streamline document mention handling by consolidating atom logic and removing redundant state updates, enhancing code clarity and maintainability in chat components 2026-03-06 23:33:51 +05:30
Anish Sarkar
8d5d8e490c refactor: remove ChatHeader from Thread component and update related logic, improving code clarity and maintaining consistent header display in chat interface 2026-03-06 22:38:49 +05:30
Anish Sarkar
3be26429ca refactor: integrate sidebar document selections into chat functionality, enhancing document mention management and improving user experience in the Composer and DocumentsSidebar components 2026-03-06 15:59:45 +05:30
Anish Sarkar
f0e4aa6539 refactor: enhance document mention functionality in chat by introducing pending mentions and removals atoms, and updating DocumentsSidebar and Composer components for improved document management 2026-03-06 15:35:58 +05:30
Anish Sarkar
95a0e35393 feat: add documentsSidebarOpenAtom for managing sidebar state and integrate it into LayoutDataProvider and Composer components 2026-03-06 14:40:10 +05:30
DESKTOP-RTLN3BA\$punk
0e723a5b8b feat: perf optimizations
- improved search_knowledgebase_tool
- Added new endpoint to batch-fetch comments for multiple messages, reducing the number of API calls.
- Introduced CommentBatchRequest and CommentBatchResponse schemas for handling batch requests and responses.
- Updated chat_comments_service to validate message existence and permissions before fetching comments.
- Enhanced frontend with useBatchCommentsPreload hook to optimize comment loading for assistant messages.
2026-02-27 17:19:25 -08:00
Anish Sarkar
a57ab02900 feat: Implement file upload limits and page limit enforcement in backend
- Added constants for maximum files per upload, per-file size, and total upload size.
- Enhanced document upload route to validate file counts and sizes, returning appropriate HTTP errors.
- Introduced end-to-end tests for upload limits and page limit enforcement, ensuring correct behavior under various scenarios.
- Updated test helpers to support notification retrieval for page limit exceeded scenarios.
2026-02-26 01:25:34 +05:30
Anish Sarkar
aeb2613b2b chore: linting 2026-02-22 04:41:56 +05:30
Anish Sarkar
0e1f0d09e5 feat: enhance file upload tooltip with detailed information on limits and guidelines 2026-02-22 04:20:46 +05:30
mainnebula
b3042a02be fix: prevent file attachment dialog from opening twice
Add a ref-based guard to handleUploadClick that prevents the native file
picker from being triggered a second time when the browser re-dispatches
a click event after the dialog closes. This matches the existing pattern
used in document-upload-popup.tsx for the Upload Documents dialog.
2026-02-17 07:55:25 -05:00
DESKTOP-RTLN3BA\$punk
db652116d6 chore: linting 2026-02-09 16:49:11 -08:00
DESKTOP-RTLN3BA\$punk
c979609041 feat: simplified document upload handling
- Introduced a new endpoint for batch document status retrieval, allowing users to check the status of multiple documents in a search space.
- Enhanced the document upload process to return duplicate document IDs and improved response structure.
- Updated schemas to include new response models for document status.
- Removed unused attachment processing code from chat routes and UI components to streamline functionality.
2026-02-09 16:46:54 -08:00
Rohan Verma
6c72854145
Merge pull request #801 from elammertsma/dev
[FEAT] Added new A/B test, made sidebar resizable and made all left sidebars use the same component
2026-02-09 15:05:11 -08:00
Eric Lammertsma
123d3bccf4 Created more relatable chat input suggestions 2026-02-09 12:05:19 -05:00
Anish Sarkar
5ab672b8ff refactor: replace Loader2 with Spinner component across various components for consistent loading indicators 2026-02-08 12:39:06 +05:30
Anish Sarkar
9d071d686a feat: add viewport configuration for mobile keyboard handling and update chat page height calculations for better responsiveness 2026-02-06 19:43:14 +05:30
Eric Lammertsma
b91e730963 feat: implement cycling onboarding placeholders in chat input 2026-02-01 17:26:50 -05:00
DESKTOP-RTLN3BA\$punk
6fb656fd8f hotpatch(cloud): add llm load balancing 2026-01-29 15:28:31 -08:00
Anish Sarkar
f7122cd477 feat(sidebar): implement inbox sidebar with docked and floating modes, add sidebar context for state management 2026-01-27 19:46:43 +05:30
DESKTOP-RTLN3BA\$punk
8b81507739 refactor: remove unused COMPOSIO_CONNECTOR migration and linting 2026-01-22 16:43:08 -08:00
CREDO23
03445a5e07 Fix auto-scroll by explicitly enabling it on ThreadViewport
The turnAnchor="top" setting caused autoScroll to default to false.
2026-01-22 20:54:09 +02:00
CREDO23
39d434b00c Centralize chat session state sync with single subscription via atom 2026-01-22 19:04:23 +02:00
CREDO23
0b8fed7304 Add thread-level Electric sync for comments, remove per-message hooks 2026-01-22 17:57:20 +02:00
CREDO23
17f8c993df Simplify chat session state hook and disable send button when blocked 2026-01-20 19:48:28 +02:00
CREDO23
22ead877fa Integrate ChatSessionStatus and blocking logic into Composer 2026-01-20 18:39:50 +02:00
Anish Sarkar
af0349e36c chore: ran frontend linting 2026-01-20 03:30:12 +05:30
CREDO23
47fbc83d48 Merge branch 'dev' into sur-90-feat-comments-in-chats 2026-01-19 14:49:10 +02:00
CREDO23
d99722cfdc feat(web): integrate comment gutter with thread layout 2026-01-19 14:37:06 +02:00
Anish Sarkar
8654c98afe chore: update redundant comments 2026-01-18 20:13:51 +05:30
Anish Sarkar
2f84f1b547 refactor: streamline DocumentMentionPicker integration in Composer
- Removed unnecessary wrapper div around DocumentMentionPicker for cleaner rendering.
- Added containerStyle prop to DocumentMentionPicker for improved positioning flexibility.
- Adjusted debounce timing in DocumentMentionPicker to enhance responsiveness during user input.
2026-01-18 19:43:46 +05:30
Anish Sarkar
685774ecb7 refactor: improve document mention editor and picker functionality
- Updated InlineMentionEditor to enhance visual styling of mention chips.
- Refactored DocumentMentionPicker to streamline the rendering of the document selection popover and improve keyboard navigation with smooth scrolling.
- Enhanced user experience by ensuring the mention mode remains active during search without closing the popup when no results are found.
2026-01-17 23:36:37 +05:30
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
CREDO23
6b5468bd7d feat: integrate comments UI into chat messages 2026-01-16 15:09:51 +02:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
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
DESKTOP-RTLN3BA\$punk
7ae68455b3 chore: linting 2026-01-15 00:05:53 -08:00
CREDO23
83d6b735fa display user avatar in shared chat messages 2026-01-14 19:46:37 +02: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
CREDO23
cd3677b5fa feat: add SurfSense docs mention support in chat 2026-01-13 06:14:58 +02:00
DESKTOP-RTLN3BA\$punk
2832d57bda chore: linting 2026-01-01 22:56:37 -08:00
Anish Sarkar
95878368c8 chore: ran frontend linting 2026-01-01 22:24:42 +05:30
Anish Sarkar
2373421212 refactor: Clean up imports and streamline component structure in thread.tsx and google-drive-folder-tree.tsx for improved maintainability 2026-01-01 02:03:11 +05:30
Anish Sarkar
fda682c9e7 Merge remote-tracking branch 'upstream/dev' into fix/connector 2026-01-01 02:03:02 +05:30
CREDO23
2b5377846d refactor: modularize thread.tsx into focused component modules
- Split 1,089-line thread.tsx into 10 smaller, focused modules
- Created dedicated files for thinking-steps, welcome, composer, messages, etc.
- No breaking changes - all logic preserved exactly as before
- Improved code organization and maintainability
2025-12-30 16:38:57 +02:00
Anish Sarkar
9f19bea284 feat: Extract connector indicator UI from thread into a new dedicated component. 2025-12-30 04:03:34 +05:30
Anish Sarkar
3bea989868 feat: implement responsive row action dropdowns and enhance mobile sidebar navigation 2025-12-28 23:25:22 +05:30
Anish Sarkar
a10bfe32cd feat: Adjust document mention picker max height and refine thread header shimmer display logic. 2025-12-28 21:29:28 +05:30