Skip to content

Rows: title first with no preview is two lines - #2882

Merged
backnotprop merged 2 commits into
mainfrom
feat/rows-two-line-title-first
Nov 8, 2026
Merged

backnotprop merged 2 commits into
mainfrom
feat/rows-two-line-title-first

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

What changes

Settings → Rows, First line: Thread name with Subject preview: None. Today this row still has a third line, and that line holds only the counts and badges. Now the row is two lines:

  • line 1: thread name and time
  • line 2: agent icon and project, then at the right end the guided review mark, pin, Stopped / Holds up badge, snooze return time and question / action counts

Line 3 is not drawn. This applies to the three-line rows used beside an open thread and to phone rows. The project is cut with "…" before the items on the right get any smaller.

Only this combination

  • Every other look draws exactly as before. This includes First line "Thread name" with a 1- or 2-line preview, Subject preview "None" with First line "Project", and compact rows.
  • The default look does not change.
  • The full-width one-line rows (no thread open on a wide window) do not change.
  • A pinned row's screen-reader words, the badge's aria-describedby words, the hover "Mark read" button, unread styling and letter-mark avatars work as before.
  • The estimated height of a row that has not been drawn yet (contain-intrinsic-size) is now 66px for this row (76px for Roomy), because the row is shorter.

Why

The owner wants Customize rows to be able to make a real two-line row with the title first: "If it's not feasible, let's build whatever we need to make it feasible. And let's just keep what I have right now."

Tests

packages/inbox/listLook.test.tsx (DOM):

  • Title first with no preview: no line 3, and the count, pin and badge are at the end of line 2, on three-line rows and on phone rows. The pin never goes to line 1. This test fails without the change.
  • Unchanged combinations: title first with a preview, no preview alone, and compact title first with no preview all keep line 3.

Settings -> Rows, First line "Thread name" with Subject preview "None": the
guided review mark, pin, badge, snooze return and count move from line 3 to
the right end of line 2 (after the agent icons and project), and line 3 is
not drawn. Three-line rows beside a thread and phone rows; compact rows and
the full-width row are unchanged, as is every other combination.
@backnotprop backnotprop added the ci:full Run the heavy CI tier on this PR (added by the merge script) label Nov 7, 2026
…, one CSS source

The phone's two-line row gets its own content-box estimate (43px, roomy 46px),
measured in a sandbox Inbox; the wrapper estimates beside a thread stay 66/76px.
The test now checks the guided review mark and the snooze return move to line 2.
The count's look on line 2 joins the existing line-3 rules instead of repeating
them. The docs line gives the estimates.
@backnotprop
backnotprop merged commit 9a133f8 into main Nov 8, 2026
53 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the heavy CI tier on this PR (added by the merge script)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant