chore: add v0.4.8 changelog and improve scroll behavior (#234)

* chore: add v0.4.8 changelog and improve scroll behavior

- Add v0.4.8 changelog entries for recent fixes
- Fix forced scroll to bottom when returning from other tabs
- Smooth session switch with loading transition overlay
- Auto-scroll to bottom after mermaid diagram rendering
- Bump version to 0.4.8

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: replace blob URLs with persistent download URLs and add image preview

- Replace blob URLs with /api/hermes/download URLs after upload so
  attachments survive page refresh
- Add click-to-preview overlay for image attachments
- Move upload directory from /tmp to ~/.hermes-web-ui/upload

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: replace findLast with reverse+find for ES2022 compat

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* chore: bump TypeScript lib target from ES2022 to ES2023

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: add changelog entries for blob URL fix, image preview and upload dir

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ekko
2026-04-26 13:28:08 +08:00
committed by GitHub
parent bc66998650
commit 0446385a37
16 changed files with 219 additions and 12 deletions
+10
View File
@@ -682,6 +682,16 @@ export default {
// 更新日志
changelog: {
new_0_4_8_1: '安全渲染 Mermaid 图表,支持异步渲染和超时降级',
new_0_4_8_2: '修复嵌套 Markdown 代码块导致渲染截断',
new_0_4_8_3: '修复压缩续接会话投影和搜索问题',
new_0_4_8_4: '优化会话列表 N+1 查询,修复非 CJK 搜索 500 错误',
new_0_4_8_5: '修复切换标签页返回时强制滚动到底部',
new_0_4_8_6: '切换会话时添加加载过渡动画',
new_0_4_8_7: '修复登录 Token 验证使用正确的会话端点',
new_0_4_8_8: '修复刷新页面后图片附件失效问题',
new_0_4_8_9: '点击图片附件可全屏预览',
new_0_4_8_10: '上传目录从临时目录迁移到 ~/.hermes-web-ui/upload',
new_0_4_7_1: '实时流式显示思考/推理过程',
new_0_4_7_2: 'Docker 构建时跳过 prepare 脚本',
new_0_4_7_3: '群聊移动端体验改进和 UI 优化',