Commit graph

57 commits

Author SHA1 Message Date
Anish Sarkar
01307f36dd refactor: simplify state management in ChatShareButton and ModelSelector 2026-01-21 15:14:14 +05:30
Anish Sarkar
80f83e32c6 chore: frontend linting 2026-01-20 20:47:31 +05:30
Anish Sarkar
26ca751a9d refactor: update UI component styles and interactions
- Increased gap between action items in Header for improved layout.
- Added onCloseAutoFocus to ChatShareButton for better focus management.
- Enhanced ChevronDown icon in ModelSelector with rotation effect for better visual feedback.
- Adjusted padding in ModelSelector to maintain consistent spacing.
2026-01-20 18:28:50 +05:30
Anish Sarkar
1a0503f683 refactor: improve UI component styles and loading text
- Removed unused Check icon from SidebarUserProfile and Select components.
- Enhanced hover and focus styles for SidebarUserProfile and ModelSelector items for better user experience.
- Updated loading text in ModelSelector for consistency.
2026-01-20 17:53:36 +05:30
Anish Sarkar
1f06794021 feat: enhance UI components with new border radius and tooltip features
- Added new border radius options (2xl, 3xl) in Tailwind configuration and globals.css.
- Integrated Tooltip component in ChatShareButton and ModelSelector for improved user experience.
- Updated button styles for consistency across components, including NotificationButton and ModelSelector.
- Minor text adjustments for clarity in SourceDetailPanel.
2026-01-20 17:35:08 +05:30
Anish Sarkar
23f1be50f7 refactor: replace Lock icon with User icon for private chats 2026-01-20 16:57:15 +05:30
Anish Sarkar
4e4ea6fba0 feat: add thread visibility management using Jotai atoms in chat components 2026-01-20 16:33:42 +05:30
Anish Sarkar
8e5a80fc19 feat: integrate chat sharing functionality in header component 2026-01-20 16:14:57 +05:30
Anish Sarkar
459a354e0f feat: shifted the theme selection to user profile sidebar 2026-01-20 16:04:56 +05:30
Anish Sarkar
24049345a2 feat: add language selection feature to user profile sidebar, fixed some hover color logic for both model selector and language selection 2026-01-20 15:47:23 +05:30
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
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
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
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
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
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
CREDO23
c6aec95797 improve document mention picker section headers styling 2026-01-14 14:14:01 +02:00
CREDO23
af6451847b add section headers to document mention picker 2026-01-14 13:40:29 +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
Rohan Verma
720b339702
Merge branch 'dev' into implement-surfsense-docs-mentions 2026-01-13 00:55:16 -08:00
DESKTOP-RTLN3BA\$punk
f22d649239 feat: added shared chats 2026-01-13 00:17:12 -08:00
CREDO23
c579d773a9 feat: add search filtering for SurfSense docs mentions and handle zero-width spaces in citations 2026-01-13 09:41:25 +02:00
CREDO23
cd3677b5fa feat: add SurfSense docs mention support in chat 2026-01-13 06:14:58 +02:00
CREDO23
42473fe4ed feat: add Zod schemas for Surfsense docs and fix citation handling 2026-01-12 18:06:51 +02:00
CREDO23
abd3bace53 feat: add frontend support for surfsense docs citations 2026-01-09 18:21:59 +02:00
Anish Sarkar
76de0b5530 fix: Add server side search and pagination for mentioned documents 2026-01-03 11:26:31 +05:30
Anish Sarkar
3a6749e86f feat: Update connector UI components with improved button styles and border adjustments for better visual consistency 2025-12-31 23:24:20 +05:30
Anish Sarkar
ed6470525a feat: Enhance mobile navbar animations and responsiveness across various components 2025-12-29 00:24:49 +05:30
Anish Sarkar
1d5ee45bd9 style: Adjust UI element and text sizes for improved responsiveness and visual consistency across various components. 2025-12-28 23:59:01 +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
DESKTOP-RTLN3BA\$punk
7f809ffa1b chore: linting 2025-12-25 11:42:12 -08:00
Anish Sarkar
2fdf567b71 refactor: replace DocumentsDataTable with DocumentMentionPicker for improved document selection
- Introduced DocumentMentionPicker component to enhance document selection experience in the chat interface.
- Updated InlineMentionEditor and Composer components to utilize the new DocumentMentionPicker.
- Removed the deprecated DocumentsDataTable component to streamline the codebase and improve maintainability.
- Enhanced type safety and validation in document handling logic.
2025-12-26 00:41:14 +05:30
Anish Sarkar
4c2de73694 refactor: update UI components for consistent styling 2025-12-25 19:40:43 +05:30
Anish Sarkar
bf22156664 refactor: update navigation and chat initialization logic
- Changed navigation from researcher to new-chat in EditorPage.
- Updated NewChatPage to support lazy thread creation on first message.
- Adjusted breadcrumb to not display thread ID for new-chat sections.
- Improved user experience by modifying error messages and loading states.
- Enhanced styling in model-selector component for better visibility.
2025-12-25 12:18:45 +05:30
CREDO23
deec8c5c6c fix: formatting 2025-12-24 07:06:35 +02:00
Thierry CH.
c4400a0ec2
Merge branch 'dev' into documents-mentions 2025-12-24 06:31:49 +02:00
DESKTOP-RTLN3BA\$punk
ee546a7e03 chore: linting 2025-12-23 18:50:24 -08:00
DESKTOP-RTLN3BA\$punk
40e982d541 refactor: fix scroll to last user query ux
- Updated DashboardClientLayout to improve child component overflow handling.
- Refactored NewChatPage to streamline the layout and integrate ChatHeader directly within the Thread component.
- Added optional header prop to Thread component for better customization.
- Cleaned up ChatHeader by removing unnecessary wrapper for improved design.
2025-12-23 18:49:37 -08:00
Anish Sarkar
ed63e5a1d6 feat: add auto-scroll functionality for new user queries
- Introduced NewQueryScrollHandler component to automatically scroll to the latest user message when a new query is submitted, enhancing user experience.
- Updated ChatHeader component to remove unnecessary border for a cleaner design.
- Adjusted ModelSelector styles for improved visual consistency and accessibility.
2025-12-24 02:09:24 +05:30
Anish Sarkar
6f330e7b8d Merge remote-tracking branch 'upstream/dev' into pr-611 2025-12-23 15:45:28 +05:30
Anish Sarkar
8e3f4f4ed7 feat: implement document mention extraction and management in new chat
- Added functionality to extract and manage mentioned documents within the new chat interface.
- Introduced new atoms for storing mentioned documents and their mappings to user messages.
- Enhanced the message persistence logic to include mentioned documents, ensuring they are displayed correctly in the chat.
- Updated the UI components to support document mentions, including a refined document selection interface.
- Improved state management for document mentions to ensure a seamless user experience.
2025-12-23 15:13:03 +05:30