Repository navigation
Closed
Labels
androidPrimary Android workenhancementNew feature or requestin-progressImplementation started, work still incompleteiosPrimary iOS workpriority: mediumNon-blocking V1 work and polishsharedShared or cross-platform implementation
Description
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/andopencode/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
Metadata
Metadata
Assignees
Labels
androidPrimary Android workenhancementNew feature or requestin-progressImplementation started, work still incompleteiosPrimary iOS workpriority: mediumNon-blocking V1 work and polishsharedShared or cross-platform implementation
Activity
#803 Compact Home session rows with a Classic option (#804)