Commit graph

330 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
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
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
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
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
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
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
DESKTOP-RTLN3BA\$punk
c2dcb2045d feat: added attachment support 2025-12-21 22:26:33 -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
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
3906ba52e0 feat: integrate Streamdown for markdown rendering and enhance citation handling 2025-12-21 00:04:52 -08:00
DESKTOP-RTLN3BA\$punk
947087452f feat: new chat working stateless. Added citation logic. 2025-12-20 23:15:49 -08:00
CREDO23
3208f9bd7b add new chat page 2025-12-20 18:35:39 +02:00
DESKTOP-RTLN3BA\$punk
b25c1cd4b4 feat: migrated from zod v3 to v4 2025-12-20 05:10:47 -08:00
DESKTOP-RTLN3BA\$punk
ad41967d28 refactor: migrated to next 16, updated fumadocs
- Deleted the empty middleware file as it was temporarily disabled for client-side i18n implementation.
- Updated `next`, `next-intl`, and `fumadocs` packages to their latest versions.
- Cleaned up the `next.config.ts` by removing the eslint configuration.
- Enhanced `tsconfig.json` with additional paths for `fumadocs-mdx`.
- Adjusted imports in `layout.tsx` and `request.ts` for better structure and functionality.
2025-12-20 04:24:40 -08:00
DESKTOP-RTLN3BA\$punk
086048a4db refactor: updated chonkie & removed junk code
- Removed all references to the Serper API from the codebase, including related components, hooks, and schemas.
- Updated the `pyproject.toml` to reflect the new version of `chonkie` and other dependencies.
- Cleaned up the configuration and connector management to streamline the application.
2025-12-19 23:26:45 -08:00
DESKTOP-RTLN3BA\$punk
b5a6321eb4 chore: biome lint 2025-12-19 15:38:39 -08:00
Rohan Verma
b4b53b6625
Merge pull request #597 from AnishSarkar22/fix/chat-ui
Added new Chat UI and fixed global state management for notes
2025-12-19 15:14:24 -08:00
DESKTOP-RTLN3BA\$punk
3f2b915cd0 feat: fixed OAUTH issues
- Added BACKEND_URL to .env.example for optional OAuth callback configuration when behind a reverse proxy with HTTPS.
- Updated fastapi-users dependency to version 15.0.3 in pyproject.toml.
- Updated argon2-cffi and email-validator versions in uv.lock.
- Enhanced Google OAuth integration in app.py to handle secure contexts for CSRF cookies.
- Updated GoogleLoginButton component to include credentials in fetch requests.
- Updated documentation to reflect the new BACKEND_URL variable in both docker and manual installation guides.
2025-12-19 14:19:30 -08:00
DESKTOP-RTLN3BA\$punk
8d66d32c07 revert 2025-12-19 13:30:50 -08:00
DESKTOP-RTLN3BA\$punk
10a2180873 hotfix(try): OAUTH_INVALID_STATE 2025-12-19 12:49:40 -08:00
Anish Sarkar
b53b19170e feat: implement unsaved changes handling in editor and sidebar
- Introduced global state management for unsaved changes and pending navigation using Jotai atoms.
- Updated the editor component to sync local unsaved changes with global state and handle navigation prompts.
- Enhanced sidebar functionality to check for unsaved changes before navigating to a new note.
- Added cleanup logic for global state on component unmount to prevent stale data.
2025-12-19 22:59:42 +05:30
Anish Sarkar
5fcaadf60b Merge remote-tracking branch 'upstream/main' into fix/chat-ui 2025-12-19 21:42:26 +05:30
DESKTOP-RTLN3BA\$punk
4d02e8768d chore: biome 2025-12-19 00:45:29 -08:00
Anish Sarkar
79e552520a refactor: remove old chat components and implement new sidebar structure
- Deleted `chats-client.tsx` and `page.tsx` as part of the chat management overhaul.
- Introduced `AllChatsSidebar` and `NavChats` components for improved chat navigation and management.
- Updated sidebar to integrate new chat components and removed the deprecated `NavProjects`.
- Enhanced chat deletion handling and added loading states for better user experience.
- Added new translation keys for chat-related UI strings.
2025-12-19 03:53:40 +05:30
CREDO23
9c378550ba refactor: complete RBAC migration cleanup - remove unused hooks and fix type imports 2025-12-18 18:37:26 +00:00
CREDO23
1c00e6f12e fix: update invite schemas to match backend and fix cache key reference 2025-12-18 18:36:32 +00:00
CREDO23
74c7e5e7b3 feat: migrate useUserAccess to myAccessAtom in client-layout 2025-12-18 18:36:32 +00:00
CREDO23
bce8340750 feat: migrate useUserAccess to myAccessAtom in team page 2025-12-18 18:36:32 +00:00
CREDO23
18ac6bf0c5 feat: remove unused useInvites hook references from team page 2025-12-18 18:36:32 +00:00
CREDO23
0d2f58001b feat: migrate revokeInvite to deleteInviteMutationAtom in team page 2025-12-18 18:36:32 +00:00
CREDO23
15541b71c9 feat: migrate createInvite to createInviteMutationAtom in team page 2025-12-18 18:36:32 +00:00
CREDO23
82b06d42c2 feat: migrate invites fetch query to useQuery in team page 2025-12-18 18:36:32 +00:00
CREDO23
6e288a59fb feat: migrate removeMember to deleteMemberMutationAtom in team page 2025-12-18 18:34:00 +00:00
CREDO23
7bb840b62a feat: migrate updateMemberRole to handleUpdateMember using jotai + tanstack query 2025-12-18 18:33:36 +00:00
CREDO23
3fc3016474 feat: migrate members fetch to membersAtom in team page 2025-12-18 18:30:49 +00:00
DESKTOP-RTLN3BA\$punk
c768730b8c feat: fixed issues of note management
Issues Fixed

- Missing pagination fields in API response schemas (page, page_size, has_more)
- NOTE enum missing from frontend Zod schema
- Missing fields in DocumentRead response construction (content_hash, updated_at)
- BlockNote slash menu clipped by overflow-hidden CSS
- Sidebar click conflicts - hidden action buttons intercepting clicks
- Rewrote All Notes sidebar - replaced fragile custom portal with shadcn Sheet
- Missing translation keys for new UI strings
- Missing NOTE retrieval logic in researcher agent
- Added search to All Notes sidebar
- Removed frontend logging - was causing toasters on every page refresh
- Added backend logging to document reindex Celery task
2025-12-17 00:09:43 -08:00
Rohan Verma
3c3527d498
Merge pull request #590 from CREDO23/feat/add-jotai-tanstack-rbac
[Feat] RBAC | Add jotai & tanstack
2025-12-16 22:45:46 -08:00
Rohan Verma
f18425d739
Merge pull request #589 from AnishSarkar22/feature/note-management
Feature: Note Management system
2025-12-16 22:44:57 -08:00
Anish Sarkar
8bb3c854ee feat: implement logging for document fetch and save operations in editor
Fetch:
1. Fetch error (HTTP) - ERROR
2. Missing BlockNote content - WARNING
3. Fetch success - INFO
4. Fetch exception - ERROR

Save:
5. New note save error - ERROR
6. New note created - INFO
7. Existing doc save error - ERROR
8. Existing doc saved - INFO
9. Save exception - ERROR
2025-12-17 02:04:57 +05:30
Anish Sarkar
4cef8cc93f feat: enhance validation and formatting in editor and sidebar components 2025-12-16 21:27:31 +05:30