Skip to content

vscode: move Pull Requests section below Backlog in the sidebar default order #932

@amrmelsayed

Description

@amrmelsayed

Proposal

Swap the default order of the Pull Requests and Backlog sections in the Codev sidebar.

Current order (packages/vscode/package.json)

"views": {
  "codev": [
    { "id": "codev.workspace",       "name": "Workspace" },
    { "id": "codev.builders",        "name": "Builders" },
    { "id": "codev.pullRequests",    "name": "Pull Requests" },
    { "id": "codev.backlog",         "name": "Backlog" },
    { "id": "codev.recentlyClosed",  "name": "Recently Closed" },
    { "id": "codev.team",            "name": "Team", "when": "codev.teamEnabled" },
    { "id": "codev.status",          "name": "Status" }
  ]
}

New order

"views": {
  "codev": [
    { "id": "codev.workspace",       "name": "Workspace" },
    { "id": "codev.builders",        "name": "Builders" },
    { "id": "codev.backlog",         "name": "Backlog" },
    { "id": "codev.pullRequests",    "name": "Pull Requests" },
    { "id": "codev.recentlyClosed",  "name": "Recently Closed" },
    { "id": "codev.team",            "name": "Team", "when": "codev.teamEnabled" },
    { "id": "codev.status",          "name": "Status" }
  ]
}

Why this order reads better

Active triage flow is Builders → Backlog: glance at what's in flight, then look at what's next to start. Putting Backlog directly under Builders pairs the two surfaces that get checked together. Pull Requests is a downstream / completion-side surface — it makes more sense alongside Recently Closed at the bottom of the column. The new order tells a cleaner story top-to-bottom: workspace context → in-flight work → upcoming work → shipped/closing work → team/status meta-info.

Acceptance

  • packages/vscode/package.json updated with the new order shown above.
  • Fresh installs (or users who haven't manually reordered views) see Backlog above Pull Requests.
  • Users who have already dragged views into their own order via the sidebar context menu keep their custom order — VSCode persists user-reordered views per-workspace and the contribution-declared order only applies until first user-drag.
  • No other behavior change — views themselves are untouched.

Out of scope

Why BUGFIX

One-line array reorder in package.json. No design ambiguity, no logic change, ~5 LOC including the diff context. Single consult at the PR is the right amount of review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/vscodeArea: VS Code extension

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions