feat(chat): improve chat layout and suggested questions UX

Refine input field, session sidebar, suggested questions refresh, and
embed channel preview for a cleaner chat creation experience.
This commit is contained in:
wizardchen
2026-06-16 00:49:52 +08:00
committed by lyingbug
parent c6f1b54f73
commit 283dbbd577
7 changed files with 509 additions and 323 deletions
@@ -112,6 +112,7 @@ export function useEmbedChatSession(options: {
const {
shouldRenderAssistantMessage,
shouldShowGlobalTypingIndicator,
handleMsgList,
processStreamChunk,
} = useChatStreamHandler({
@@ -359,6 +360,7 @@ export function useEmbedChatSession(options: {
userHasScrolledUp,
isFirstEnter,
shouldRenderAssistantMessage,
shouldShowGlobalTypingIndicator,
getUserQuery,
handleScroll,
scrollToBottom,