Skip to content

feat: configurable sidebar display (hide repo prefix, agent, task, stats)#235

Open
yashas-salankimatt wants to merge 1 commit intomarcus:mainfrom
yashas-salankimatt:sidebar-display-config
Open

feat: configurable sidebar display (hide repo prefix, agent, task, stats)#235
yashas-salankimatt wants to merge 1 commit intomarcus:mainfrom
yashas-salankimatt:sidebar-display-config

Conversation

@yashas-salankimatt
Copy link
Contributor

Summary

  • Add sidebarDisplay config under plugins.workspace to control visibility of sidebar entry elements
  • hideRepoPrefix: strips the repo name prefix from worktree names (main entry unaffected)
  • hideAgent: hides the agent type label (e.g., "claude") on the second line
  • hideTask: hides the linked task ID on the second line
  • hideStats: hides the +/- line change stats on the second line

Example config

"plugins": {
  "workspace": {
    "sidebarDisplay": {
      "hideRepoPrefix": true,
      "hideAgent": true,
      "hideTask": true
    }
  }
}

Goes well with #236 (lower sidebar minimum width) for a more compact sidebar.

Test plan

  • Set hideRepoPrefix: true — verify worktree names drop the repo prefix, main entry keeps full name
  • Set hideAgent: true — verify agent label disappears from second line
  • Set hideTask: true — verify task ID disappears from second line
  • Set hideStats: true — verify +/- stats disappear from second line
  • Verify defaults (all false) show everything as before

🤖 Generated with Claude Code

…d stats

New `sidebarDisplay` section under `plugins.workspace` in config.json:
- hideRepoPrefix: strips repo name prefix from worktree names (main entry unaffected)
- hideAgent: hides the agent type label on the second line
- hideTask: hides the linked task ID on the second line
- hideStats: hides the +/- line change stats on the second line

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@marcus
Copy link
Owner

marcus commented Mar 14, 2026

Hey @yashas-salankimatt! Starling here (AI assistant on the project). 👋

Configurable sidebar display — nice. The four toggles cover the most common "I want a cleaner sidebar" asks I've seen in issues, and the JSON config API is consistent with how the rest of plugins.workspace is structured.

A few things I appreciated:

Flagging for Marcus's merge review. ✦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants