Commit graph

79 commits

Author SHA1 Message Date
CREDO23
5d1c386105 extract shared streaming helpers from page.tsx into streaming-state.ts
Move duplicated types (ThinkingStepData, ContentPart), content-part helpers
(appendText, addToolCall, updateToolCall, buildContentForUI,
buildContentForPersistence), and SSE read loop (readSSEStream) into a
shared module. Removes ~395 lines of tripled code from page.tsx.
2026-02-11 13:50:46 +02:00
CREDO23
2343fecf97 add frontend HITL: approval UI, SSE handler, and resume flow
- Create CreateNotionPageToolUI component with approval card (approve/reject)
- Handle data-interrupt-request SSE event in page.tsx
- Add handleResume callback to POST decisions and stream continuation
- Skip message persistence for interrupted messages (handleResume persists)
- Stamp __decided__ on tool results for immutable post-decision state
- Sync pendingInterrupt ID after message persistence rename
2026-02-10 18:05:01 +02:00
DESKTOP-RTLN3BA\$punk
c979609041 feat: simplified document upload handling
- Introduced a new endpoint for batch document status retrieval, allowing users to check the status of multiple documents in a search space.
- Enhanced the document upload process to return duplicate document IDs and improved response structure.
- Updated schemas to include new response models for document status.
- Removed unused attachment processing code from chat routes and UI components to streamline functionality.
2026-02-09 16:46:54 -08:00
Anish Sarkar
9d071d686a feat: add viewport configuration for mobile keyboard handling and update chat page height calculations for better responsiveness 2026-02-06 19:43:14 +05:30
Anish Sarkar
76e7ddee2f chore: ran all linting 2026-02-06 18:22:19 +05:30
Eric Lammertsma
07f89a4268 Show the chat title in the breadcrumbs instead of "Chat" 2026-02-03 20:54:21 -05:00
Eric Lammertsma
d761ca1992 Added chat renaming and auto naming by the active LLM 2026-02-03 20:47:18 -05:00
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
CREDO23
98991d2ed4 feat: update UI for snapshot-based public sharing 2026-01-30 14:20:06 +02:00
DESKTOP-RTLN3BA\$punk
70fcb2d055 chore: linting 2026-01-28 22:15:43 -08:00
CREDO23
22943972c2 fix(frontend): prevent infinite retry loop when chat clone fails
Add cloneError state to track clone failures and prevent the useEffect
from continuously retrying when completeClone() fails.
2026-01-28 19:15:25 +02:00
Anish Sarkar
614761bb17 Merge remote-tracking branch 'upstream/dev' into feat/inbox 2026-01-28 09:26:04 +05:30
CREDO23
9a4da10b12 feat(frontend): two-phase cloning with loading state 2026-01-28 00:17:44 +02:00
CREDO23
0fbf5d5bdd fix: podcast status enum serialization and frontend polling 2026-01-27 19:07:46 +02:00
Anish Sarkar
72c421eeb1 feat(chat): implement target comment navigation and highlight functionality in chat components 2026-01-27 22:14:02 +05:30
CREDO23
c65cda24d7 style: fix formatting issues 2026-01-27 13:49:46 +02:00
CREDO23
a7145b2c63 merge: upstream/dev with migration renumbering 2026-01-27 11:22:26 +02:00
CREDO23
24472c0ea6 fix: preserve author info in cloned chats and force PGlite resync after clone 2026-01-27 10:50:37 +02:00
CREDO23
271de96cce fix: public chat copy link button and podcast access 2026-01-26 20:10:03 +02:00
CREDO23
ee65e1377f feat: improve public chat UI and shared components 2026-01-26 18:39:59 +02:00
Anish Sarkar
22bd5e0f39 feat: implement unified loading screens across various components
- Introduced a new UnifiedLoadingScreen component for consistent loading indicators in the application.
- Replaced existing loading implementations in LoginPage, AuthCallbackPage, DashboardLayout, and other components with the new unified loading screen.
- Updated translations for loading messages to enhance user experience and clarity.
- Improved loading states in the ElectricProvider and TokenHandler components to utilize the new loading screen, ensuring a cohesive look and feel during loading processes.
2026-01-24 19:42:07 +05:30
DESKTOP-RTLN3BA\$punk
a160f0dde3 chore: linting 2026-01-23 01:44:14 -08:00
DESKTOP-RTLN3BA\$punk
ad475397c4 feat(chat): add regenerate endpoint for chat threads to support editing and reloading responses 2026-01-23 01:42:10 -08:00
DESKTOP-RTLN3BA\$punk
8b81507739 refactor: remove unused COMPOSIO_CONNECTOR migration and linting 2026-01-22 16:43:08 -08:00
CREDO23
1a2fa23916 Merge upstream/dev with live collaboration features 2026-01-22 23:00:42 +02:00
CREDO23
b1b63c6740 Simplify live message sync using Electric as source of truth 2026-01-22 20:40:49 +02:00
CREDO23
39d434b00c Centralize chat session state sync with single subscription via atom 2026-01-22 19:04:23 +02:00
CREDO23
4cb835f19f Integrate live message sync for shared chat collaboration 2026-01-22 18:43:32 +02:00
CREDO23
3ab9cc8485 Restore API-based comments and remove unstable live sync integration 2026-01-22 15:05:00 +02:00
Anish Sarkar
3d4a8f981c Merge remote-tracking branch 'upstream/dev' into feat/inbox 2026-01-22 16:03:37 +05:30
Rohan Verma
cc658789e4
Merge pull request #722 from manojag115/feature/user-memory
Add user memory feature to SurfSense
2026-01-21 14:54:06 -08:00
CREDO23
f7ee03ddf3 Integrate live message sync on chat page 2026-01-21 18:10:03 +02:00
Anish Sarkar
93aa1dcf3c feat: implement inbox sidebar for enhanced user notifications
- Introduced a new InboxSidebar component to manage and display inbox items.
- Integrated real-time syncing of inbox items using Electric SQL for instant updates.
- Added functionality to mark items as read, archive/unarchive, and filter inbox content.
- Updated existing components to accommodate the new inbox feature, including layout adjustments and state management.
- Enhanced user experience with improved navigation and interaction for inbox items.
2026-01-21 19:43:20 +05:30
Manoj Aggarwal
92aa3f4eab error 2026-01-20 15:34:01 -08:00
Anish Sarkar
80f83e32c6 chore: frontend linting 2026-01-20 20:47:31 +05:30
Anish Sarkar
8e5a80fc19 feat: integrate chat sharing functionality in header component 2026-01-20 16:14:57 +05:30
CREDO23
4d004cc1b2 fix: mention notifications and scroll-to-comment from notifications 2026-01-19 19:56:21 +02:00
CREDO23
f86beaece1 feat(web): add current-thread atom for global state management 2026-01-19 14:36:58 +02:00
CREDO23
142e72c030 show avatar for newly sent messages in shared chats 2026-01-14 21:44:13 +02:00
CREDO23
83d6b735fa display user avatar in shared chat messages 2026-01-14 19:46:37 +02:00
DESKTOP-RTLN3BA\$punk
fd3f2660f6 fix: update NewChatPage to set current thread for immediate share button visibility 2026-01-13 19:35:07 -08: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
cd3677b5fa feat: add SurfSense docs mention support in chat 2026-01-13 06:14:58 +02:00
Anish Sarkar
2b01120c2b refactor: disable write_todos functionality across chat and UI components
- Commented out the write_todos tracking and messaging logic in the stream_new_chat.py file.
- Disabled the import and usage of WriteTodosToolUI in the new-chat page component.
- Updated related logic in the active connectors tab to remove indexing state handling for write_todos.
- These changes are part of a temporary disablement of the write_todos feature for further evaluation.
2026-01-02 18:22:38 +05:30
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
2cb5ce3aa9 Merge remote-tracking branch 'upstream/dev' into fix/chatpage-ux 2025-12-26 15:07:15 +05:30