Skip to content

Split SME chat list and add smarter auto-scroll#422

Merged
BunsDev merged 1 commit intomainfrom
okcode/sme-chat-optimization
Apr 13, 2026
Merged

Split SME chat list and add smarter auto-scroll#422
BunsDev merged 1 commit intomainfrom
okcode/sme-chat-optimization

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 13, 2026

Summary

  • Extracted SME message rendering into a dedicated SmeMessageList component.
  • Added scroll-position tracking so the chat only auto-scrolls when the user is already near the bottom.
  • Kept streaming assistant output and the sending state inside the new list component, and memoized message bubbles to reduce unnecessary rerenders.

Testing

  • Not run (PR content only).

- Move message rendering into a memoized list component
- Add scroll-aware auto-follow behavior during streaming and send states
- Render streaming text as plain text and simplify bubble updates
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 13, 2026 1:55am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 13, 2026 1:55am

@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Apr 13, 2026
@BunsDev BunsDev merged commit 1c85544 into main Apr 13, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant