Skip to content

内置插件支持禁用,让快捷键设置更加自由#331

Merged
lzx8589561 merged 2 commits intoZToolsCenter:mainfrom
yunser:feature/built-in-shortcut-disable
Mar 28, 2026
Merged

内置插件支持禁用,让快捷键设置更加自由#331
lzx8589561 merged 2 commits intoZToolsCenter:mainfrom
yunser:feature/built-in-shortcut-disable

Conversation

@cjhgit
Copy link
Copy Markdown
Member

@cjhgit cjhgit commented Mar 27, 2026

No description provided.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@Yueby
Copy link
Copy Markdown
Collaborator

Yueby commented Mar 28, 2026

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the ability to toggle built-in shortcuts (search, close plugin, and kill plugin) through the settings interface. Key changes include updating the ShortcutsSetting UI with toggle switches, modifying the windowStore to manage the enablement state, and updating both the main and renderer processes to respect these settings when handling keyboard events like Cmd+F, Cmd+W, and Cmd+Q. Additionally, the general settings save logic was updated to prevent overwriting these new configuration fields. I have no feedback to provide as there were no review comments to assess.

@lzx8589561 lzx8589561 merged commit 1854035 into ZToolsCenter:main Mar 28, 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.

3 participants