✨ feat(vscode): 摘修复可按作者筛选,高亮发布点后第一条
This commit is contained in:
1 parent
54fc2ead4c
commit
beb7750eac
9 files changed
+137
-33
No files matched your search
@@ -249,7 +249,7 @@ export interface UseIssuesResult {
|
||||
/** 发布按钮三个动作;running 由扩展侧状态决定,webview 不自置。 */
|
||||
runRelease: (action: ReleaseAction) => void
|
||||
/** 摘修复选单:扩展推来分组后的未发布提交。 */
|
||||
cherryPick: { branch: string, groups: ReleaseCommitGroup[] } | null
|
||||
cherryPick: { branch: string, groups: ReleaseCommitGroup[], firstAfterReleaseSha?: string } | null
|
||||
dismissCherryPick: () => void
|
||||
confirmCherryPick: (shas: string[]) => void
|
||||
/**
|
||||
@@ -342,7 +342,7 @@ export function useIssues(): UseIssuesResult {
|
||||
const [commitRunning, setCommitRunning] = useState<boolean>(false)
|
||||
const [hasChanges, setHasChanges] = useState<boolean>(false)
|
||||
const [release, setRelease] = useState<ReleaseStatus>()
|
||||
const [cherryPick, setCherryPick] = useState<{ branch: string, groups: ReleaseCommitGroup[] } | null>(null)
|
||||
const [cherryPick, setCherryPick] = useState<{ branch: string, groups: ReleaseCommitGroup[], firstAfterReleaseSha?: string } | null>(null)
|
||||
const [envLocked, setEnvLocked] = useState<boolean>(false)
|
||||
const [envFileCount, setEnvFileCount] = useState<number>(0)
|
||||
const [envLockRunning, setEnvLockRunning] = useState<boolean>(false)
|
||||
@@ -864,7 +864,7 @@ export function useIssues(): UseIssuesResult {
|
||||
setRelease(msg)
|
||||
break
|
||||
case 'release/pick-show':
|
||||
setCherryPick({ branch: msg.branch, groups: msg.groups })
|
||||
setCherryPick({ branch: msg.branch, groups: msg.groups, firstAfterReleaseSha: msg.firstAfterReleaseSha })
|
||||
break
|
||||
case 'env-lock/status': {
|
||||
setEnvLocked(msg.locked)
|
||||
|
||||
Reference in new issue
Block a user