cmux-next: New Worktree says Creating worktree… (cx-bopcl)

Merged
TE
25d ago
+21224-20959

POLISH for New Worktree in a new chat's folder menu (worktree UI polish, cx-bopcl). The host's git worktree add can take seconds, and the click looked dead until the folder changed. A muted line above the composer now says "Creating worktree…" until the chat starts there, the host refuses, or a newer folder pick replaces it.

The gallery can now delay a native answer (nativeDelayMs), which the new agent-pane.start-folder/worktree-creating play uses. The start-folder inProject fixture now counts as a new chat (sessionId: ""). Before this, its New Worktree plays never reached the folder menu.

Evidence

  • test/worktree-creating.test.ts, which runs that play. Red on the test commit (CI run 38207467330): the play clicks New Worktree and no Creating worktree… line appears. Green on c695ef8a1dc8: react-apps-check passes.
  • Localization audit: one new key, worktree.creating, in all 21 locales, and strings.json is regenerated.

Changelog

  • Fixed: New Worktree shows "Creating worktree…" while the worktree is made.

🤖 Generated with Claude Code