✨ feat(vscode): 摘修复按 PR 分组框选,可搜作者和标题
This commit is contained in:
1 parent
0031851df3
commit
3e3750c494
9 files changed
+353
-42
No files matched your search
@@ -2,6 +2,7 @@ import type { PastedImage } from './components/NewIssueModal'
|
||||
import type { Issue } from './types'
|
||||
import { useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { BottomTabs } from './components/BottomTabs'
|
||||
import { CherryPickModal } from './components/CherryPickModal'
|
||||
import { HandoffModal } from './components/HandoffModal'
|
||||
import { KanbanBoard } from './components/KanbanBoard'
|
||||
import { LogModal } from './components/LogModal'
|
||||
@@ -69,6 +70,9 @@ export function App() {
|
||||
hasChanges,
|
||||
release,
|
||||
runRelease,
|
||||
cherryPick,
|
||||
dismissCherryPick,
|
||||
confirmCherryPick,
|
||||
envLocked,
|
||||
envFileCount,
|
||||
envLockRunning,
|
||||
@@ -183,6 +187,8 @@ export function App() {
|
||||
return
|
||||
if (showLogs)
|
||||
return
|
||||
if (cherryPick !== null)
|
||||
return
|
||||
if (settingsOpen)
|
||||
return
|
||||
if (handoffIssue !== null || handoffSession !== null)
|
||||
@@ -285,7 +291,7 @@ export function App() {
|
||||
|
||||
window.addEventListener('keydown', onKeyDown)
|
||||
return () => window.removeEventListener('keydown', onKeyDown)
|
||||
}, [state.status, showNewIssueModal, showLogs, settingsOpen, ordered, selectedId, selectedIssue, resumeSession])
|
||||
}, [state.status, showNewIssueModal, showLogs, settingsOpen, cherryPick, ordered, selectedId, selectedIssue, resumeSession])
|
||||
|
||||
// When the user is being forced into first-time setup, the kanban behind
|
||||
// the modal has nothing meaningful to show — replace the spinner with a
|
||||
@@ -491,6 +497,13 @@ export function App() {
|
||||
setHandoffSession(null)
|
||||
}}
|
||||
/>
|
||||
<CherryPickModal
|
||||
open={cherryPick !== null}
|
||||
branch={cherryPick?.branch ?? ''}
|
||||
groups={cherryPick?.groups ?? []}
|
||||
onCancel={dismissCherryPick}
|
||||
onConfirm={confirmCherryPick}
|
||||
/>
|
||||
<LogModal
|
||||
open={showLogs}
|
||||
entries={logs}
|
||||
|
||||
Reference in new issue
Block a user