Skip to content

feat(web): add command palette action for new thread on branch - #14

Merged
Fryuni merged 1 commit into
mainfrom
t3code/command-palette-new-thread-worktree
Sep 16, 2026
Merged

Fryuni merged 1 commit into
mainfrom
t3code/command-palette-new-thread-worktree

Conversation

@Fryuni

@Fryuni Fryuni commented Sep 16, 2026

Copy link
Copy Markdown
Owner

What Changed

Adds a command palette action that creates a new thread on the current branch/worktree. When the active thread (or draft thread) is rooted on a branch, the palette now offers "New thread on ", which creates the thread in the same environment and project, reusing the branch and worktree path, with envMode set to worktree when a worktree path exists and local otherwise.

Why

Creating a follow-up thread on the same branch was only possible by navigating through the "New thread in..." submenu and re-picking the environment, project, and worktree. This adds a one-step shortcut that matches the existing entry point for creating threads, keeping multi-worktree flows fast.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Copilot AI lite review requested due to automatic review settings September 16, 2026 16:30
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-16T16:33:15.373044Z df97008 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues were identified.

Pull request overview

Adds a command palette shortcut to create a new thread on the active branch and worktree.

Changes:

  • Adds a branch-aware command palette action.
  • Reuses environment, project, branch, and worktree settings.
File summaries
File Summary
apps/web/src/components/CommandPalette.tsx Adds the branch-specific thread creation action.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Fryuni
Fryuni merged commit 274b904 into main Sep 16, 2026
9 checks passed
@Fryuni
Fryuni deleted the t3code/command-palette-new-thread-worktree branch September 16, 2026 16:45
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.

2 participants