Skip to content

Home: compact session rows with a Classic option #803

Closed

Description

@ivanfenenko

Home session rows get a compact two-line layout, with a Settings switch back to today's rows.

Follow-up to #798 (today's three-line row, shipped in #800). Prototype: "6 · Small tile", shared privately (compare Now vs 6).

Behaviour (iOS and Android, v1 and v2)

  • Settings › Home: a "Session rows" choice, Compact (default) or Classic. Persisted with the other Home display preferences and reset with them. Classic is today's row, unchanged.
  • Compact row: every row is two lines and the same height. The title never wraps.
  • Leading badge: a 30pt circle with the project letter in the project's letter accent colours, matching the round letter badges elsewhere in the app (today's Home badge is 40pt).
  • Status dot: an 8pt dot on the badge's top-right with a background-coloured ring, only when the status is not Idle, in the status tone colour. Running fades slowly (opacity 1 to 0.3, 2.4s); it stays still with Reduce Motion.
  • Line 1: the title on one line (bold when it is an unread finish), then the relative time.
  • Line 2: project / worktree, then today's status pill (smaller size) when not Idle. Same labels and tones as today: Running, Retrying · N, Ready, Done, Failed, Stopped. Idle shows no pill.
  • Worktree part: only when the session runs in a worktree other than the main checkout and "Show worktrees" is on. feature/, fix/, chore/ and opencode/ prefixes are dropped and the name is cut in the middle so the ticket number and the end survive. Detached HEAD or unknown branch: the worktree folder name.
  • Sharing line 2: if both names fit, both show in full. Otherwise the project keeps its full width when it fits in 40% of the line, else the worktree keeps its full width when it fits in 60%, else 40/60.
  • Same row in both scopes: the row looks the same with All projects or one project selected; the project name always shows.
  • Non-git projects: line 2 is the project name only.
  • Header, dock, sections and ordering: unchanged.
  • Design system: the compact row is a list item variant in the design system, with a gallery entry on both platforms.

Acceptance

  • Settings switch between Compact and Classic on iOS and Android; the choice survives relaunch; Classic matches today.
  • Compact rows match the prototype in dark and light, one project and all projects.
  • Idle rows show no dot and no pill; the other statuses show today's labels and tones.
  • Long project and worktree names follow the 40/60 rule; the worktree is cut in the middle.
  • Component gallery shows the compact variant on both platforms.
  • Unit tests cover the line 2 split rule, branch shortening, worktree visibility (main, worktree, detached, non-git, Show worktrees off), idle without a pill, and preference persistence on both platforms.

Remaining:

  • iOS
  • Android

Activity

  1. added
    enhancement
    ios
    android
    shared
    priority: medium
    in-progress
    on Oct 23, 2026
  2. added a commit that references this issue on Oct 23, 2026
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

    androidenhancementin-progressiospriority: mediumshared

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions