✨ feat(vscode): 工具栏发布按钮与下拉菜单
Claude-Session: https://claude.ai/code/session_01HTMgwaE3woqM5yvsHiuSAa
This commit is contained in:
1 parent
b363e08ef9
commit
d04048148a
6 files changed
+120
-121
No files matched your search
@@ -28,6 +28,8 @@ export async function handleReleaseStatus(panel: KanbanWebviewPanel): Promise<vo
|
||||
devBranch: s.devBranch,
|
||||
nextBranch: todayReleaseBranch(s.releaseBranchPrefix),
|
||||
running: panel.releaseRunning,
|
||||
// webview 只在设置弹窗打开时才有设置快照,「部署」菜单项是否显示由这里告诉它
|
||||
jenkinsConfigured: s.jenkinsJob.length > 0,
|
||||
}
|
||||
if (!root) {
|
||||
panel.postMessage({ ...base, unreleased: 0, unavailable: '请先打开一个工作区文件夹' })
|
||||
|
||||
@@ -120,6 +120,7 @@ export type ExtensionToWebview
|
||||
unreleased: number
|
||||
unavailable?: string
|
||||
running: boolean
|
||||
jenkinsConfigured: boolean
|
||||
}
|
||||
| { type: 'env-lock/status', locked: boolean, fileCount: number, failedCount?: number }
|
||||
| { type: 'issue/remove', issueNumber: number }
|
||||
|
||||
Reference in new issue
Block a user