Commit graph

24 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
b176599c64 chore: linting 2026-02-03 15:01:51 -08:00
Anish Sarkar
580b75c3c4 chore: ran linting 2026-02-04 03:04:25 +05:30
Anish Sarkar
c4cf773bb0 feat: improve mentioned document prefetching and add skeletons in new chat interface 2026-02-03 20:45:52 +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
a05fe3ca07 refactor: update document mention picker styling for improved visibility. 2026-01-15 18:39:37 +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
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
Anish Sarkar
76de0b5530 fix: Add server side search and pagination for mentioned documents 2026-01-03 11:26:31 +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
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
Renamed from surfsense_web/components/new-chat/DocumentMentionPicker.tsx (Browse further)