Repository navigation
[codex] update help and about menu - #37
Merged
Merged
Conversation
ygsgdbd
marked this pull request as ready for review
August 19, 2026 09:05
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与用户影响
TypeSwitch 原先将版本号、仓库、帮助、诊断和问题反馈平铺在一级菜单中,占用了输入法管理功能的可见空间。版本号本身不可点击,同时更新检查只能由用户手动触发,无法在不打断用户的情况下提示新版本。
根因
应用直接把所有支持入口放在
AppInfoView根层级,并让 Sparkle 使用默认的交互式检查入口。项目没有长期持有的更新状态对象,也没有接管 Sparkle 的 scheduled update 展示流程,因此无法把后台检查结果转换成菜单状态,同时抑制自动弹窗。修改内容
SparkleUpdateMonitor,管理空闲、检查中和发现新版本三种状态,并保存 Sparkle appcast 提供的显示版本号。TypeSwitch v版本号打开项目仓库,让开发者菜单打开作者 GitHub 主页。验证
rtk just checkgit diff --check通过