Repository navigation
Simplify new workspace quick-create and wire Use button to direct launch - #913
Merged
Merged
Conversation
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.
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.
6 of 9 tasks
9 tasks done
MarcCG0
added a commit
to MarcCG0/orca
that referenced
this pull request
Oct 11, 2026
Cmd+N gets a Prompt field below Workspace Name. Type the task, submit, and the worktree is created in the background; the agent launches with that prompt already submitted once setup finishes, so there is nothing to re-type into the agent tab. The composer already carried `agentPrompt` state and a prompt-to-launch path — only the removed "full" composer could reach it (stablyai#913). This reconnects that path instead of adding a parallel one: - `resolveQuickCreateLinkedWorkItemPrompt` becomes `resolveQuickCreateAgentPrompt` and takes the typed prompt. Unlinked creates auto-submit it; when a work item is linked, the prompt is prepended to the existing draft so untrusted provider prose stays reviewable. - Prompt resolution moves into quick-submit-preparation, beside the note it already trims. - quick-submit-action reuses the derived `workspaceSeedName` rather than recomputing the seed with a hardcoded empty prompt, so a blank name slugs the branch from the prompt. Folder workspaces share the dialog and already auto-submitted the note as the first agent message; a typed prompt now takes that role and the note-only behavior is preserved when no prompt is typed. The note stays the workspace card comment for git worktrees. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
…nch (stablyai#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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
pnpm -s run lint)setupRunPolicy === 'ask'opens the composer modal