mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2026-07-16 09:14:25 -04:00
[PR #182] [MERGED] feat: Streamdown integration and UI/UX improvements #190
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/webapp-conversation/pull/182
Author: @lyzno1
Created: 9/14/2025
Status: ✅ Merged
Merged: 9/15/2025
Merged by: @crazywoola
Base:
main← Head:feature/streamdown-and-fixes📝 Commits (10+)
9ff81c0fix: update cookies() usage for Next.js 15 compatibilityba95a43fix: assistant answer pb3025356feat: question use streamdown2d42690fix: max answer bubble width672ad29Integrate Streamdown and optimize chat layoutc907432fix: send button ui7a07e8dFix auto-scroll for page-level scrolling532aba0fix: filter empty URLs in image gallery to prevent browser reload0cb8fdcfix: await params in dynamic route for Next.js 15 compatibility18a4229✨Error: Route "/api/messages/[messageId]/feedbacks" usedparams.messageId.paramsshould be awaited before using its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis📊 Changes
19 files changed (+77 additions, -60 deletions)
View changed files
📝
app/api/conversations/[conversationId]/name/route.ts(+2 -2)📝
app/api/messages/[messageId]/feedbacks/route.ts(+2 -2)📝
app/api/utils/common.ts(+3 -3)📝
app/components/base/image-gallery/index.tsx(+6 -3)📝
app/components/base/streamdown-markdown.tsx(+1 -1)📝
app/components/base/tooltip/index.tsx(+29 -17)📝
app/components/chat/answer/index.tsx(+1 -1)📝
app/components/chat/index.tsx(+3 -3)📝
app/components/chat/question/index.tsx(+2 -2)📝
app/components/index.tsx(+19 -14)📝
app/components/welcome/index.tsx(+0 -1)📝
app/layout.tsx(+2 -2)📝
config/index.ts(+1 -1)📝
i18n/lang/app.fr.ts(+0 -1)📝
i18n/lang/common.fr.ts(+0 -1)📝
i18n/lang/tools.fr.ts(+0 -1)📝
i18n/server.ts(+4 -3)📝
package.json(+1 -1)📝
types/app.ts(+1 -1)📄 Description
Summary
Integrate Streamdown library for optimized AI streaming and fix various UI/UX issues including layout, scrolling, and Next.js 15 compatibility.
Key Changes
Technical Details
streamdownpackage (v1.2.0) for improved markdown streaminggetLocaleOnServerandLocaleLayoutasync for Next.js 15Dependencies
This PR should be merged after #181 (ESLint v9 migration) to avoid conflicts.
Split from #180 for easier review.
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.