feat(app): display worktree slug in tab headers#1183
Open
jadelike-wine wants to merge 1 commit into
Open
Conversation
…nd tab headers Show the worktree slug (basename of workspace path) as a muted secondary label alongside the branch/agent name across the UI: - Add extractWorktreeSlug() and shouldShowWorktreeSlug() utilities - Sidebar workspace list: show slug under branch name - Agent list: show slug in meta row (mobile) and column (desktop) - Workspace header: show slug below the title bar - Tab headers: show slug next to agent title in tab chip and option row - Add worktreeSlug to PanelDescriptor and thread through resolver - Add tests for slug extraction and sidebar/workspace integration Closes getpaseo#1008
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.
feat(app): display worktree slug in tab headers
Show the worktree slug (basename of workspace path) as a muted secondary label alongside the branch/agent name across the UI:
Closes #1008
Linked issue
Closes #1008
Type of change
What does this PR do
Show the worktree slug (basename of workspace path) as a muted secondary label alongside the branch/agent name across the UI. Previously the UI only showed the branch name, making it hard to identify which Docker container or external tool to point at for a given worktree.
Changes:
extractWorktreeSlug()andshouldShowWorktreeSlug()shared utilities that parse the canonical$PASEO_HOME/worktrees/<hash>/<slug>path patternworktreeSlugtoPanelDescriptorand thread it through theWorkspaceTabPresentationresolverHow did you verify it
npm run typecheck— passes across all workspacesnpm run lint— 0 errors, 0 warningsnpm run format— all files formattedChecklist
npm run typecheckpassesnpm run lintpassesnpm run formatran (Biome)