Commit graph

1691 commits

Author SHA1 Message Date
Thierry CH.
c4400a0ec2
Merge branch 'dev' into documents-mentions 2025-12-24 06:31:49 +02:00
DESKTOP-RTLN3BA\$punk
aeb9379c27 feat: UX fixes 2025-12-23 19:10:58 -08:00
Rohan Verma
ef03fc97e3
Merge pull request #616 from MODSetter/dev
chore: various ux improvs
2025-12-23 18:54:23 -08: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
Rohan Verma
0a458dde2f
Merge pull request #615 from AnishSarkar22/fix/chatpage-ux
UX improvements
2025-12-23 17:55:03 -08:00
Anish Sarkar
9430cd9768 refactor: update sidebar components for improved styling and layout
- Adjusted the AllChatsSidebar and AllNotesSidebar components to enhance visual consistency by removing unnecessary borders and refining padding.
- Updated search input styles to eliminate borders and improve focus visibility.
- Made minor layout adjustments to ensure better alignment and spacing within the sidebar components.
2025-12-24 02:24:01 +05:30
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
Rohan Verma
f4e6c47d0b
Merge pull request #613 from MODSetter/dev
feat: fixed migrations
2025-12-23 02:57:45 -08:00
DESKTOP-RTLN3BA\$punk
ea411ee1c8 Merge commit '075e373de9' into dev 2025-12-23 02:56:44 -08:00
DESKTOP-RTLN3BA\$punk
0b86756082 chore: ruff format 2025-12-23 02:56:13 -08:00
DESKTOP-RTLN3BA\$punk
acf0396aa5 feat: fixed migrations
- Migrated data from the old 'chats' table to 'new_chat_threads' and 'new_chat_messages'.
- Dropped the 'chats' table and removed the 'chattype' enum as part of the migration process.
- Updated the migration script to truncate thread titles to 500 characters to comply with database constraints.
- Adjusted the downgrade function to reflect changes in the migration process.
2025-12-23 02:55:37 -08:00
Anish Sarkar
1d646d3b5f refactor: improve message content filtering and update dependencies in new chat
- Enhanced the message content filtering logic to exclude both "thinking-steps" and "mentioned-documents" for better clarity in chat messages.
- Updated the dependency imports in the thread component for improved organization and consistency.
- Adjusted the effect dependencies in the NewChatPage component to include the message documents map for better state management.
2025-12-23 16:04:39 +05:30
Rohan Verma
075e373de9
Merge pull request #612 from MODSetter/dev
feat: migrate to new surfsense deepagent
2025-12-23 02:18:22 -08:00
Anish Sarkar
6f330e7b8d Merge remote-tracking branch 'upstream/dev' into pr-611 2025-12-23 15:45:28 +05:30
DESKTOP-RTLN3BA\$punk
0863899637 chore: update Dockerfile to skip postinstall scripts during dependency installation
- Modified the dependency installation command to skip postinstall scripts, which require all source files.
- Added a separate command to run the fumadocs-mdx postinstall after the source files are copied, ensuring proper setup.
2025-12-23 02:09:38 -08:00
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
DESKTOP-RTLN3BA\$punk
fd7e43181a refactor: update search space form text for clarity and conciseness
- Removed redundant editing instructions and replaced them with a more streamlined description of the search space functionality.
- Enhanced user understanding by clarifying the purpose of a search space as a personal workspace with AI integration.
2025-12-23 01:35:29 -08:00
DESKTOP-RTLN3BA\$punk
4a0c3e368a feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
Anish Sarkar
ceb01dc544 feat: enhance new chat functionality with document mentions support
- Updated the new chat routes to include handling for mentioned document IDs, allowing users to reference specific documents in their chat.
- Modified the NewChatRequest schema to accommodate optional document IDs.
- Implemented document mention formatting in the chat streaming service for improved context.
- Enhanced the frontend to manage document mentions, including a new atom for state management and UI updates for document selection.
- Refactored the DocumentsDataTable component for better integration with the new mention functionality.
2025-12-23 14:24:36 +05:30
Anish Sarkar
9caaf6dee4 Merge remote-tracking branch 'upstream/dev' into pr-611 2025-12-23 13:05:45 +05:30
DESKTOP-RTLN3BA\$punk
b14283e300 feat: refactor new chat agent to support configurable tools and remove deprecated components
- Enhanced the new chat agent module to allow for configurable tools, enabling users to customize their experience with various functionalities.
- Removed outdated tools including display image, knowledge base search, link preview, podcast generation, and web scraping, streamlining the codebase.
- Updated the system prompt and agent factory to reflect these changes, ensuring a more cohesive and efficient architecture.
2025-12-22 20:17:08 -08:00
Rohan Verma
beb1c5184d
Merge pull request #610 from AnishSarkar22/feature/new-chat-ui
Improvements
2025-12-22 20:15:16 -08:00
CREDO23
7766161f84 add document mentions table 2025-12-22 23:29:49 +02:00
CREDO23
b038e96a76 add document mentions table 2025-12-22 23:17:48 +02:00
Anish Sarkar
5fd872b798 feat: implement Zod schemas for runtime validation across various components to enhance data integrity and error handling 2025-12-23 02:42:48 +05:30
Anish Sarkar
7ca490c740 feat: enhance chain-of-thought display with smart expand/collapse behavior and state management for improved user interaction 2025-12-23 02:21:41 +05:30
Anish Sarkar
24dd52ed99 feat: add web scraping tool to chat agent for extracting and summarizing webpage content 2025-12-23 01:49:29 +05:30
Anish Sarkar
da7cb81252 feat: introduce display image tool for enhanced image rendering in chat with metadata support 2025-12-23 01:11:56 +05:30
Anish Sarkar
4b69fdf214 feat: add link preview tool for enhanced URL metadata display in chat 2025-12-23 00:58:27 +05:30
Anish Sarkar
28985e6af4 style: update greeting messages for improved user engagement and consistency 2025-12-23 00:35:08 +05:30
Anish Sarkar
3703487c59 style: improve connector display and layout in the UI for better readability and user interaction 2025-12-23 00:26:45 +05:30
Anish Sarkar
898b062bed fix: removed revamped connectors 2025-12-23 00:22:50 +05:30
Anish Sarkar
a3b22e61e5 refactor: update connector navigation to use router.back() for improved user experience 2025-12-22 23:57:16 +05:30
Anish Sarkar
d75ddf6087 refactor: separate content building for UI and persistence, filtering out thinking steps for improved clarity 2025-12-22 23:02:57 +05:30
Anish Sarkar
8a99752f2f feat: enhance chat functionality with chain-of-thought display and thinking steps management 2025-12-22 22:54:22 +05:30
Anish Sarkar
2f622891ae feat: implement dynamic greeting and thinking steps display in Thread component 2025-12-22 18:38:08 +05:30
DESKTOP-RTLN3BA\$punk
1cbb1b5d66 refactor: remove chat-related fields and legacy podcast generation function 2025-12-21 23:31:11 -08:00
DESKTOP-RTLN3BA\$punk
c2dcb2045d feat: added attachment support 2025-12-21 22:26:33 -08:00
DESKTOP-RTLN3BA\$punk
bb971460fc feat: migrated old chat to new chat 2025-12-21 19:33:52 -08:00
DESKTOP-RTLN3BA\$punk
b5e20e7515 feat: old chat to new-chat with persistance 2025-12-21 16:32:55 -08:00
DESKTOP-RTLN3BA\$punk
0c3574d049 feat: implement new chat feature with message persistence and UI integration 2025-12-21 16:16:50 -08:00
Rohan Verma
f115980d2b
Merge pull request #608 from AnishSarkar22/feature/podcast-agent
Added Podcast agent within chat
2025-12-21 14:52:29 -08:00
Anish Sarkar
35463eeab4 Merge remote-tracking branch 'upstream/dev' into feature/podcast-agent 2025-12-21 20:39:21 +05:30
Anish Sarkar
bc189a53cf refactor: replace TranscriptEntry interface with PodcastTranscriptEntry type for improved type safety in podcast player 2025-12-21 20:37:30 +05:30
Anish Sarkar
4f2c9caac2 feat: add transcript fetching and display in podcast player component 2025-12-21 20:25:27 +05:30
Anish Sarkar
783ee9c154 feat: enhance podcast generation with duplicate request prevention and improved UI feedback 2025-12-21 20:07:04 +05:30
Anish Sarkar
e79e1187b2 feat: implement background podcast generation with Celery and task polling in UI 2025-12-21 19:35:00 +05:30
Anish Sarkar
4c4e4b3c4c feat: add podcast generation capabilities to SurfSense deep agent and UI integration 2025-12-21 19:07:46 +05:30
DESKTOP-RTLN3BA\$punk
73f0f772a8 feat: message history and PostgreSQL checkpointer integration 2025-12-21 03:30:10 -08:00