Skip to content

vscode: default right-side (secondary sidebar) container for Codev agent surfaces — UX decision + implementation #1614

Open

Description

@amrmelsayed

Background

Depends on #1608 (engine floor to ^1.128). VS Code 1.106 added the viewsContainers.secondarySidebar contribution point: an extension can register a view container whose default home is the Secondary Side Bar (right side). Until now Codev's views could only default to the Activity Bar / primary sidebar, competing with the Explorer for the same real estate; users could move views right manually but nothing shipped that layout.

Reinforcing platform context: 1.124 added an editor-title chevron to collapse/restore the secondary sidebar, and the native Chat/Agents views already live there — the right side is becoming the "agent surfaces" side of the workbench.

The UX decision (make deliberately, not by default)

Which Codev views belong in a right-side container so they coexist on screen with the file tree, and which stay where they are. Candidates to weigh:

Constraints on the decision:

  • Users who already moved views to a custom layout must not have their arrangement disturbed on update (VS Code preserves user view placement; verify this holds for a container that changes its declared default location vs a NEW container id).
  • One canonical entry point per action — no duplicated buttons across containers.
  • A new container needs its own icon and title; keep the view set coherent rather than scattering one view per container.

Guardrail (from #1608, restated because it is sharp)

Do NOT declare secondarySidebar in the manifest until the engine floor is ≥1.106 everywhere the build ships. On hosts below 1.106 the declaration is actively harmful: views fall back to the Explorer and can perturb other extensions' view positions (microsoft/vscode#249910).

Acceptance sketch

Decision recorded (which views move, which don't, and why); manifest change; fresh-install layout screenshot; update-path verification on a profile with a customized layout; Playwright/manual smoke per the testing guide.

Activity

  1. added
    area/vscode
    on Sep 4, 2026
  2. amrmelsayed commented on Oct 5, 2026

    @amrmelsayed
    CollaboratorAuthor

    Reconciliation (vscode architect, 2026-10-05): the "new right-side container" half of this issue has landed. #1566 (PR #1767, at its pr gate) contributes the Codev Tower container under viewsContainers.secondarySidebar by default, with the owner's explicit ruling to keep it right and a manifest guard test (secondarySidebar => engines >= 1.106; @types <= engines floor). #1763 was closed as absorbed by it. The engine floor is ^1.128 (#1608), so the guardrail here is satisfied.

    What remains of this issue is the UX decision only: whether any of the EXISTING Codev views (Agents, Attention, Pull Requests, Backlog in the primary activity-bar container) should also move right, or stay where users have muscle memory. Constraints still binding: one canonical entry point per action; a container that changes its declared default must be checked on a profile with a customised layout (VS Code preserves user placement for an existing container id; verify, do not assume). Recommendation from this seat: leave the primary container where it is for now and revisit once the Tower hub has been in use for a release; Tower is the cross-workspace surface, the primary container is per-workspace, and the left/right split maps onto that. Owner's ruling requested; if "stay", this closes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/vscode

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions