Add toggle to hide the branch status badge / PR widget
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
The Claude Code branch status badge widget displays open PRs with
diff stats (e.g., "+180827 -208") and CI status indicators in the
sidebar. There is no built-in setting to hide it.
I'm currently working on a long-lived feature branch (Phase 4 of
my project) where the diff numbers are misleading — the widget
shows ~180k additions because this is the first PR that includes
a fresh package-lock.json (~40 MB). That number is not
meaningful information for me, and seeing it on every screen
refresh adds visual noise during focused coding sessions.
The widget also occupies sidebar real estate. Collapsing the
entire sidebar (Ctrl+B) is the only way to hide it, but that
hides everything else useful too.
Related existing issues:
- #34194 — Allow me to hide data shown in Claude desktop
- #28703 — PR widget diff stats include untracked files
- #51738 — Branch status badge shows diff-vs-base line count
Proposed Solution
Any one of the following would solve this:
- A
settings.jsonflag, e.g.:
"showBranchStatusBadge": false
- A right-click context menu on the widget itself with a
"Hide" option that persists across sessions.
- A
/toggle-pr-widgetslash command (similar to how/statusline
currently works for the status line).
Option 1 is my preference — it's non-interactive, easy to set
globally via my dotfiles, and matches how other Claude Code
display preferences are configured.
Alternative Solutions
- I currently collapse the entire sidebar with
Ctrl+B, but this
hides every other useful panel (sessions, file tree, etc.), not
just the PR widget.
- I tried switching to Claude Code CLI in a plain terminal, which
doesn't show the widget — but I lose the IDE integration
benefits I rely on (inline diffs, file navigation, etc.).
- Tried
/feedbackinside the desktop build, but it returned:
"/feedback is only available for local sessions on this desktop
build." That's why I'm filing here on GitHub instead.
Priority
Low - Nice to have
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗