feat(ui): 虾导等待状态分级提示 + 更新提示改版 + 头图视频改走 CDN#122
Merged
Merged
Conversation
Signed-off-by: wen xin <1464521427@qq.com>
视频已上传到 oss://nfg-web/dramaclaw/update/,按仓库既有约定走 nfg-web-assets.cdnfg.com 域名引用(OSS 默认域名会强制下载,播不了)。 仓库内那份 903KB 的本地副本随之删除,并从 license inventory 退登记。 顺带把本分支新增的 4 个 superchat 文件补登记进 license inventory, 否则 deps 关卡的 test_license_inventory_covers_current_git_index 会挂。 Signed-off-by: wen xin <1464521427@qq.com>
lywaterman
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
基于
zhen2025109/ui-yz01,已 rebase 到最新 main(含 #121)。虾导(SuperChat)等待状态
features/superchat/composer-waiting-status.tsx,配合index.css新增的superchat-thinking-wave关键帧(透明度 + scaleY 呼吸波纹)。features/superchat/timeline-scroll.ts:calculateTimelineContextDelta()纯函数,算时间线节点贴近视口边缘时该补的滚动偏移(边距viewportHeight * 0.22,钳在 48–96px)。superchat-panel.tsx接入上述两者。waitingResponses(五条)→waitingLongResponse「这次处理比平时久」→waitingVeryLongResponse「你可以继续等待或停止」。composer-waiting-status.test.tsx、timeline-scroll.test.ts。更新提示改版
app-update-available.tsx:卡片改为 54px 高的紧凑胶囊条(图标 + 单行标题 + 刷新 + 关闭横排)。VersionUpdateDialog.tsx:弹窗 400px → 360px;顶部Sparkles图标换成自动播放的循环视频头图。app.versionUpdate.title加 🎉 前缀。头图视频改走 CDN
视频已上传到
oss://nfg-web/dramaclaw/update/,按仓库既有约定(login-community.ts/cinematic/media.ts同款 base)改为引用https://nfg-web-assets.cdnfg.com/dramaclaw/update/version-update-2026-06-22.mp4。必须走 CDN 域名——OSS 默认域名会强制下载,视频播不了。已验证:200 /Content-Type: video/mp4/ 无Content-Disposition/ 字节数与原文件一致。仓库内那份 903KB 的本地副本(此前是无人引用的孤儿资源)随之删除,并从 license inventory 退登记。
顺带修掉的 CI 阻塞
本分支新增的 4 个 superchat 文件从未登记进
license-inventory.csv,不补的话deps关卡的test_license_inventory_covers_current_git_index必挂。已一并补上。rebase 冲突处理
与 main 只有一处冲突:两个
translation.json的aiAssistant.waitingResponses。按分支意图保留了本分支的五条文案;main 上的其余文案(含ingest.novelFormat)原样保留。验证
tsc -b干净;vitest run全过;vite build通过;合规测试 15 项全过。🤖 Generated with Claude Code