Skip to content

#803 Compact Home session rows with a Classic option - #804

Merged
ivanfenenko merged 2 commits into
mainfrom
feature/803-compact-home-rows
Oct 23, 2026
Merged

ivanfenenko merged 2 commits into
mainfrom
feature/803-compact-home-rows

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • New Compact Home session row, now the default. Every row is two lines and the same height: title and time, then project / worktree with the status pill at the end.
  • 30pt round project badge, reusing the existing letter badge drawing, with a status dot on its top-right only when the session is not Idle. Running fades slowly and stays still with Reduce Motion or animations off.
  • Idle rows show no pill. Other statuses keep today's labels and tones: Running, Retrying · N, Ready, Done, Failed, Stopped.
  • Worktree shows only when it is not the main checkout and Show worktrees is on. feature/, fix/, chore/ and opencode/ prefixes are dropped and the name is cut in the middle. Project and worktree share line 2 by a 40/60 rule.
  • Settings › Home › Session rows switches between Compact and Classic. Classic is today's row (Home: project and worktree on separate lines in session rows #798), unchanged. The choice is persisted and reset with the other Home preferences.
  • Design system: compact list item variant on both platforms, with component gallery entries.

Prototype: http://ivans-mac-mini-1:8787/2026-10-23/2023-home-rows-small-round-badge/

Evidence

Compact, All projects:

Android iOS
Dark
Light

Compact, one project:

Android iOS
Dark
Light

Classic (unchanged) and Settings:

Android iOS
Classic dark
Classic light
Settings sheet
Other Gallery: Classic after relaunch:

Checks

  • iOS: app builds; all 2664 unit tests pass, including new HomeCompactRowTests and HomeDisplayPreferencesSessionRowsTests.
  • Android: :app:assembleDebug passes; new tests pass (HomeCompactRowPathTest, HomeSessionRowStyleTest, OpenCodeListItemPathSplitTest, SessionListCompactRowTest, CrossProjectSessionListSessionsTest); ktlintCheck clean on touched files.
  • Screenshots from the real apps against local opencode v1 servers (Android: local server, iOS: scenario harness), dark and light, All projects and one project.

Issue

Risks / Follow-ups

  • Android's full unit suite was not rerun after the round-badge change (drawing only).
  • Not checked against a v2 server; the row code is protocol-independent.
  • The Running dot looks low-contrast in the screenshots, probably caught at the faint end of its fade; worth a look on a device.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need.

ivanfenenko and others added 2 commits October 23, 2026 20:42
Home session rows default to a compact two-line layout: a 30pt round
project badge with a status dot on its top-right edge (Running fades
slowly, still with Reduce Motion), the title and time on line 1, and
`project / worktree` with a small status pill on line 2. Idle rows show
no dot and no pill. The worktree part appears only off the main checkout
while worktrees are shown, with feature/, fix/, chore/ and opencode/
dropped and the name cut in the middle; project and worktree share line 2
by the 40/60 rule.

Settings > Home gains "Session rows" (Compact, Classic), persisted and
reset with the other Home preferences. Classic keeps today's row.

The list item component gains a compact variant, a compact letter start
decorator that shares the round letter badge, and a path line, with
gallery entries.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ivanfenenko
ivanfenenko marked this pull request as ready for review October 23, 2026 19:10
@ivanfenenko
ivanfenenko merged commit 426216e into main Oct 23, 2026
6 checks passed
@ivanfenenko
ivanfenenko deleted the feature/803-compact-home-rows branch October 23, 2026 19:20

This branch was previously deployed

2 inactive deployments
ios-release — badd6095 Deployed Oct 23, 2026 by ivanfenenko via distribute #368
android-release — badd6095 Deployed Oct 23, 2026 by ivanfenenko via distribute #409
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Home: compact session rows with a Classic option

1 participant