vscode: move Pull Requests below Backlog in sidebar default order#940
Merged
Conversation
amrmelsayed
added a commit
that referenced
this pull request
May 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PIR Review: Move Pull Requests below Backlog in the VSCode sidebar default order
Summary
Issue #932 asked to swap the default order of the Pull Requests and Backlog sections in the Codev VSCode sidebar. The new default order is Workspace → Builders → Backlog → Pull Requests → Recently Closed → Team → Status, which pairs the two surfaces checked together during active triage (Builders = in-flight, Backlog = next-to-start) and groups Pull Requests with Recently Closed as the completion-side surfaces. The change is a two-element reorder of the
contributes.views.codevarray inpackages/vscode/package.json— no view definitions,whenclauses, menus, or providers were touched.Files Changed
packages/vscode/package.json— swapped thecodev.pullRequestsandcodev.backlogentries within thecontributes.views.codevarray socodev.backlognow precedescodev.pullRequests. Net diff: +1/-1.codev/plans/932-vscode-move-pull-requests-sect.md— plan artifact (plan phase).codev/state/pir-932_thread.md— builder narrative thread.Architecture Updates
No architectural changes. VSCode tree views are contributed declaratively; their default display order is the array order in
contributes.views.<container>. Reordering the declaration changes only the default order, which VSCode overrides per-workspace the moment a user manually drags a view. No new patterns, contracts, or modules were introduced, socodev/resources/arch.mdneeds no update.Lessons Learned Updates
No lessons learned updates needed for the change itself — it's a well-trodden VSCode manifest edit. One operational note worth recording for future builders working in fresh worktrees (not a codebase lesson, captured in the thread): porch's
implement-phasebuildcheck runs the full workspace build (tscvianpm run build), which fails withsh: tsc: command not foundif the worktree'snode_moduleswas never installed. The committedpnpm-lock.yamlis identical tomain, so this is a worktree-provisioning gap, not branch drift — resolved bypnpm install(then restoring the lockfile to keep the PR scoped). This is environmental, not a reusable code lesson, socodev/resources/lessons-learned.mdis not updated.Test Results
buildcheck passed (npm run build→ full workspacetscbuild, ~47s) after installing worktree deps.testscheck passed (npm test, ~28s).package.jsonparses (JSON.parseguard).dev-approvalgate — the contributed default order now lists Backlog above Pull Requests.Things to Look At
packages/dashboard/src/components/WorkView.tsx) does not mirror this section model — it has no standalone "Pull Requests" section (PRs are folded into an "Needs Attention" attention-aggregation that sits above Backlog). The two surfaces answer different questions, so the orderings can diverge without being inconsistent. No dashboard change is in scope for vscode: move Pull Requests section below Backlog in the sidebar default order #932.How to Test Locally
builder/pir-932) or run the worktree dev server (afx dev pir-932)..vsixin a clean profile.codev.teamEnabled), Status.Fixes #932