Skip to content

Conversation

@MODSetter
Copy link
Owner

@MODSetter MODSetter commented Dec 29, 2025

Description

Motivation and Context

FIX #

Screenshots

API Changes

  • This PR includes API changes

Change Type

  • Bug fix
  • New feature
  • Performance improvement
  • Refactoring
  • Documentation
  • Dependency/Build system
  • Breaking change
  • Other (specify):

Testing Performed

  • Tested locally
  • Manual/QA verification

Checklist

  • Follows project coding standards and conventions
  • Documentation updated as needed
  • Dependencies updated as needed
  • No lint/build errors or new warnings
  • All relevant tests are passing

High-level PR Summary

This PR significantly improves the user interface with comprehensive mobile responsiveness across all pages and components, optimizes the AI agent's todo/plan system with enhanced instructions for handling both agent-created plans and external task imports from connectors like Linear and Jira, implements smart polling for document processing status (only polls when tasks are active), removes verbose terminal logging during tool execution, and includes various UX improvements like better dropdown behaviors on mobile and refined styling throughout the application.

⏱️ Estimated Review Time: 30-90 minutes

💡 Review Order Suggestion
Order File Path
1 surfsense_backend/app/agents/new_chat/system_prompt.py
2 surfsense_backend/app/tasks/chat/stream_new_chat.py
3 surfsense_web/components/tool-ui/plan/schema.ts
4 surfsense_web/hooks/use-logs.ts
5 surfsense_web/atoms/documents/document-mutation.atoms.ts
6 surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/page.tsx
7 surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/ProcessingIndicator.tsx
8 surfsense_web/components/assistant-ui/thread.tsx
9 surfsense_web/components/sidebar/nav-notes.tsx
10 surfsense_web/app/(home)/login/GoogleLoginButton.tsx
11 surfsense_web/app/(home)/login/LocalLoginForm.tsx
12 surfsense_web/app/(home)/login/page.tsx
13 surfsense_web/app/(home)/register/page.tsx
14 surfsense_web/app/dashboard/page.tsx
15 surfsense_web/app/dashboard/[search_space_id]/client-layout.tsx
16 surfsense_web/app/dashboard/[search_space_id]/connectors/(manage)/page.tsx
17 surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsFilters.tsx
18 surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsTableShell.tsx
19 surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/RowActions.tsx
20 surfsense_web/app/dashboard/[search_space_id]/editor/[documentId]/page.tsx
21 surfsense_web/app/dashboard/[search_space_id]/logs/(manage)/page.tsx
22 surfsense_web/app/dashboard/[search_space_id]/settings/page.tsx
23 surfsense_web/app/dashboard/[search_space_id]/sources/add/page.tsx
24 surfsense_web/app/dashboard/[search_space_id]/team/page.tsx
25 surfsense_web/components/BlockNoteEditor.tsx
26 surfsense_web/components/LanguageSwitcher.tsx
27 surfsense_web/components/UserDropdown.tsx
28 surfsense_web/components/homepage/navbar.tsx
29 surfsense_web/components/inference-params-editor.tsx
30 surfsense_web/components/json-metadata-viewer.tsx
31 surfsense_web/components/new-chat/document-mention-picker.tsx
32 surfsense_web/components/new-chat/model-config-sidebar.tsx
33 surfsense_web/components/new-chat/model-selector.tsx
34 surfsense_web/components/new-chat/source-detail-panel.tsx
35 surfsense_web/components/settings/llm-role-manager.tsx
36 surfsense_web/components/settings/model-config-manager.tsx
37 surfsense_web/components/settings/prompt-config-manager.tsx
38 surfsense_web/components/shared/llm-config-form.tsx
39 surfsense_web/components/sidebar/all-chats-sidebar.tsx
40 surfsense_web/components/sidebar/all-notes-sidebar.tsx
41 surfsense_web/components/sidebar/nav-chats.tsx
42 surfsense_web/components/sources/ConnectorsTab.tsx
43 surfsense_web/components/sources/DocumentUploadTab.tsx
44 surfsense_web/components/sources/YouTubeTab.tsx
45 surfsense_web/components/ui/dialog.tsx
46 surfsense_web/app/globals.css

Need help? Join our Discord

Analyze latest changes

AnishSarkar22 and others added 15 commits December 28, 2025 21:19
…nd visual consistency across various components.
…ttings components for improved user experience
Fix for `write_todo` tool & UI Improvements
@vercel
Copy link

vercel bot commented Dec 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
surf-sense-frontend Ready Ready Preview, Comment Dec 29, 2025 0:13am

@MODSetter MODSetter merged commit 433ea16 into main Dec 29, 2025
5 of 6 checks passed
Copy link

@recurseml recurseml bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review by RecurseML

🔍 Review performed on 0e1ea9c..3ec2d46

✨ No bugs found, your code is sparkling clean

✅ Files analyzed, no issues (45)

surfsense_backend/app/agents/new_chat/system_prompt.py
surfsense_backend/app/tasks/chat/stream_new_chat.py
surfsense_web/app/(home)/login/GoogleLoginButton.tsx
surfsense_web/app/(home)/login/LocalLoginForm.tsx
surfsense_web/app/(home)/login/page.tsx
surfsense_web/app/(home)/register/page.tsx
surfsense_web/app/dashboard/[search_space_id]/client-layout.tsx
surfsense_web/app/dashboard/[search_space_id]/connectors/(manage)/page.tsx
surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsFilters.tsx
surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsTableShell.tsx
surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/ProcessingIndicator.tsx
surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/RowActions.tsx
surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/page.tsx
surfsense_web/app/dashboard/[search_space_id]/logs/(manage)/page.tsx
surfsense_web/app/dashboard/[search_space_id]/settings/page.tsx
surfsense_web/app/dashboard/[search_space_id]/sources/add/page.tsx
surfsense_web/app/dashboard/[search_space_id]/team/page.tsx
surfsense_web/app/dashboard/page.tsx
surfsense_web/app/globals.css
surfsense_web/atoms/documents/document-mutation.atoms.ts
surfsense_web/components/BlockNoteEditor.tsx
surfsense_web/components/LanguageSwitcher.tsx
surfsense_web/components/UserDropdown.tsx
surfsense_web/components/assistant-ui/thread.tsx
surfsense_web/components/homepage/navbar.tsx
surfsense_web/components/inference-params-editor.tsx
surfsense_web/components/json-metadata-viewer.tsx
surfsense_web/components/new-chat/document-mention-picker.tsx
surfsense_web/components/new-chat/model-config-sidebar.tsx
surfsense_web/components/new-chat/model-selector.tsx
surfsense_web/components/new-chat/source-detail-panel.tsx
surfsense_web/components/settings/llm-role-manager.tsx
surfsense_web/components/settings/model-config-manager.tsx
surfsense_web/components/settings/prompt-config-manager.tsx
surfsense_web/components/shared/llm-config-form.tsx
surfsense_web/components/sidebar/all-chats-sidebar.tsx
surfsense_web/components/sidebar/all-notes-sidebar.tsx
surfsense_web/components/sidebar/nav-chats.tsx
surfsense_web/components/sidebar/nav-notes.tsx
surfsense_web/components/sources/ConnectorsTab.tsx
surfsense_web/components/sources/DocumentUploadTab.tsx
surfsense_web/components/sources/YouTubeTab.tsx
surfsense_web/components/tool-ui/plan/schema.ts
surfsense_web/components/ui/dialog.tsx
surfsense_web/hooks/use-logs.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants