Skip to content

feat(keys): add set_mode:english/chinese to global key action menu - #1

Open
mystery4f wants to merge 1 commit into
huanfeng:mainfrom
mystery4f:feat/set-mode-verbs
Open

mystery4f wants to merge 1 commit into
huanfeng:mainfrom
mystery4f:feat/set-mode-verbs

Conversation

@mystery4f

Copy link
Copy Markdown

What

  • Key binding editor: two new verbs under the existing 状态切换 (state switching) category: set_mode:english / set_mode:chinese, so bindings written by hand no longer show the "(current value, target may no longer exist)" false warning.
  • verb_requires_modifier whitelist extended to match core's requires_modifier_key (mirrors wind-config DISPATCH_ACTIONS; both lists are hand-written, no compile-time link).

Pairs with huanfeng/WindInput#324 (core side). No factory defaults changed.

Tests

  • cargo test: 1768 passed (new category + modifier classification tests); 1 pre-existing failure in pages::compat::mock is a CRLF/LF fixture issue on this machine, unrelated.

定向切换两个动词进入功能目录,归「状态切换」分类;限修饰键判定同步收编
(与 core requires_modifier_key 对齐)。此前手写配置里的绑定在界面上显示为
「(当前值,目标可能已不存在)」假警告且无选项可选。
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@mystery4f

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@mystery4f

Copy link
Copy Markdown
Author

recheck

github-actions Bot added a commit that referenced this pull request Nov 12, 2026
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