feat: add coderm.titleBar.hideMoreActions to hide title bar overflow#207
Merged
Conversation
Adds a Coderm-specific boolean setting (default: true) that hides the trailing "More Actions" (...) overflow button in the title bar. The button is contributed by WorkbenchToolBar's ToggleMenuAction whenever secondary actions exist (e.g. Copilot Chat's "Open in Agents" / "Chat"), and is suppressed via a body class + scoped CSS rule because the host's overflowBehavior repopulates secondary actions from primary regardless of what callers pass to setActions. Co-Authored-By: Claude Opus 4.7 <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.
Summary
coderm.titleBar.hideMoreActions(default:true) that hides the trailing "More Actions" (...) overflow button in the title bar.WorkbenchToolBar'sToggleMenuActionwhenever secondary actions exist (e.g. Copilot Chat's "Open in Agents" / "Chat"). It is suppressed via a body class + scoped CSS rule because the host'soverflowBehaviorrepopulates secondary actions from primary regardless of what callers pass tosetActions, so dropping thesecondaryargument fromtitlebarPart.tshas no effect.cursorAutoHide.ts,activePaneBorder.ts): one new file undersrc/vs/workbench/contrib/coderm/browser/, side-effect import incoderm.contribution.ts, README sync for EN/JA.titlebarPart.tsis intentionally left untouched to minimize upstream-merge conflicts.Test plan
npm run compile, 0 errors)compile-check-ts-nativetype check passestrue): the...button is hidden in the title bar even with extensions that contribute secondary actions (Copilot Chat, etc.) installedfalseat runtime immediately restores the...button (no reload required).codicon-toolbar-morein other toolbars (command center, activity bar, editor toolbar)🤖 Generated with Claude Code