Skip to content

Composer with collapsed icons make it hard to differentiate between workspace and branch #343929

Closed

Description

Testing #343524

The folder icons are the same

Image Image

Activity

  1. meganrogge commented on Oct 29, 2026

    @meganrogge
    Collaborator

    Yeah we should use a different icon for branch in the worktree/branch picker. But it can't be branch because we reuse that for branches.

  2. added a commit that references this issue on Oct 30, 2026
    eb53d7b
  3. added
    insiders-releasedPatch has been released in VS Code Insiders
    and removed
    unreleasedPatch has not yet been released in VS Code Insiders
    on Oct 30, 2026
  4. vs-code-engineering commented on Oct 30, 2026

    @vs-code-engineering
    Contributor

    Sharing media and context from merged PR #345214 for verification:

    Screenshot 2026-10-30 at 12 43 53 PM

    Uses the new git-branch-checkout icon from microsoft/vscode-codicons#541 for the Branch option in the new-session composer's Branch/New Worktree picker, including the selected trigger, across both the main Agent Host composer (including Copilot workspace targets) and the shared nested-session composer. New Worktree keeps its existing icon. Labels, keyboard behavior, and screen-reader descriptions are unchanged; the trigger icon remains decorative.

    Updates desktop and web to the now-published Codicons 0.0.46-49. The official prerelease pipeline completed successfully: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=491288. Verified the package's generated TypeScript, CSS, and font-derived CSV contain the glyph with codepoint U+ECFB.

    Validation

    • npm run build-fast -- --client-only — passed.
    • npm run eslint -- src/vs/base/common/codicons.ts src/vs/sessions/contrib/chat/browser/isolationPicker.ts src/vs/sessions/contrib/chat/test/browser/nestedChatComposer.test.ts — passed.
    • ./scripts/test.sh --run src/vs/sessions/contrib/providers/agentHost/test/browser/agentHost/agentHostSessionConfigPicker.test.ts --run src/vs/sessions/contrib/chat/test/browser/nestedChatComposer.test.ts --reporter dot — 100 passed. Native dependencies were rebuilt for the live launch; the final run has no missing-native-module warning.
    • npm run eslint -- src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionConfigPicker.ts src/vs/sessions/contrib/providers/agentHost/test/browser/agentHost/agentHostSessionConfigPicker.test.ts — passed.
    • npm run hygiene — passed (14,180 files).
    • git diff --check — passed.
    • Web lockfile refreshed with npm install --prefix remote/web --package-lock-only --ignore-scripts --no-audit --no-fund --registry=https://registry.npmjs.org --min-release-age-exclude=@vscode/codicons — passed. The one-command exception is limited to this verified first-party prerelease; no npm configuration changes.
    • Live Code OSS Agents window: visually verified the main new-session Branch trigger and open menu show the checkout glyph, with New Worktree unchanged.
    • Full type check and screen-reader testing were not run.

    Manual testing

    Open the Agents window, choose a Git repository in the new-session composer, and open the Branch/New Worktree picker. Check that Branch uses the checkout icon in the menu and selected trigger, while New Worktree keeps its worktree icon. The shared nested-session composer is covered by the regression test.

    Browser CI follow-up

    The macOS WebKit job exposed an existing confetti test precision issue, also reproduced locally with test and implementation identical to main. WebKit rounds animation durations to microseconds, producing reconstructed frame gaps such as 40.000013 ms. With maintainer approval, this PR includes a test-only one-microsecond tolerance; the 40 ms frame limit and production animation behavior are unchanged.

    • npm run build-fast -- --client-only — passed after the test fix.
    • npm run test-browser-no-install -- --browser webkit --browser chromium --browser firefox --run src/vs/base/test/browser/ui/animations/animations.test.ts --reporter dot — passed: 8 tests per browser, 24 total.
    • npm run eslint -- src/vs/base/test/browser/ui/animations/animations.test.ts — passed.
    • git diff --check — passed.

    Screenshot Changes

    Base: 4aaffdd2 Current: f507eb94

    Changed (3)

    sessions/chat/isolationPicker/agentHostSessionConfigPicker/NewWorktree/Light
    Before After
    before after
    sessions/chat/isolationPicker/agentHostSessionConfigPicker/Branch/Light
    Before After
    before after
    sessions/chat/isolationPicker/agentHostSessionConfigPicker/DevContainer/Light
    Before After
    before after

    Screenshot report: #345214 (comment)

    Source PR: #345214

  5. added
    insiders-releasedPatch has been released in VS Code Insiders
    and removed
    unreleasedPatch has not yet been released in VS Code Insiders
    on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions