Defaults the Graph sidebar to unpinned and removes the Pro badge from the header#5496
Draft
sergeibbb wants to merge 3 commits into
Draft
Defaults the Graph sidebar to unpinned and removes the Pro badge from the header#5496sergeibbb wants to merge 3 commits into
sergeibbb wants to merge 3 commits into
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Closes #5447 (part of #5391 — turning the Graph into the main GitLens panel)
Changes
gitlens.graph.sidebar.pinneddefault tofalse(package.json + all fallbacks ingraphWebview.ts,graph-app.ts,sidebar-panel.ts), so the sidebar floats over the graph in overlay mode and auto-collapses on focus loss. Users who explicitly set the setting are unaffected.gate.ts) is intentionally untouched (gate redesign is a separate Explore consolidating views #5391 checklist item).[Unreleased]for both.Note on placement: Start New is kept in its current slot (left of the Launchpad indicator) rather than moved into the badge's old rightmost slot — Trevor's "Replace 'Pro' badge with start work" is ambiguous on position; happy to swap if preferred (screenshots comparing both are available).
Verification
pnpm run checkpassessidebarPinnedresolves tofalse, the sidebar split-panel renders inoverlaymode (graph keeps full width beneath the floating panel), and clicking back into the graph auto-collapses the open panelgraphHeader.test.tswere rewritten into one ("badge absent even on trial, Start New present") — passesgraphDetailscompare panel,graphHeaderLaunchpad indicator,graphHeaderGitActionsfetch popover,graphPin,graphReviewbranch-row chip,rebasekeyboard shortcuts) — verified pre-existing: the identical set fails on bareorigin/main(6dc193f) in a clean worktree. CI currently skips the E2E job, so these have gone unnoticed.🤖 Generated with Claude Code