What
TaskLocationIcon (src/components/TaskLocationIcon.tsx, introduced in upstream 6185214 "rename workspaces to tasks") renders one of two icons next to a task row (GitBranch for worktree, Link2 for main checkout), both the same neutral gray at 14px, with a native title tooltip that's just the literal string "worktree" or "main checkout".
Two problems:
- The tooltip never includes the branch name, even though
w.branch is already available right next to it in Sidebar.tsx. You can tell "this is a worktree" but not which branch.
GitBranch vs Link2 at that size/color are subtle enough that telling them apart requires hovering and reading the tooltip anyway, defeating the point of an at-a-glance icon.
Proposed direction
Make the common case quiet and the notable case explicit, rather than an icon on every row:
- Task is the main checkout and checked out on the project's default branch (
project.base_branch): show no icon at all. This is the default, unremarkable state for most tasks.
- Task is the main checkout but on a different branch: show an icon plus the branch name inline (not hover-only).
- Task is a worktree: show a distinct icon plus the branch name inline.
This cuts visual noise for the common case, and makes the one thing people actually want to know, the branch, visible without a hover in the cases where it matters.
Notes
I'll pick this up in a PR.
What
TaskLocationIcon(src/components/TaskLocationIcon.tsx, introduced in upstream6185214"rename workspaces to tasks") renders one of two icons next to a task row (GitBranchfor worktree,Link2for main checkout), both the same neutral gray at 14px, with a nativetitletooltip that's just the literal string"worktree"or"main checkout".Two problems:
w.branchis already available right next to it inSidebar.tsx. You can tell "this is a worktree" but not which branch.GitBranchvsLink2at that size/color are subtle enough that telling them apart requires hovering and reading the tooltip anyway, defeating the point of an at-a-glance icon.Proposed direction
Make the common case quiet and the notable case explicit, rather than an icon on every row:
project.base_branch): show no icon at all. This is the default, unremarkable state for most tasks.This cuts visual noise for the common case, and makes the one thing people actually want to know, the branch, visible without a hover in the cases where it matters.
Notes
I'll pick this up in a PR.