Commit graph

93 commits

Author SHA1 Message Date
CREDO23
8ad6c268df chore: cleanup unused files and update cache keys 2026-01-19 14:38:05 +02:00
CREDO23
f86beaece1 feat(web): add current-thread atom for global state management 2026-01-19 14:36:58 +02:00
CREDO23
80e19a52cb refactor: remove read tracking from mentions (prep for notification center) 2026-01-16 19:15:10 +02:00
CREDO23
09317cd9f7 chore: formatting cleanup 2026-01-16 11:36:17 +02:00
CREDO23
a353fce379 refactor(web): remove hardcoded staleTime from mentions atoms 2026-01-15 19:58:02 +02:00
CREDO23
134f9577b9 feat(web): add chat comments atoms and hooks 2026-01-15 19:57:25 +02:00
DESKTOP-RTLN3BA\$punk
7ae68455b3 chore: linting 2026-01-15 00:05:53 -08:00
CREDO23
1dbc27b0a3 add updateUserMutationAtom with cache invalidation 2026-01-14 15:42: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
cd3677b5fa feat: add SurfSense docs mention support in chat 2026-01-13 06:14:58 +02:00
CREDO23
1b5f29afcc add mentionedSurfsenseDoc atoms 2026-01-13 02:52:56 +02:00
DESKTOP-RTLN3BA\$punk
f62d4cb99c chore: update .gitignore to include connector status config and enhance user query atom to fetch data only when a bearer token is present 2026-01-12 13:59:55 -08:00
DESKTOP-RTLN3BA\$punk
aac0432023 refactor: update Discord message indexing logic
- Enhanced the indexing process for Discord messages to treat each message as an individual document, improving metadata handling and content management.
- Replaced the announcement banner component and related state management with a more streamlined approach, removing unnecessary files and simplifying the dashboard layout.
- Updated logging messages for clarity and accuracy regarding processed messages.
2026-01-05 22:18:25 -08:00
DESKTOP-RTLN3BA\$punk
3ec2d46051 feat: Invalidate logs summary and enable refetch on mount for fresh processing tasks display 2025-12-28 16:02:56 -08:00
Anish Sarkar
ae4ee9ab70 Merge remote-tracking branch 'upstream/dev' into fix/chatpage-ux 2025-12-27 19:48:13 +05:30
Anish Sarkar
c28a90fc29 refactor: integrate TodoListMiddleware and update related components
- Removed the write_todos tool as it is now included by default through TodoListMiddleware in the deep agent.
- Updated the system prompt and documentation to reflect the integration of TodoListMiddleware, clarifying its capabilities for managing planning and todo lists.
- Enhanced the chat handling logic to extract todos directly from the deep agent's command output, ensuring seamless user experience.
- Refactored UI components to align with the new data structure and improve rendering of todo items, including updates to the Plan and TodoItem components.
- Cleaned up code for better maintainability and readability, following recent refactoring efforts.
2025-12-27 15:18:34 +05:30
Rohan Verma
2c2ae40274
Merge pull request #594 from CREDO23/feat/add-jotai-tanstack-connectors
[Feat] Connectors| Add jotai & tanstack
2025-12-26 21:43:11 -08:00
CREDO23
10f3baca0c feat: add logs cache keys 2025-12-26 17:05:06 +02:00
CREDO23
b0214c901d feat: add log mutation atoms 2025-12-26 16:51:12 +02:00
CREDO23
b70bca6345 feat: add log mutation atoms 2025-12-26 16:50:58 +02:00
CREDO23
f74a4a5662 fix: fix backward compatibility in web crawler connector page 2025-12-26 15:26:05 +02:00
CREDO23
f05a313d73 Merge upstream/dev and accept upstream deletions 2025-12-26 14:50:52 +02:00
Anish Sarkar
ebc04f590e refactor: improve write_todos tool and UI components
- Refactored the write_todos tool to enhance argument and result schemas using Zod for better validation and type safety.
- Updated the WriteTodosToolUI to streamline the rendering logic and improve loading states, ensuring a smoother user experience.
- Enhanced the Plan and TodoItem components to better handle streaming states and display progress, providing clearer feedback during task management.
- Cleaned up code formatting and structure for improved readability and maintainability.
2025-12-26 17:49:56 +05:30
Anish Sarkar
eb70c055a4 refactor: introduce write_todos tool for enhanced task management
- Added a new write_todos tool to facilitate the creation and management of planning lists within the chat interface.
- Updated system prompt with detailed instructions on using the write_todos tool, including usage patterns and restrictions.
- Enhanced the chat message handling to support the new tool, ensuring proper integration and user experience.
- Implemented UI components for displaying and interacting with the planning lists, including progress tracking and status indicators.
2025-12-26 14:37:23 +05:30
CREDO23
deec8c5c6c fix: formatting 2025-12-24 07:06:35 +02:00
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
DESKTOP-RTLN3BA\$punk
c2dcb2045d feat: added attachment support 2025-12-21 22:26:33 -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
ee46a43afc feat: enhance chat query handling and sidebar updates
- Updated chat query to include ordering by creation date for better organization.
- Improved optimistic updates in chat deletion and creation mutations to ensure UI consistency.
- Invalidate chat queries after mutations to refresh sidebar and components effectively.
- Adjusted cache key structure for chat queries to include additional parameters for better cache management.
2025-12-19 22:37:04 +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
96d937fe2d feat: add query atoms 2025-12-18 23:26:15 +02:00
CREDO23
797a8d4329 feat: add cache keys 2025-12-18 23:08:36 +02:00
CREDO23
4ffd857110 feat: add invitesAtom query atom 2025-12-18 18:29:41 +00:00
CREDO23
920ac210c7 fix: use centralized cache keys instead of hardcoded string 2025-12-18 18:29:41 +00:00
CREDO23
92e2414ff7 feat: add acceptInviteMutationAtom 2025-12-18 18:29:41 +00:00
CREDO23
5e0bc3823c feat: add deleteInviteMutationAtom 2025-12-18 18:29:41 +00:00
CREDO23
9c22ae2da5 feat: add updateInviteMutationAtom for invite updates 2025-12-18 18:29:41 +00:00
CREDO23
3cd9018626 feat: add createInviteMutationAtom for invite creation 2025-12-18 18:29:41 +00:00
CREDO23
03f6efb5aa feat: add myAccessAtom query for user access permissions 2025-12-18 18:29:41 +00:00
CREDO23
fbd5272096 feat: add membersAtom query for fetching members 2025-12-18 18:29:41 +00:00
CREDO23
b20587df60 feat: add leaveSearchSpaceMutationAtom 2025-12-18 18:29:41 +00:00
CREDO23
5f541cf206 feat: add deleteMemberMutationAtom 2025-12-18 18:29:41 +00:00
CREDO23
83a726737a feat: add updateMemberMutationAtom 2025-12-18 18:29:41 +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
CREDO23
51216f0d04 feat: add roles mutation atoms with improved type safety 2025-12-16 09:07:33 +00:00