Skip to content

Home: project and worktree on separate lines in session rows #798

Closed

Description

@ivanfenenko

Home session rows show the project name and the worktree branch on separate lines, so both stay readable when either name is long.

Follow-up to #780. Today the row subtitle puts the project name and ⑂ branch · folder on one line in the All scope. With long names (for example opencode-mobile-enterprise-edition and feature/ope-1042-show-worktree-and-project-on-home-rows) both get cut. Prototype variant C · Project and branch, one line each was chosen (source in prototypes/session-row-project-worktree/).

Behaviour (iOS and Android)

  • Rows of git projects have three lines: title, project name (folder glyph), then the worktree line (branch glyph) in a fainter tone.
  • The worktree line keeps today's content from Group worktrees under one project on Home #780: the branch, plus the worktree folder name when it is not the main checkout. Detached HEAD or unknown branch: folder name only.
  • Every git-project row uses this shape, including sessions on the main checkout and in a single-project scope, so the list has one row rhythm.
  • Each line cuts at its own end, so a long project name never hides the branch.
  • Non-git projects keep today's two-line row with the path subtitle.
  • Badge, title, time, status pill and the worktree mark on the badge are unchanged.
  • The list item component gains an optional secondary detail line with leading icons, shared by both platforms.

Acceptance

  • Git-project rows show project and worktree on separate lines on iOS and Android, v1 and v2.
  • Long project and branch names each truncate on their own line.
  • Non-git rows unchanged.
  • Component gallery shows the new list item variant on both platforms.
  • Unit tests cover the row lines (main checkout, worktree, detached, non-git) on both platforms.

Remaining:

  • iOS
  • Android

Activity

  1. added
    enhancement
    shared
    priority: medium
    in-progress
    on Oct 23, 2026
  2. added a commit that references this issue on Oct 23, 2026
  3. removed
    in-progress
    on Oct 25, 2026
  4. ivanfenenko commented on Oct 25, 2026

    @ivanfenenko
    CollaboratorAuthor

    Shipped in #800 (merged as 9a33ff5): Home git-project rows show the project and worktree on separate lines on iOS and Android. This row is now the Classic option from #803.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority: mediumshared

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions