Repository navigation
Composer extra folders: outside dismiss ends Add folder; Cloud and Sandboxed offer none - #34584
Conversation
…nd Sandboxed offer and send none Fixes #34408: the folder popover's non-Escape close cleared only the query, so Add folder mode survived and the next project pick added a folder. Fixes #34403: Cloud and Sandboxed starts carry no additional directories, so in those run modes the composer hides Add folder and +N, and the client gets no extra folders for its next start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-244b9c62b2e8fedec46c
…chine's folders at once Fixes #34527: pickCloudMachine returned before pickComputer's draft clear, so while the machine started (or after it failed) the previous machine's +N stayed and could go with the wrong target. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-244b9c62b2e8fedec46c
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Gallery before/after for
States
Pick other states with a Passes: CI passes on CI passes on Written by web and size checks: green Shipped in:
|
|
Review (subagent opus-5.5 medium): SHIP at 61a536c Visual verdict: no images; Leo tries the build Checked: the three source hunks and their surroundings. Follow-ups:
|
…folders-followups
|
Review (subagent opus-5.5 medium, carried): SHIP at 364daf4 Visual verdict: no images; Leo tries the build This head only merges feat-cmux-next into 61a536c, which got SHIP above. The PR's diff against base is byte-identical, hunk headers aside. The merge picks up #34577, which fixes the base red in Follow-ups: #34783. |
Fixes #34408
Fixes #34403
Fixes #34527
Follow-ups from the reviews of #33242 (receipt, receipt at 4cbbf49).
FolderPopover.tsx.startSession, so they carry no extra folders. In those run modes the composer hides Add folder… and the+N, and the client gets no extra folders for its next start (ComposerContext.tsx,App.tsx). The draft is kept, so it comes back when the person switches back to This Mac. Wiring folders into Cloud chats is separate work.+Nstayed while it started, or after it failed. The pick now drops the draft at once (ComposerContext.tsxpickCloudMachine).Tests
webviews/test/composer-extra-folders.test.tsx: an outside dismiss after Add folder… leaves the next pick changing the project; Cloud and Sandboxed modes offer no Add folder… and show no+N; picking a starting Cloud machine drops the draft at once. All four failed before the fix and pass after it.Changelog
Agent session: agent session
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes three composer extra-folder follow-ups from the review of #33242: dismissing the folder menu by clicking outside no longer leaves Add folder mode on, Cloud and Sandboxed chats no longer offer or send extra folders, and picking a starting Cloud machine drops the current folders at once.
FolderPopovernow resets the query, expanded repositories, and Add folder mode, so the next pick changes the project instead of adding a folder.+N; the draft is kept and returns on switching back to This Mac.Written for commit 364daf4. Summary will update on new commits.