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
@@ -529,6 +529,16 @@ export default {
// Anderungsprotokoll
changelog: {
new_0_4_8_1: 'Safe Mermaid diagram rendering with async render and timeout fallback',
new_0_4_8_2: 'Fix nested markdown fence rendering truncation',
new_0_4_8_3: 'Fix compressed session lineage projection and search',
new_0_4_8_4: 'Optimize session list N+1 queries and fix search 500 on non-CJK input',
new_0_4_8_5: 'Fix forced scroll to bottom when switching back from other tabs',
new_0_4_8_6: 'Smooth session switch with loading transition overlay',
new_0_4_8_7: 'Fix login token validation using Hermes session endpoint',
new_0_4_8_8: 'Fix image attachments broken after page refresh (blob URL persistence)',
new_0_4_8_9: 'Click image attachments to preview in fullscreen overlay',
new_0_4_8_10: 'Move upload directory from temp to ~/.hermes-web-ui/upload',
new_0_4_7_1: 'Echtzeit-Streaming-Anzeige von Denk-/Argumentationsblocken',
new_0_4_7_2: 'Prepare-Skript wahrend Docker-Build uberspringen',
new_0_4_7_3: 'Gruppenchat-Mobile-UX-Verbesserungen und UI-Aufpolierung',
+10
View File
@@ -680,6 +680,16 @@ export default {
// Changelog
changelog: {
new_0_4_8_1: 'Safe Mermaid diagram rendering with async render and timeout fallback',
new_0_4_8_2: 'Fix nested markdown fence rendering truncation',
new_0_4_8_3: 'Fix compressed session lineage projection and search',
new_0_4_8_4: 'Optimize session list N+1 queries and fix search 500 on non-CJK input',
new_0_4_8_5: 'Fix forced scroll to bottom when switching back from other tabs',
new_0_4_8_6: 'Smooth session switch with loading transition overlay',
new_0_4_8_7: 'Fix login token validation using Hermes session endpoint',
new_0_4_8_8: 'Fix image attachments broken after page refresh (blob URL persistence)',
new_0_4_8_9: 'Click image attachments to preview in fullscreen overlay',
new_0_4_8_10: 'Move upload directory from temp to ~/.hermes-web-ui/upload',
new_0_4_7_1: 'Real-time streaming display of thinking/reasoning blocks',
new_0_4_7_2: 'Skip prepare script during Docker build',
new_0_4_7_3: 'Group chat mobile UX improvements and UI polish',
+10
View File
@@ -529,6 +529,16 @@ export default {
// Registro de cambios
changelog: {
new_0_4_8_1: 'Safe Mermaid diagram rendering with async render and timeout fallback',
new_0_4_8_2: 'Fix nested markdown fence rendering truncation',
new_0_4_8_3: 'Fix compressed session lineage projection and search',
new_0_4_8_4: 'Optimize session list N+1 queries and fix search 500 on non-CJK input',
new_0_4_8_5: 'Fix forced scroll to bottom when switching back from other tabs',
new_0_4_8_6: 'Smooth session switch with loading transition overlay',
new_0_4_8_7: 'Fix login token validation using Hermes session endpoint',
new_0_4_8_8: 'Fix image attachments broken after page refresh (blob URL persistence)',
new_0_4_8_9: 'Click image attachments to preview in fullscreen overlay',
new_0_4_8_10: 'Move upload directory from temp to ~/.hermes-web-ui/upload',
new_0_4_7_1: 'Visualizacion en streaming en tiempo real de bloques de pensamiento/razonamiento',
new_0_4_7_2: 'Omitir script de preparacion durante la construccion Docker',
new_0_4_7_3: 'Mejoras en la experiencia movil del chat grupal y pulido de UI',
+10
View File
@@ -529,6 +529,16 @@ export default {
// Journal des modifications
changelog: {
new_0_4_8_1: 'Safe Mermaid diagram rendering with async render and timeout fallback',
new_0_4_8_2: 'Fix nested markdown fence rendering truncation',
new_0_4_8_3: 'Fix compressed session lineage projection and search',
new_0_4_8_4: 'Optimize session list N+1 queries and fix search 500 on non-CJK input',
new_0_4_8_5: 'Fix forced scroll to bottom when switching back from other tabs',
new_0_4_8_6: 'Smooth session switch with loading transition overlay',
new_0_4_8_7: 'Fix login token validation using Hermes session endpoint',
new_0_4_8_8: 'Fix image attachments broken after page refresh (blob URL persistence)',
new_0_4_8_9: 'Click image attachments to preview in fullscreen overlay',
new_0_4_8_10: 'Move upload directory from temp to ~/.hermes-web-ui/upload',
new_0_4_7_1: 'Affichage en streaming en temps reel des blocs de reflexion/raisonnement',
new_0_4_7_2: 'Ignorer le script de preparation lors du build Docker',
new_0_4_7_3: 'Ameliorations UX mobile du chat de groupe et polissage de l\'interface',
+10
View File
@@ -529,6 +529,16 @@ export default {
// 更新履歴
changelog: {
new_0_4_8_1: 'Safe Mermaid diagram rendering with async render and timeout fallback',
new_0_4_8_2: 'Fix nested markdown fence rendering truncation',
new_0_4_8_3: 'Fix compressed session lineage projection and search',
new_0_4_8_4: 'Optimize session list N+1 queries and fix search 500 on non-CJK input',
new_0_4_8_5: 'Fix forced scroll to bottom when switching back from other tabs',
new_0_4_8_6: 'Smooth session switch with loading transition overlay',
new_0_4_8_7: 'Fix login token validation using Hermes session endpoint',
new_0_4_8_8: 'Fix image attachments broken after page refresh (blob URL persistence)',
new_0_4_8_9: 'Click image attachments to preview in fullscreen overlay',
new_0_4_8_10: 'Move upload directory from temp to ~/.hermes-web-ui/upload',
new_0_4_7_1: '思考/推論ブロックのリアルタイムストリーミング表示',
new_0_4_7_2: 'Dockerビルド時にprepareスクリプトをスキップ',
new_0_4_7_3: 'グループチャットのモバイルUX改善とUIのブラッシュアップ',
+10
View File
@@ -529,6 +529,16 @@ export default {
// 변경 이력
changelog: {
new_0_4_8_1: 'Safe Mermaid diagram rendering with async render and timeout fallback',
new_0_4_8_2: 'Fix nested markdown fence rendering truncation',
new_0_4_8_3: 'Fix compressed session lineage projection and search',
new_0_4_8_4: 'Optimize session list N+1 queries and fix search 500 on non-CJK input',
new_0_4_8_5: 'Fix forced scroll to bottom when switching back from other tabs',
new_0_4_8_6: 'Smooth session switch with loading transition overlay',
new_0_4_8_7: 'Fix login token validation using Hermes session endpoint',
new_0_4_8_8: 'Fix image attachments broken after page refresh (blob URL persistence)',
new_0_4_8_9: 'Click image attachments to preview in fullscreen overlay',
new_0_4_8_10: 'Move upload directory from temp to ~/.hermes-web-ui/upload',
new_0_4_7_1: '생각/추론 블록의 실시간 스트리밍 표시',
new_0_4_7_2: 'Docker 빌드 중 prepare 스크립트 건너뛰기',
new_0_4_7_3: '그룹 채팅 모바일 UX 개선 및 UI 다듬기',
+10
View File
@@ -529,6 +529,16 @@ export default {
// Registro de alteracoes
changelog: {
new_0_4_8_1: 'Safe Mermaid diagram rendering with async render and timeout fallback',
new_0_4_8_2: 'Fix nested markdown fence rendering truncation',
new_0_4_8_3: 'Fix compressed session lineage projection and search',
new_0_4_8_4: 'Optimize session list N+1 queries and fix search 500 on non-CJK input',
new_0_4_8_5: 'Fix forced scroll to bottom when switching back from other tabs',
new_0_4_8_6: 'Smooth session switch with loading transition overlay',
new_0_4_8_7: 'Fix login token validation using Hermes session endpoint',
new_0_4_8_8: 'Fix image attachments broken after page refresh (blob URL persistence)',
new_0_4_8_9: 'Click image attachments to preview in fullscreen overlay',
new_0_4_8_10: 'Move upload directory from temp to ~/.hermes-web-ui/upload',
new_0_4_7_1: 'Exibicao em streaming em tempo real de blocos de pensamento/razoamento',
new_0_4_7_2: 'Ignorar script de preparacao durante o build Docker',
new_0_4_7_3: 'Melhorias na UX mobile do chat em grupo e polimento da UI',
+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 优化',