Skip to content

Conversation

@CREDO23
Copy link
Contributor

@CREDO23 CREDO23 commented Dec 30, 2025

Description

  • Modularize thread.tsx into focused component modules
  • Remove duplicates in the connectors popover

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

Analyze latest changes

Need help? Join our Discord

- Split 1,089-line thread.tsx into 10 smaller, focused modules
- Created dedicated files for thinking-steps, welcome, composer, messages, etc.
- No breaking changes - all logic preserved exactly as before
- Improved code organization and maintainability
- Show document count badges for each document type
- Filter to only show non-indexable connectors
- Only display document types with at least 1 document
- Update total source count to reflect filtered connectors
@vercel
Copy link

vercel bot commented Dec 30, 2025

@CREDO23 is attempting to deploy a commit to the Rohan Verma's projects Team on Vercel.

A member of the Team first needs to authorize it.

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 2387004..5b39b32

✨ No bugs found, your code is sparkling clean

✅ Files analyzed, no issues (10)

surfsense_web/components/assistant-ui/assistant-message.tsx
surfsense_web/components/assistant-ui/branch-picker.tsx
surfsense_web/components/assistant-ui/composer-action.tsx
surfsense_web/components/assistant-ui/composer.tsx
surfsense_web/components/assistant-ui/edit-composer.tsx
surfsense_web/components/assistant-ui/thinking-steps.tsx
surfsense_web/components/assistant-ui/thread-scroll-to-bottom.tsx
surfsense_web/components/assistant-ui/thread-welcome.tsx
surfsense_web/components/assistant-ui/thread.tsx
surfsense_web/components/assistant-ui/user-message.tsx

@CREDO23 CREDO23 changed the title Refactor modularize threadtsx into focused component modules [Refactor][Fix] Modularize thread.tsx and fix connector popover in chat page Dec 30, 2025
@MODSetter MODSetter merged commit b0b7d33 into MODSetter:dev Dec 31, 2025
4 of 7 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 5b39b32..5b39b32

✨ No files to analyze

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.

2 participants