Skip to content

feat(chat): 优化聊天排版与流式文字显示 - #398

Merged
Qiyuanqiii merged 1 commit into
mainfrom
Qiyuanqiii/chat-typography
Oct 19, 2026
Merged

Qiyuanqiii merged 1 commit into
mainfrom
Qiyuanqiii/chat-typography

Conversation

@Qiyuanqiii

Copy link
Copy Markdown
Member

聊天正文从 15 px / 25.5 px 行高调整为 14 px / 22.75 px,保持正常字距;已完成段落使用智能换行,标题均衡换行,正文外链随主题文字配色并保留下划线。

实时回复只对新追加的正文片段做 150 ms 轻微模糊淡入。首次打开、历史回复、文本修正和代码块直接显示;减少动态效果时关闭动画。Markdown、文件链接与复制内容保持完整,中文、组合 Emoji 和实体转义有对应测试。同步更新使用说明和 README 引用的浅色、深色、雾透及分割截图。

验证:

  • 77 项定向测试通过,覆盖叙事缓存、流式追加、Markdown、投影与对话滚动。
  • npm run build 通过。
  • Windows / Edge 实际检查 1440 × 900 与 390 × 844 页面;流式淡入、减少动态效果、长标识符换行、表格、代码块与链接配色已验证。截图使用本地离线演示内容。

调整前:
调整前

调整后:
调整后

@Qiyuanqiii
Qiyuanqiii merged commit e04a490 into main Oct 19, 2026
22 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