fix(web): composer strip drops the folder icon next to the machine icon#26158

merged1
main
t3/remove-composer-folder-icon
opened3d agobyMmaria
View on GitHubTwo-way sync enabledPR last imported 3d ago

composer strip before: cloud and folder icons next to "t3"

composer strip after: only the cloud icon next to "t3"

When a project can run on more than one machine, the run-context control under the composer showed the machine icon and a folder icon side by side. The folder added noise, since the label already names the machine and the menu still lists the workspace choices.

The strip now shows only the machine icon in that case. With a single machine it still shows the folder icon, and the thread details panel row is unchanged.

Checked in a dev web client paired to a second local environment: the strip renders cloud, "t3", chevron. Web typecheck, lint, fmt, and BranchToolbar.logic.test.ts pass.

Done by Claude Opus 5.5 (claude-opus-5-5) in Claude Code.

🤖 Generated with Claude Code

Checks

22 successful · 17 skipped
All checks passed
d5e9604
Synced from GitHub

Approvability

Verdict: Approved at 803b7b7

Macroscope's review found this PR approvable — The composer toolbar drops the folder icon beside the machine indicator while retaining the label and selection controls. This is a presentation-only change with no change to run configuration or product defaults.

No code changes detected at d5e9604. Prior analysis still applies.

You can add or adjust custom eligibility rules. Learn more.

Synced from GitHub

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

External image Run configuration
External image Commits

Reviewing files that changed from the base of the PR and between 803b7b7aeb8ecaa2a1c7392e3d84fb1d951bd134 and d5e9604f500f3c95d53fbb32c004b15748650e50.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

External image Recent review info
External image Run configuration
External image Commits

Reviewing files that changed from the base of the PR and between a27ec88bfaa85987b889c95166815f0227fec446 and 803b7b7aeb8ecaa2a1c7392e3d84fb1d951bd134.

External image Files selected for processing: 1
  • apps/web/src/components/BranchToolbar.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

Walkthrough

When an environment indicator is shown, RunContextSelector now displays only the environment icon in both layouts. The panel behavior is unchanged.

Changes: Run Context Icons

Layer / File(s)Summary
Environment icon display
apps/web/src/components/BranchToolbar.tsx
The composer toolbar no longer displays the workspace icon alongside the environment icon. The panel behavior is unchanged.

Priority: External image Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related PRs

Suggested reviewers: t3dotgg

Merge Risk: External image Minimal · previous review 803b7

The UI change is limited in scope and has no established merge-blocking risk.

Pre-merge checks: Passed 4
Check nameStatusExplanation
Title checkPassedThe title clearly describes the primary UI change: removing the folder icon from the composer strip beside the machine icon.
Description checkPassedThe description explains the problem, the implemented behavior, verification steps, UI evidence, and agent details. It does not use the template headings or explicitly document scope approval, but it …
Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the problem, the implemented behavior, verification steps, UI evidence, and agent details. It does not use the template headings or explicitly document scope approval, but it provides sufficient information for this focused fix.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

Added 1 commit

  • fix(web): composer strip drops the folder icon next to the machine icond5e9604