Skip to content

vscode: migrate Recently Closed view from sidebar to Codev panel tab #813

Open

Description

@amrmelsayed

Problem

The Recently Closed view (packages/vscode/src/views/recently-closed.ts) lives in the Codev sidebar today, occupying vertical real estate alongside the higher-frequency Builders / Backlog / Pull Requests views. Its content is chronological — a timeline of recently closed issues and PRs — which fits the wide-short geometry of the bottom panel better than the narrow-tall sidebar, and it's a less-frequent reference surface so a less-prominent dock matches its priority.

Proposed behavior

Migrate the existing codev.recentlyClosed view from the codev (sidebar) container to the new codevPanel (panel) container introduced in #812. No data, rendering, or interaction changes — same TreeDataProvider, same row shape, same context menu actions. Only the container id changes.

Implementation

  1. In packages/vscode/package.json, move the codev.recentlyClosed entry from contributes.views.codev to contributes.views.codevPanel.
  2. Update any view/title menu entries that reference view == codev.recentlyClosed — they don't change (still keyed by the view id), but verify they still render in the new container's title bar.
  3. Update view/item/context entries (if any) — same view id, no change needed.
  4. Smoke-test: ensure the view still updates reactively on OverviewCache SSE ticks (the provider doesn't depend on which container hosts it).

Acceptance criteria

  • codev.recentlyClosed registered under viewsContainers.panel.codevPanel, not under activitybar.codev.
  • Recently Closed tab no longer appears in the Codev sidebar.
  • Tab appears in the Codev panel area, fully functional (rows render, click actions work, SSE refresh works).
  • view/title and view/item/context actions that target this view still fire correctly.
  • No regression to other Codev views (sidebar or panel).

Depends on

Out of scope

  • Re-rendering Recently Closed as a horizontal timeline / webview (could be a follow-up; v1 is the same TreeView in a new home).
  • Adding new actions to the view.

Activity

  1. self-assigned this
    on May 21, 2026
  2. added
    type:refactor
    area/vscode
    project
    and removed
    type:refactor
    area/vscode
    on May 21, 2026
  3. added a commit that references this issue on May 28, 2026
  4. amrmelsayed commented on Aug 14, 2026

    @amrmelsayed
    CollaboratorAuthor

    Held pending #1049, and to be rescoped rather than built as written (architect ruling, recorded on #813, #814 and #815 together).

    This issue proposes a dedicated sibling tab in the Codev panel container. #1049 (contextual bottom panel) is built on the opposite premise: that one tab per feature makes the panel grow faster than anyone wants to navigate it, so a single Codev tab morphs to pair with the active surface, and cross-cutting roll-ups — pending gates, blocked builders, queued review comments, recently-closed audit — live inside its Attention mode rather than as siblings. Shipping these three as separate tabs and then shipping #1049 would produce exactly the tab sprawl #1049 exists to prevent.

    The resolution is not to close these. #1049 is explicitly an umbrella that ships the panel surface, the mode resolver, the switcher and placeholder bodies, while the actual per-mode content is owned by participating-feature issues and lands in their own PRs against the render targets the umbrella exposes. Recently Closed, Team and Status are three of those participating features. So each of these issues survives as "render this view's content into its panel mode", and loses only the "as its own tab" framing.

    Sequencing: hold until #1049's surface lands, then rescope against the render targets it publishes. They are not blocked on anything else — #812 shipped the container.

    Related finding worth folding into #1049's plan phase rather than tracking separately: the codev.placeholder signpost these issues were meant to displace can never render at all. apps/vscode/src/extension.ts:555 unconditionally sets codev.panelContainerEmpty to false, so the view is always hidden — while its body text still advertises #813/#814/#815 to a user who by construction cannot see it. #1049 repurposes that placeholder slot, so the fix rides it by construction.

    Verified against the current tree before ruling: all three views are still sidebar-only today, and the container from #812 is in place. Triage by the vscode architect; conflict analysis and ruling by main as #1049's owner.

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

Metadata

Metadata

Assignees

Labels

area/vscodeproject

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions