Commit Graph
9 Commits
Author SHA1 Message Date
zhanggy 5d7d31c04d feat(模板): 添加模板复制功能并优化文件操作
- 在模板列表和创建模板界面添加复制模板功能
- 将模板卡片样式改为outlined并修正节点统计标签
- 将同步文件操作改为异步操作提升性能
- 在执行模板对话框显示当前模板名称
2025-10-31 18:42:31 +08:00
zhanggy e496aa59f4 refactor(types): 将类型定义移动到独立的types模块
将原本分散在多个文件中的TreeNode和Template类型定义集中到src/types模块中,并更新所有相关引用
修改tsconfig配置以包含新的types目录
优化IPCs中模板处理逻辑,改进文件复制和路径处理
2025-10-31 17:20:09 +08:00
zhanggy 35a0821153 refactor(模板管理): 移除未保存更改检测并提取模板卡片组件
移除CreateTemplateScreen中的未保存更改检测逻辑,简化保存和返回操作
将TemplateListScreen中的模板卡片提取为独立的TemplateCard组件
2025-10-31 16:37:06 +08:00
zhanggy 56acfb275b feat: 更新发布工作流,优化 Git 配置,添加文件和文件夹选择功能,调整模板列表标题 2025-10-29 18:58:58 +08:00
zhanggy 5ca31a5348 feat: 重构模板管理,采用树状结构存储文件和目录,优化模板创建和编辑流程 2025-10-28 18:34:31 +08:00
zhanggy 562e4f5b9e feat: 添加全局确认对话框管理器,重构对话框服务,优化用户交互体验 2025-10-28 16:34:42 +08:00
zhanggy 87ce5cb24f feat: 添加 @vueuse/core 依赖并重构模板树组件,优化创建模板界面 2025-10-27 23:28:22 +08:00
zhanggy 4f859a4933 feat: add @mdi/font and electron-devtools-installer dependencies
- Added @mdi/font for Material Design Icons support.
- Included electron-devtools-installer to facilitate Vue DevTools installation in development.

refactor: enhance CreateTemplateScreen layout and functionality

- Improved layout with a responsive design.
- Added functionality for adding directories and files with validation.
- Implemented a file content editor dialog for editing file contents.
- Updated template save logic to handle changes more effectively.

fix: update TemplateListScreen for better UX

- Enhanced template list display with improved card layout.
- Added action buttons for viewing, executing, editing, and deleting templates.
- Improved dialog handling for template details and execution.

chore: update vuetify plugin configuration

- Removed unused icon set configuration.
- Updated locale settings to use simplified Chinese.

style: clean up HeaderLayout and vuetify styles

- Removed commented-out code and unnecessary styles.
- Improved overall styling for better readability and consistency.
2025-10-27 18:19:39 +08:00
zhangguoyun 1aecd5f4b6 feat: Implement template management feature
- Added IPC handlers for selecting directories, loading, saving, and executing templates.
- Created a new TemplateListScreen for displaying and managing templates.
- Developed CreateTemplateScreen for creating and editing templates with file and directory management.
- Updated routing to include new template screens.
- Enhanced MainScreen with navigation to template management.
- Added localization for new template-related strings in English and Chinese.
- Introduced a Pinia store for managing template data.
- Implemented tests for template creation, listing, and detail viewing.
2025-10-27 15:17:32 +08:00