Skip to content

Phase 1: extract composer and landing modules from SidebarChat#74

Merged
Pterjudin merged 1 commit into
mainfrom
feat/phase1-composer-landing-split
Jul 22, 2026
Merged

Phase 1: extract composer and landing modules from SidebarChat#74
Pterjudin merged 1 commit into
mainfrom
feat/phase1-composer-landing-split

Conversation

@Pterjudin

Copy link
Copy Markdown

Summary

  • Extract VoidChatArea, ButtonSubmit, ButtonStop, SelectedFiles, and ScrollToBottomContainer into sidebar-tsx/composer/
  • Extract landing page UI (LandingPage, QuickActionsBar, ContextChipsBar, SuggestedPrompts) into sidebar-tsx/landing/
  • Shrink SidebarChat.tsx from ~4,787 → ~3,912 lines while keeping re-exports for existing consumers
  • Point QuickEditChat at the composer module directly

Test plan

  • npm run buildreact — build succeeds
  • npm run test-phase0-qa — 88 unit tests passing
  • Manual: open chat sidebar — landing page (logo, quick actions, suggested prompts) renders
  • Manual: start a thread — composer input, model dropdown, file selections work
  • Manual: Ctrl+K quick edit still opens and submits

Made with Cursor

Split VoidChatArea, SelectedFiles, ScrollToBottomContainer, and the landing page UI into dedicated modules to shrink SidebarChat and continue Sprint 1 modularization.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 22, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@Pterjudin
Pterjudin merged commit 4546ac4 into main Jul 22, 2026
14 of 26 checks passed
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.

1 participant