Skip to content

feat : disable rename button and dynamic imports#1040

Open
JoeMakuta wants to merge 3 commits intoMODSetter:devfrom
JoeMakuta:feat/disable-rename-button-and-dynamic-imports
Open

feat : disable rename button and dynamic imports#1040
JoeMakuta wants to merge 3 commits intoMODSetter:devfrom
JoeMakuta:feat/disable-rename-button-and-dynamic-imports

Conversation

@JoeMakuta
Copy link
Copy Markdown
Contributor

@JoeMakuta JoeMakuta commented Mar 30, 2026

Description

Motivation and Context

FIX #1037
FIX #1016
FIX #1014

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 addresses three issues: it disables the rename button when the chat title hasn't changed, improves navigation logic for creating new chats by simplifying router sync handling, and implements dynamic imports for the PlateEditor component across multiple panels to improve performance by enabling code splitting and preventing SSR rendering issues.

⏱️ Estimated Review Time: 5-15 minutes

💡 Review Order Suggestion
Order File Path
1 surfsense_web/components/layout/providers/LayoutDataProvider.tsx
2 surfsense_web/components/layout/ui/right-panel/RightPanel.tsx
3 surfsense_web/components/editor-panel/editor-panel.tsx
4 surfsense_web/components/hitl-edit-panel/hitl-edit-panel.tsx
5 surfsense_web/components/report-panel/report-panel.tsx

Need help? Join our Discord

Analyze latest changes

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

@JoeMakuta 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
Copy Markdown

@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 05030f6..fb72bb2

✨ No bugs found, your code is sparkling clean

✅ Files analyzed, no issues (5)

surfsense_web/components/editor-panel/editor-panel.tsx
surfsense_web/components/hitl-edit-panel/hitl-edit-panel.tsx
surfsense_web/components/layout/providers/LayoutDataProvider.tsx
surfsense_web/components/layout/ui/right-panel/RightPanel.tsx
surfsense_web/components/report-panel/report-panel.tsx

@MODSetter
Copy link
Copy Markdown
Owner

@JoeMakuta Thanks. Can you fix the merge conflicts.

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