Skip to content

chore: 1.2.1 patch fixes and code/doc cleanup - #264

Merged
wangzhizhou merged 2 commits into
mainfrom
dev
Nov 9, 2026
Merged

wangzhizhou merged 2 commits into
mainfrom
dev

Conversation

@wangzhizhou

Copy link
Copy Markdown
Contributor

P0 · 1.2.1 补丁档(行为面只动安装与无障碍)

  1. 覆盖安装后若旧宿主还在跑备份 inode:交互式安装会问是否重启;LAMPYRIS_RESTART_HOST=1 可自动;非交互提示命令。
  2. 输入源被移出启用列表时:给出恢复步骤,交互式或 LAMPYRIS_OPEN_SETTINGS=1 打开「键盘 → 文字输入」设置页(不写系统偏好)。
  3. 练习页无障碍:作答格 textField 角色 + 实时值、进度条数值、判分结果 VoiceOver 播报、键位图 help。
  4. 回归稳定性:离线回归默认并发 min(4, cpu),受影响测试编译上限 45/90s → 180s(6 并发曾连续 5 个文件假超时)。
  5. docs/故障恢复.md 新增 §4.3/§4.4(输入源未选中、Terminal 吞 ⌥L)。

代码/文档审计清理(全部零引用)

  • 删除 PracticeRootRowView.swift、PracticeWindow.iconButton/toolbarButtons/answerHeight、PracticeQuestion.rootHint、KeyboardMapView.accessibilitySummary、PracticeAnswerView.setTextForTesting。
  • 删除零引用资源 yinghuo-icon-v4-menu-template.png、yinghuo-official-icon-navy-v1.png 与脚本 run-selection-probe.py。
  • docs/迭代计划-1.2.0.md → docs/archive/(已登记);macos-release-checklist.md 标注历史;docs/README.md/reviews/README.md/待办与积压.md 对齐。
  • 刻意保留 docs/design|reviews|history|archive(历史证据),如需瘦身单独决策。

版本推进 1.2.1 / build 40,发布稿 docs/releases/1.2.1.md;tag 待授权。

验证:make verify PASS、离线 62 文件 / 328 例 PASS;报告 docs/reviews/263-1.2.1-audit-cleanup.md。

…ctice code

Installer now restarts a host still running the backed-up bundle (interactive or via env), and routes to
the keyboard settings pane when the source is missing from the enabled list. The practice window gained
VoiceOver labels and result announcements, the offline runner defaults to four jobs to stop false compile
timeouts, and the unused root-row view plus several dead members are gone.

Signed-off-by: wangzhizhou <824219521@qq.com>
Installer now restarts a host that still runs the backed-up bundle and routes to keyboard settings when
the input source went missing; the practice window has VoiceOver labels and announcements; the offline
runner defaults to four jobs to stop false compile timeouts. Removes the unused root-row view, several
dead members, two unreferenced icons and an unused probe script, archives the finished 1.2.0 plan, marks
the old release checklist as history and re-indexes the docs.

Signed-off-by: wangzhizhou <824219521@qq.com>
@wangzhizhou
wangzhizhou merged commit 0961fdf into main Nov 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant