docs: update indicator is a hint text, not a red button
Replace the red-dot-on-the-gear treatment with a low-key blue "发现新版本 vX.Y.Z" label to the left of the ⚙ 配置 button (red reads as error; the text is clearer and shows the version). docs/07 §4.3, docs/10 §12 and related wording updated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -972,7 +972,7 @@
|
||||
前置阅读:
|
||||
|
||||
- `docs/10-lan-update.md`(§3 两阶段架构、§6 时机、§8 流程、§12 体验)
|
||||
- `docs/07-ui-design.md`(4.3 角标、4.4 设置对话框「检查并更新」)
|
||||
- `docs/07-ui-design.md`(4.3 有新版本提示、4.4 设置对话框「检查并更新」)
|
||||
|
||||
背景:
|
||||
|
||||
@@ -982,11 +982,11 @@
|
||||
|
||||
- [x] `services/installer.py`:`download_and_stage()`(app 运行时下载→SHA-256→解压→`staging\app.new`)、`apply_staged()`(启动器秒切 `app/app.old`,含「不比当前新则丢弃」「移动失败回滚」)、`staged_version()`、`is_writable`
|
||||
- [x] `launcher.py` 瘦身:seed + `apply_staged` + 启动,不联网;`tests/test_launcher.py` 重写
|
||||
- [x] `main_window`:发现新版点亮 `⚙ 配置` 红点(删除旧阻塞横幅与「打开更新目录」)
|
||||
- [x] `main_window`:发现新版在 `⚙ 配置` 左侧显示蓝色提示文字(删除旧阻塞横幅与「打开更新目录」)
|
||||
- [x] `settings_dialog`:加「检查并更新」→ 下载暂存 → 「下次启动生效」
|
||||
- [x] `tests/test_installer.py` 11 个单测 + 本地 HTTP server 真实端到端(下载暂存→app 不动→应用切换)
|
||||
- [x] 文档:`docs/10` §3/§6/§8/§12/§16/§18、`docs/07` §4.3/§4.4 对齐
|
||||
- [ ] GUI 实测:角标点亮 → 设置里更新 → 重启生效(真机)
|
||||
- [ ] GUI 实测:提示文字出现 → 设置里更新 → 重启生效(真机)
|
||||
|
||||
## 18. 后续暂缓任务
|
||||
|
||||
|
||||
Reference in New Issue
Block a user