feat: make titlebar agent status configurable (#526)
Add a `showTitlebarAgentActivity` setting under Appearance > Titlebar that lets users toggle the agent activity badge in the titlebar. - Add `showTitlebarAgentActivity` to GlobalSettings (default: true) - Add toggle in AppearancePane under a new "Titlebar" sub-section - Upgrade badge from Tooltip to HoverCard with per-worktree breakdown - Show dimmed idle state when no agents are active - Fix badge/tab overlap when sidebar is closed (min-w-0 + conditional shrink-0) - Extract countWorkingAgentsForTab helper for reuse by per-worktree counter
This commit is contained in:
@@ -106,6 +106,7 @@ export function getDefaultSettings(homedir: string): GlobalSettings {
|
||||
terminalScrollbackBytes: 10_000_000,
|
||||
openLinksInApp: true,
|
||||
rightSidebarOpenByDefault: true,
|
||||
showTitlebarAgentActivity: true,
|
||||
notifications: getDefaultNotificationSettings(),
|
||||
diffDefaultView: 'inline',
|
||||
promptCacheTimerEnabled: false,
|
||||
|
||||
@@ -403,6 +403,8 @@ export type GlobalSettings = {
|
||||
* until the user explicitly wants worktree-scoped in-app browsing. */
|
||||
openLinksInApp: boolean
|
||||
rightSidebarOpenByDefault: boolean
|
||||
/** Whether to show the live agent activity count badge in the titlebar. */
|
||||
showTitlebarAgentActivity: boolean
|
||||
diffDefaultView: 'inline' | 'side-by-side'
|
||||
notifications: NotificationSettings
|
||||
/** When true, a countdown timer is shown after a Claude agent becomes idle,
|
||||
|
||||
Reference in New Issue
Block a user