mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-01 15:03:57 +08:00
feat(commands): add create button and file browser to commands page
- Add "New Command" button to CommandsManagerPage header - Integrate CommandCreateDialog for creating/importing commands - Add file browser button to source path input in CommandCreateDialog - Uses FloatingFileBrowser component for file selection - Supports browsing project directory for .md command files - Add i18n keys for browse file button (en/zh) Users can now create commands via: 1. Import existing .md file (with visual file picker) 2. AI-generate new command from description
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
"sourcePath": "Source File Path",
|
||||
"sourcePathPlaceholder": "Enter absolute path to command file",
|
||||
"sourcePathHint": "File must be a valid command markdown file",
|
||||
"browseFile": "Browse files",
|
||||
"customName": "Custom Name",
|
||||
"customNamePlaceholder": "Leave empty to use original name",
|
||||
"customNameHint": "Optional, overrides default command name",
|
||||
|
||||
@@ -74,6 +74,7 @@
|
||||
"sourcePath": "源文件路径",
|
||||
"sourcePathPlaceholder": "输入命令文件的绝对路径",
|
||||
"sourcePathHint": "文件必须是有效的命令 Markdown 文件",
|
||||
"browseFile": "浏览文件",
|
||||
"customName": "自定义名称",
|
||||
"customNamePlaceholder": "留空则使用原始名称",
|
||||
"customNameHint": "可选,覆盖默认命令名称",
|
||||
|
||||
Reference in New Issue
Block a user