Skip to content

feat(setting): 匹配指令的详情信息页#494

Merged
lzx8589561 merged 3 commits into
ZToolsCenter:mainfrom
guopenghui:feature/match-command-detail
May 17, 2026
Merged

feat(setting): 匹配指令的详情信息页#494
lzx8589561 merged 3 commits into
ZToolsCenter:mainfrom
guopenghui:feature/match-command-detail

Conversation

@guopenghui

Copy link
Copy Markdown
Contributor

变更内容

给【全部指令】页和插件详情页指令的下拉菜单,添加 【详细信息】选项以及对应的对话框

动机

方便用户查看各【匹配指令】的具体匹配条件,从而方便用户快速上手插件。

截图

image image image

相关issue

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

Copy link
Copy Markdown
Contributor

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 a new MatchCommandDetailDialog component to display detailed configuration for various command types (regex, files, window, etc.) and integrates it into the plugin detail and command settings views. Key improvements include better type safety for command matching and helper functions for extracting command metadata. Feedback focuses on refactoring opportunities: extracting hardcoded Chinese strings for internationalization, unifying duplicate type definitions for MatchCmd across files, and consolidating repeated dialog logic into a shared composable to reduce code redundancy.

Comment thread internal-plugins/setting/src/components/common/PluginDetail/PluginDetailTabs.vue Outdated
@lzx8589561 lzx8589561 merged commit 5c4da7c into ZToolsCenter:main May 17, 2026
@guopenghui guopenghui deleted the feature/match-command-detail branch May 17, 2026 14:03
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.

[Feature] 可查看“匹配指令”的正则细节

2 participants