From c09490bab5105f3f36ff429afb78d3e1e4a2f9a6 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Fri, 17 Apr 2026 00:42:13 -0700 Subject: [PATCH] fix: autofocus composer prompt and make "Use" open composer directly - Add native autoFocus on the prompt textarea so opening the composer (full page or Cmd+J modal) lands the cursor in the prompt field instead of the workspace-name input that renders above it. - Make the "Use" pill in each GitHub work-item row a real button that opens the composer modal directly, skipping the read-only drawer. Clicking anywhere else on the row still opens the drawer preview. --- .../src/components/NewWorkspaceComposerCard.tsx | 7 +++++++ src/renderer/src/components/NewWorkspacePage.tsx | 16 ++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/NewWorkspaceComposerCard.tsx b/src/renderer/src/components/NewWorkspaceComposerCard.tsx index 838d53730..2262cc71f 100644 --- a/src/renderer/src/components/NewWorkspaceComposerCard.tsx +++ b/src/renderer/src/components/NewWorkspaceComposerCard.tsx @@ -160,6 +160,13 @@ function PromptPrefixTextarea({