Skip to content

refactor(ui): extract ChatMessageList and context usage from SidebarChat#81

Merged
Pterjudin merged 1 commit into
mainfrom
feat/phase1-chat-message-list-extract
Jul 23, 2026
Merged

refactor(ui): extract ChatMessageList and context usage from SidebarChat#81
Pterjudin merged 1 commit into
mainfrom
feat/phase1-chat-message-list-extract

Conversation

@Pterjudin

Copy link
Copy Markdown

Summary

  • Extract message scroll/streaming UI into composer/ChatMessageList.tsx (fixes missing ProseWrapper import path in the shell)
  • Extract staging context chips and context-budget hook into StagingContextChips.tsx and useContextUsage.ts
  • Thin SidebarChat.tsx (~800 lines), export scrollToBottom for mount callback, and migrate Void onboarding welcome CTAs to .btn-primary / .btn-secondary

Test plan

  • npm run buildreact — sidebar bundle builds cleanly
  • npm run test-phase0-qa — 97/97 passing (includes new Void onboarding design-system contract test)
  • ./scripts/code.sh — open sidebar chat, send a message, verify streaming + context bar
  • Confirm staging chips and error states render in thread view

Made with Cursor

Thin SidebarChat by moving the message scroll area, staging chips, and context budget hook into composer modules, and migrate Void onboarding CTAs to design-system buttons.

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

cursor Bot commented Jul 23, 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 69e87b1 into main Jul 23, 2026
14 of 26 checks passed
@Pterjudin
Pterjudin deleted the feat/phase1-chat-message-list-extract branch July 23, 2026 13:10
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