Simplify new workspace quick-create and wire Use button to direct launch (#913)
* Refine workspace composer controls * Working repo autofocus * after selects * Simplify workspace quick create dialog * Refine quick create form focus flow * autofocus fix * normal dialog * base dialogs * Wire Use button to launch workspace directly Skips the composer modal for the common case: creates the workspace, activates it, launches the default agent, and pastes the work-item URL into the agent's input as a reviewable draft. Falls back to the modal when setupRunPolicy is 'ask' or no compatible agent is detected. * Stretch combobox dropdowns to trigger width Repository and Agent rows in the quick-create dialog now span the full dialog width like the Workspace Name input, and their dropdown popovers inherit the trigger width so the entries align edge-to-edge with the trigger instead of clipping to a fixed 288/320px.
This commit is contained in:
+5
-2
@@ -647,8 +647,11 @@ export type GlobalSettings = {
|
||||
* does not surface commands from other worktrees. Defaults to true.
|
||||
* Disable to revert to shared global shell history. */
|
||||
terminalScopeHistoryByWorktree: boolean
|
||||
/** Which agent to pre-select in the new-workspace composer. null = auto (first detected). */
|
||||
defaultTuiAgent: TuiAgent | null
|
||||
/** Which agent to pre-select in the new-workspace composer.
|
||||
* - null: auto (first detected agent)
|
||||
* - 'blank': blank terminal (no agent launched)
|
||||
* - TuiAgent: a specific agent id */
|
||||
defaultTuiAgent: TuiAgent | 'blank' | null
|
||||
/** Why: worktree deletion is destructive (git worktree remove + rm -rf of the
|
||||
* working directory), so Orca shows a confirmation dialog by default. Users
|
||||
* who delete frequently can opt into skipping the dialog via a "Don't ask
|
||||
|
||||
Reference in New Issue
Block a user