Skip to content

Fix 'Start Chat' from bash quick actions when no chat is open#100

Open
mcintyre94 wants to merge 1 commit intomainfrom
chat-with-claude-about-command-outputs-e3bc1cba
Open

Fix 'Start Chat' from bash quick actions when no chat is open#100
mcintyre94 wants to merge 1 commit intomainfrom
chat-with-claude-about-command-outputs-e3bc1cba

Conversation

@mcintyre94
Copy link
Owner

Summary

  • When running bash from Quick Actions outside a chat (e.g. Overview tab), the "Start Chat" button was silently broken — it guarded on an existing chatViewModel being non-nil and did nothing if no chat was open
  • Now it always creates a new chat, switches to it, and pre-fills the input bar with the formatted command output (same pattern as "Insert into chat" from within a chat)
  • The user lands on the new chat with the bash output ready in the text field, so they can type their question and send it to Claude

Test plan

  • On the Overview tab, open Quick Actions → Bash tab
  • Run a command and wait for output
  • Tap "Start Chat" — should navigate to chat tab with a new chat, bash output pre-filled in the input bar
  • Verify "Insert into chat" from within a chat still works as before

🤖 Generated with Claude Code

When opening Quick Actions from outside a chat (e.g. Overview tab) and
running a bash command, clicking "Start Chat" previously did nothing if
no chatViewModel was active. Now it always creates a new chat, switches
to it, and pre-fills the input with the formatted command output so the
user can ask Claude about the result.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@claude
Copy link

claude bot commented Mar 16, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant