-
-
Notifications
You must be signed in to change notification settings - Fork 1k
feat: improved ui and some optimizations #643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ndexing documents
…der shimmer display logic.
…nd visual consistency across various components.
…own, and remove unused imports.
… elements on authentication pages
…d task management
…ttings components for improved user experience
Fix for `write_todo` tool & UI Improvements
…rocessing tasks display
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this 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
Description
Motivation and Context
FIX #
Screenshots
API Changes
Change Type
Testing Performed
Checklist
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
surfsense_backend/app/agents/new_chat/system_prompt.pysurfsense_backend/app/tasks/chat/stream_new_chat.pysurfsense_web/components/tool-ui/plan/schema.tssurfsense_web/hooks/use-logs.tssurfsense_web/atoms/documents/document-mutation.atoms.tssurfsense_web/app/dashboard/[search_space_id]/documents/(manage)/page.tsxsurfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/ProcessingIndicator.tsxsurfsense_web/components/assistant-ui/thread.tsxsurfsense_web/components/sidebar/nav-notes.tsxsurfsense_web/app/(home)/login/GoogleLoginButton.tsxsurfsense_web/app/(home)/login/LocalLoginForm.tsxsurfsense_web/app/(home)/login/page.tsxsurfsense_web/app/(home)/register/page.tsxsurfsense_web/app/dashboard/page.tsxsurfsense_web/app/dashboard/[search_space_id]/client-layout.tsxsurfsense_web/app/dashboard/[search_space_id]/connectors/(manage)/page.tsxsurfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsFilters.tsxsurfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/DocumentsTableShell.tsxsurfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/RowActions.tsxsurfsense_web/app/dashboard/[search_space_id]/editor/[documentId]/page.tsxsurfsense_web/app/dashboard/[search_space_id]/logs/(manage)/page.tsxsurfsense_web/app/dashboard/[search_space_id]/settings/page.tsxsurfsense_web/app/dashboard/[search_space_id]/sources/add/page.tsxsurfsense_web/app/dashboard/[search_space_id]/team/page.tsxsurfsense_web/components/BlockNoteEditor.tsxsurfsense_web/components/LanguageSwitcher.tsxsurfsense_web/components/UserDropdown.tsxsurfsense_web/components/homepage/navbar.tsxsurfsense_web/components/inference-params-editor.tsxsurfsense_web/components/json-metadata-viewer.tsxsurfsense_web/components/new-chat/document-mention-picker.tsxsurfsense_web/components/new-chat/model-config-sidebar.tsxsurfsense_web/components/new-chat/model-selector.tsxsurfsense_web/components/new-chat/source-detail-panel.tsxsurfsense_web/components/settings/llm-role-manager.tsxsurfsense_web/components/settings/model-config-manager.tsxsurfsense_web/components/settings/prompt-config-manager.tsxsurfsense_web/components/shared/llm-config-form.tsxsurfsense_web/components/sidebar/all-chats-sidebar.tsxsurfsense_web/components/sidebar/all-notes-sidebar.tsxsurfsense_web/components/sidebar/nav-chats.tsxsurfsense_web/components/sources/ConnectorsTab.tsxsurfsense_web/components/sources/DocumentUploadTab.tsxsurfsense_web/components/sources/YouTubeTab.tsxsurfsense_web/components/ui/dialog.tsxsurfsense_web/app/globals.css