新增: 多工程管理(编辑/删除确认/记忆选中/自动扫描子仓库)

- 工程编辑入口:工具栏编辑按钮+弹窗(名称/路径/Git地址)
- 工程删除二次确认:防误删
- 记住上次选中工程:localStorage 持久化
- 自动扫描子仓库:下拉菜单加扫描入口,发现 .git 子目录自动建工程
This commit is contained in:
2026-06-30 20:49:58 +08:00
parent 6b131f3dc1
commit abc6880936
6 changed files with 261 additions and 39 deletions

View File

@@ -29,5 +29,9 @@ export default {
modulePathPlaceholder: 'e.g. D:/projects/my-app/frontend',
moduleGitUrl: 'Git URL',
moduleGitUrlPlaceholder: 'https://github.com/… (optional)',
editModule: 'Edit Module',
removeModule: 'Remove Module',
removeConfirm: 'Are you sure to remove module "{name}"? This action cannot be undone.',
scanSubmodules: 'Scan sub-repositories',
},
}

View File

@@ -29,6 +29,10 @@ export default {
modulePathPlaceholder: '例如 D:/projects/my-app/frontend',
moduleGitUrl: 'Git 地址',
moduleGitUrlPlaceholder: 'https://github.com/…(可选)',
editModule: '编辑工程',
removeModule: '删除工程',
removeConfirm: '确定删除工程「{name}」吗?此操作不可撤销。',
scanSubmodules: '扫描子仓库',
// Git Changes tab
loadMore: '加载更多',
},