Skip to content

Workspace board: project name not shown on cards without a session (all read as main/master) #13828

Closed

Description

@PannenetsF

Summary

On the Workspace board, cards that have no descriptive title don't show which project (repo/folder) they belong to. When several projects are open, their primary worktrees all render as main / master with only a nameless repo icon, so they're impossible to tell apart.

Repro

  1. Open two or more projects whose primary branch is main (or master).
  2. Open the Workspace board (with the new/compact card style active — the shipped default for many profiles).
  3. Look at the "In progress" lane.

Expected: each card indicates its project.
Actual: every session-less primary worktree shows just main / master + a repo icon; the project name is only in the icon's hover tooltip, so the cards are indistinguishable.

Why it happens

  • A board card's title is the worktree display name, which falls back to the branch, then the path (resolveWorktreeDisplayName in src/renderer/src/lib/worktree-default-display-name.ts). A project's primary worktree with no custom/auto-generated name therefore shows only its branch.
  • The project name is a separate cue. In the new/compact card styles (showRepoIdentityInTitle), the repo is rendered as an icon-only chip and the text label (showRepoBadgeInMetaRow) is disabled — see src/renderer/src/components/sidebar/worktree-card-presentation.tsx. The name text only ever appears in the legacy card style (worktree-card-meta-row.tsx).
  • The board's lanes group by workspace status, never by project, so the per-card repo cue is the only project signal — and in these styles that cue has no visible text.

Why "no active session" is the trigger users notice

It's really "no descriptive title," which correlates with sessions: a worktree with an active session gets auto-renamed from the first agent message (so its title carries meaning), while a session-less primary keeps the default branch title.

Proposed fix

Render the project (repo) display name as a muted inline label in the board card's title row, in the icon-only card styles where the name text is otherwise absent. Scope it to the board only (via a showProjectName prop set from WorkspaceKanbanCard); the sidebar keeps its chip-only treatment since it can already group by project.

Activity

  1. AmethystLiang commented on Aug 11, 2026

    @AmethystLiang
    Contributor

    thanks for reporting. looking into it

  2. AmethystLiang commented on Aug 14, 2026

    @AmethystLiang
    Contributor

    Follow-on, not a duplicate: #13937 is the same "which project is this?" ambiguity on the sidebar when grouping is status / PR-status / ungrouped. #13830 (still open) is the board-only `showProjectName` PR referenced there; it does not cover the sidebar.

  3. added
    bug
    on Sep 19, 2026
  4. added theissue type on Sep 19, 2026
  5. brennanb2025 commented on Oct 21, 2026

    @brennanb2025
    Contributor

    Fixed on main by #28890. Workspace board cards now show the project name beside its icon, so workspaces named main or master can be distinguished. Thanks for reporting!

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

Metadata

Metadata

Assignees

Labels

buggit

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions