Repository navigation
Description
Problem
The Codev sidebar has accumulated seven views (Builders, Backlog, Pull Requests, Team, Workspace, Recently Closed, Status). Each new feature adds another row, and the narrow-tall geometry doesn't suit every shape of content — chronological timelines, wide tabular data, team rosters all waste vertical room and look cramped horizontally. The bottom panel area (where Problems / Output / Terminal / Debug Console live) is wide + short — exactly the right geometry for several of these views, and VS Code lets extensions contribute new tabs there freely.
This issue introduces the panel-side container as scaffolding. Specific views (Team, Recently Closed, Status, Activity Log, future surfaces) migrate into it via separate follow-up PRs so each move is small and reversible.
Current state
packages/vscode/package.jsoncontributes.viewsContainershas one entry:activitybar.codev, hosting every Codev sidebar view.- No
viewsContainers.panelentry today; no Codev tab in the bottom panel. - Codev extension API access to the panel is fully supported by VS Code — same
viewsContainers+viewscontribution model, just keyed underpanelinstead ofactivitybar.
Proposed behavior
1. Add a panel viewsContainer
In packages/vscode/package.json:
"contributes": {
"viewsContainers": {
"activitybar": [{ "id": "codev", "title": "Codev", "icon": "..." }],
"panel": [
{
"id": "codevPanel",
"title": "Codev",
"icon": "..." // reuse the same Codev icon used by the activitybar container
}
]
}
}Container id: codevPanel. Same "title": "Codev" — VS Code disambiguates by location (sidebar vs panel), so no collision in the UI.
2. Register the container with visibility: 'collapsed'
Default state: tab exists but is collapsed (not expanded automatically). Users opt in by clicking it. Avoids surprising existing installs with new panel content on first load after upgrade.
3. Add one placeholder view
Inside the panel container, register a single placeholder view:
"views": {
"codev": [ /* existing sidebar views */ ],
"codevPanel": [
{ "id": "codev.placeholder", "name": "Codev", "when": "codev.panelContainerEmpty" }
]
}The view's TreeDataProvider returns a single tree item with text like:
Codev panel views land here. See issues #813 (Recently Closed), #814 (Team), #815 (Status).
The when clause codev.panelContainerEmpty resolves to true only when no other panel-side views have been registered, so once follow-up PRs migrate real views into the container, the placeholder hides itself automatically.
4. No content migration in this issue
This issue is scaffolding only. The actual moves (Recently Closed, Team, Status) are tracked in #813 / #814 / #815. This issue lands first so those follow-ups have a container to target.
Acceptance criteria
-
viewsContainers.panel[].codevPaneldeclared with title "Codev" and the existing Codev icon. - Container starts collapsed (
visibility: 'collapsed') on first activation. - Single placeholder view registered inside the container, gated by
codev.panelContainerEmptycontext key. - When other views populate the container in follow-up PRs, the placeholder hides automatically (the
whenclause flips). - Existing sidebar container untouched (no behavior change to current views).
- Toggling the panel tab open/close is reachable via the standard
workbench.view.extension.codevPanelcommand.
Out of scope
- Any specific panel-view content (separate issues).
- Migrating existing sidebar views (separate issues).
- Status-bar moves for Workspace / Status (intentionally not now; user chose to move Status to the panel via vscode: migrate Status view from sidebar to Codev panel tab #815 instead).
Related (follow-ups gated on this landing)
- Migrate Recently Closed view to the Codev panel
- Migrate Team view to the Codev panel
- Migrate Status view to the Codev panel
Activity
[PIR #921] Plan draft (design-of-record; held pending #812)
amrmelsayed commentedon Jun 3, 2026
On it! Working on this with the PIR protocol (plan + dev-approval gates before PR).
[PIR #812] Plan draft
[PIR #812] Add Codev panel container with placeholder view
[PIR #812] Update builder thread (implement)
[PIR #812] Reveal panel once on first run for discoverability
[PIR #812] Update builder thread (first-run reveal)
[PIR #812] Review + retrospective
[PIR #812] Update builder thread (pr gate)
vscode CHANGELOG + release notes: #812 Codev panel container scaffolding
[PIR #921] Plan revised: #812 landed, plan now active + codevPanel in…
[PIR #921] Plan draft (design-of-record; held pending #812)
[PIR #921] Plan revised: #812 landed, plan now active + codevPanel in…