Commit graph

1189 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
e163708bad feat: Refactor role permissions and access checks
- Removed the Admin role and updated the permission sets for Owner, Editor, and Viewer roles in db.py.
- Clarified access requirements for chat threads in new_chat_routes.py, ensuring ownership checks are prioritized.
- Added preset permission options for quick role creation in the CreateRoleDialog component of the team page.
2026-01-20 02:59:32 -08:00
DESKTOP-RTLN3BA\$punk
4595fd3d1f docs: updated docs 2026-01-20 02:03:05 -08:00
DESKTOP-RTLN3BA\$punk
d96ae66012 chore: linting 2026-01-20 00:32:31 -08:00
Anish Sarkar
e65d9fa1db chore: ran linting 2026-01-20 11:50:17 +05:30
Anish Sarkar
0c3307fabb fix: use keyboard smoothly while editing the MCP json 2026-01-20 11:49:24 +05:30
Anish Sarkar
a536ad1590 Merge remote-tracking branch 'upstream/dev' into fix/ui-mcp 2026-01-20 11:39:45 +05:30
DESKTOP-RTLN3BA\$punk
9625a24475 feat: support multiple transport types for MCP server connections, including stdio and HTTP 2026-01-19 17:44:19 -08:00
DESKTOP-RTLN3BA\$punk
bb5cb846b3 fix: adjust margin for user avatar in shared chats 2026-01-19 16:53:25 -08:00
DESKTOP-RTLN3BA\$punk
ab91cbd148 feat: implement responsive comment UI with mobile and desktop variants 2026-01-19 16:50:51 -08:00
DESKTOP-RTLN3BA\$punk
d83e9aa52d feat: add Google OAuth sign-in button to navbar 2026-01-19 16:22:07 -08:00
Anish Sarkar
31b5004984 refactor: improve MCPConfig component structure and validation logic 2026-01-20 03:38:53 +05:30
Anish Sarkar
af0349e36c chore: ran frontend linting 2026-01-20 03:30:12 +05:30
Anish Sarkar
e646343453 Merge remote-tracking branch 'upstream/dev' into fix/SUR-86 2026-01-20 03:27:41 +05:30
CREDO23
4d004cc1b2 fix: mention notifications and scroll-to-comment from notifications 2026-01-19 19:56:21 +02:00
Anish Sarkar
a16cc50466 feat: enhance loading indicator in ThinkingStepsDisplay 2026-01-19 22:20:09 +05:30
Anish Sarkar
a28962a429 fix: the ui overlap 2026-01-19 22:16:10 +05:30
Anish Sarkar
f0997b0a30 chore: ran frontend linting 2026-01-19 21:23:22 +05:30
CREDO23
7b170dfa75 feat: add new_mention notification type with metadata schema 2026-01-19 17:31:17 +02:00
CREDO23
2839501503 feat: add Electric SQL replication for chat_comment_mentions 2026-01-19 17:28:44 +02:00
Anish Sarkar
5f672a07f2 refactor: enhance MCP connection forms and account list styling
- Updated MCPConnectForm and MCPConfig to improve layout and responsiveness.
- Adjusted text sizes and spacing for better readability across different screen sizes.
- Enhanced button labels for clarity when showing or hiding details.
- Improved styling for the ConnectorAccountsListView to ensure consistent appearance and user experience.
2026-01-19 20:41:26 +05:30
Anish Sarkar
0f3e1b118d fix: revert back the alert when clicking "Test Connection" button when adding an MCP, remove toast 2026-01-19 20:21:02 +05:30
Anish Sarkar
72ad558240 refactor: consolidate MCP connector handling in UI components
- Replaced MCPConnectorListView with ConnectorAccountsListView for better integration and UI consistency.
- Updated ConnectorCard to display connector counts for MCP connectors.
- Enhanced MCPConnectForm to improve connection testing feedback and error handling.
- Streamlined MCPConfig validation logic and improved user feedback for configuration errors.
- Adjusted AllConnectorsTab to count and display MCP connectors accurately.
- Removed redundant MCP-specific components to simplify the codebase.
2026-01-19 19:50:07 +05:30
CREDO23
47fbc83d48 Merge branch 'dev' into sur-90-feat-comments-in-chats 2026-01-19 14:49:10 +02:00
CREDO23
8ad6c268df chore: cleanup unused files and update cache keys 2026-01-19 14:38:05 +02:00
CREDO23
0b675dfc3b feat(web): improve comment editing and mention rendering 2026-01-19 14:37:45 +02:00
CREDO23
f008acecfc feat(web): improve comment panel and trigger UI 2026-01-19 14:37:38 +02:00
CREDO23
d99722cfdc feat(web): integrate comment gutter with thread layout 2026-01-19 14:37:06 +02:00
CREDO23
f86beaece1 feat(web): add current-thread atom for global state management 2026-01-19 14:36:58 +02:00
Anish Sarkar
48603b993d feat: Update MCP connector icon and UI styling 2026-01-19 17:59:06 +05:30
Rohan Verma
26ef83fbaa
Merge pull request #707 from AnishSarkar22/fix/mentions
feat: Revamped search in document mentions
2026-01-18 22:15:28 -08:00
Rohan Verma
87a174a1fd
Merge pull request #706 from AnishSarkar22/fix/drive-index
feat: enhance Google Drive indexing
2026-01-18 22:15:03 -08:00
Anish Sarkar
b158ddd083 refactor: simplify loading state management in DocumentMentionPicker
- Consolidated loading state checks to improve clarity and performance.
- Updated logic to hide the results popup when no documents are available, regardless of fetch state.
- Removed redundant variables related to fetching states, streamlining the component's functionality.
2026-01-18 22:04:28 +05:30
Anish Sarkar
8654c98afe chore: update redundant comments 2026-01-18 20:13:51 +05:30
Anish Sarkar
068699b0c6 refactor: enhance DocumentMentionPicker with client-side filtering for single character searches
- Implemented client-side filtering for single character searches to improve responsiveness and user experience.
- Adjusted loading state management to differentiate between single character and multi-character searches.
- Removed unnecessary search hint display for single character searches, streamlining the user interface.
2026-01-18 19:47:52 +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
8c29f21acb chore: ran frontend linting 2026-01-17 23:44:53 +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
Manoj Aggarwal
f9a8371852 add some caching and json validation using zod 2026-01-17 09:29:34 -08:00
Anish Sarkar
0b5568d7ab feat: enhance document mention editor and picker for better user experience
- Added document type icons in InlineMentionEditor for improved visual context.
- Updated DocumentMentionPicker to include client-side filtering, reducing false positives in search results.
- Enhanced loading state management by incorporating fetching indicators for better UX during data retrieval.
2026-01-17 22:25:40 +05:30
Anish Sarkar
720c13667e refactor: update document mention picker and chat share button for improved performance and UX
- Replaced throttling with debouncing in DocumentMentionPicker to reduce request spam and enhance user experience.
- Updated API service methods to support request cancellation using AbortSignal.
- Simplified imports in ChatShareButton by removing unused components.
2026-01-17 21:44:10 +05:30
Anish Sarkar
b001b65067 feat: add pg_trgm indexes and lightweight document title search
- Introduced pg_trgm extension and GIN trigram indexes for efficient document title searches, enhancing performance for mention picker functionality.
- Implemented a new API endpoint for lightweight document title searches, returning only essential fields.
- Updated frontend components to utilize the new title search feature with throttling for improved user experience.
- Added necessary schemas and types for the new search functionality.
2026-01-17 20:45:10 +05:30
Anish Sarkar
e0be1b9133 chore: ran backend and frontend linting 2026-01-17 16:30:07 +05:30
Anish Sarkar
6550c378b2 feat: enhance Google Drive document handling and UI integration
- Implemented support for both new file_id-based and legacy filename-based hash schemes in document processing.
- Added functions to generate unique identifier hashes and find existing documents with migration support.
- Improved existing document update logic to handle content changes and metadata updates, particularly for Google Drive files.
- Enhanced UI components to display appropriate file icons based on file types in the Google Drive connector.
- Updated document processing functions to accommodate the new connector structure and ensure seamless integration.
2026-01-17 14:57:31 +05:30
Anish Sarkar
7af3d1bc1a feat: improve Google Drive connector handling and UI feedback
- Added logic to refresh connector and notification attributes after indexing to ensure up-to-date information.
- Enhanced periodic sync configuration to disable the option when no folders or files are selected for Google Drive, providing user feedback through a message.
- Updated the connector edit view to reflect the new disabled state for periodic sync based on selected items.
- Implemented validation in the connector dialog to prevent enabling periodic sync without selected items, improving user experience.
2026-01-17 12:59:18 +05:30
Anish Sarkar
a3112a24fe feat: enhance Google Drive indexing with new options
- Updated the Google Drive indexing functionality to include indexing options such as max files per folder, incremental sync, and inclusion of subfolders.
- Modified the API to accept a new 'indexing_options' parameter in the request body.
- Enhanced the UI to allow users to configure these options when selecting folders and files for indexing.
- Updated related components and tasks to support the new indexing options, ensuring a more flexible and efficient indexing process.
2026-01-17 12:33:57 +05:30
Manoj Aggarwal
18ce599c81 fix electric fallback 2026-01-16 16:13:20 -08:00
Manoj Aggarwal
11b160cee9 resolve conflicts 2026-01-16 15:39:57 -08:00
Manoj Aggarwal
69badbceab remove redundant code and make modular 2026-01-16 15:29:05 -08:00
Manoj Aggarwal
d33e9aa63a remove unnecessary props 2026-01-16 15:15:34 -08:00
Manoj Aggarwal
1ad81583c0 fix errors 2026-01-16 15:11:01 -08:00