Registry Mirror
Skip to content

Conversation

@backnotprop

@backnotprop backnotprop commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

The owner-approved Inbox polish batch (approved 2026-10-15), plus a sixth item the owner asked for during the build.

What changed

  1. Selected row. Hover and the selected row are now a pill 3 px inside the row, with no border (variant A). The separators stay unbroken. The Decisions page's rows use the same rule.
  2. Thread label. The label is left out when the subject already starts with the thread's name. The comparison uses inboxThreadNameKey and stops at a word's end. This applies to wide, two-line and phone rows.
  3. Tooltip. A cut label or subject shows ui's Tooltip on hover, after 150 ms. It opens only while the text is actually cut. The native title is gone from those two spans. On a phone, the label wraps to two lines instead. To support this, ui's Tooltip gets an optional shouldOpen(trigger) seam. Without it, the tooltip behaves exactly as before.
  4. Focus ring. Row-like items draw the 2 px ring inside themselves and follow their radius: list rows (on the pill), the Quiet band, sidebar rows and projects, fold lines, and the message head. Free-standing controls keep the 2 px outside ring. button.ib-mut gets radius 6. I measured the ring at 4.9:1 or more against the card, the hover fill and the selected fill, in light and dark.
  5. Steady message head. An open message's head is now the same single row as its folded line, so the mark, the name and the time keep their places. The owner chose the 24 px mark, so the body indent moved from 41 px to 34 px. Only the third column swaps: the snippet when folded, "in project · to you" plus the attachments count when open. The New tag, the session-ended mark and Reply stay in the row. In a thread with under 560 px of text (beside a file, a thread of about 568 px, on a phone), every head row, folded or open, takes two lines. This uses a container query on the thread body, not the window width. In one row, the third column wraps instead of cutting: the project name gives way first, and "to you", "session ended" and the attachments count never shrink. When the person opens a message, its body fades in over 160 ms with a 4 px rise. Folding is instant, and with reduced motion everything is instant.
  6. Brief highlight after Show (owner's request). After Show, each row it brought in lights up where it landed: rows that are new to the list, and rows with new agent activity. The highlight starts after the slide, holds about 600 ms and fades over about 900 ms. Selection and hover take precedence. A close-time settle and the first load never light rows.

Tests

  • New DOM test listLabels.test.tsx: the label is hidden when it repeats the subject, and the tooltip opens only when the text is cut. This test fails when shouldOpen is bypassed.
  • threadFolding.test.tsx: the head keeps the same cells folded and open, and only a body the person opened fades in.
  • openStaysPut.test.tsx: Show marks exactly the rows it brought in, and the mark clears.
  • inbox-thread-folding.spec.ts: the mark keeps the same 24 px box and position when the message opens, and the body lines up with the name.
  • tests/e2e/head-row.ts: the attachments count and "session ended" are drawn whole in the head row at 440 px and about 568 px thread widths (in the attachments and ended-session specs).
  • I updated the existing specs that read the old two-line header.
  • DOM_TESTS=1 bun test --isolate packages/inbox: 454 pass.
  • The inbox e2e specs touching the list, thread and folding pass against a compiled binary: inbox, thread-folding, open-stays-put, mobile, worst-case, attachments, new-message, seen-on-sight, order, list-resize, ended-session, decisions, mark-read, replaced, sidebar, project-menu, archived, attachment-stepping, compose, toolstrip-stacking, search, video and message-links.
  • bun run typecheck passes, and the guides.show manifest is still in sync.
  • I took before and after screenshots, light and dark, of the built window over a scratch Inbox: the wide list, the narrow list beside a thread, a thread with folded and open messages, and a phone.

… message head

1. The selected and hovered row are a pill 3 px inside the row (variant A),
   on the list rows and the Decisions page's rows.
2. The thread label is left out when the subject already starts with it.
3. A cut label or subject shows ui's Tooltip on hover, only while cut;
   no native title. On a phone the label wraps to two lines.
4. Keyboard focus: row-like items draw the 2 px ring inside themselves,
   following their radius; button.ib-mut gets radius 6.
5. An open message's head is the same row as its folded line, with the
   24 px mark in the same place; the body indent moves to 34 px.
6. Show lights the rows it brought in briefly where they landed.

ui's Tooltip gains an optional shouldOpen seam.
- The message head goes to two lines by a container query on the thread
  body (under 720 px), not the window; in one row its third column wraps
  instead of cutting. The project gives way first; "to you", the
  session-ended mark and the attachments count never shrink.
- Search's landing highlight and the skill highlight skip the open head row.
- The time keeps its title; a cut name gives the fold button its title.
- Show's light keeps running under the pointer; hover and the selection
  paint over it.
- List rows keep a transparent outline for forced colours.
- The thread label hides only when the subject's words end where its name
  does (a space, or ':', '-', '–', '—' and a space).
- HANDOFF.md: Tooltip's shouldOpen.
A 1280 or 1366 px window beside the list keeps folded lines one 44 px row
(the open row's third column wraps on its own). The fold button no longer
takes the cut name's title (its label already says the name).
- inbox-guides: a phone row's thread label is clamped at two lines; the
  truncation check reads the clamp too, and the name never passes two lines.
- inbox-seen-on-sight: wait for the smooth follow to bring the (two-line)
  head row fully into view before sampling it under the sheet.
…here it needs more

At 520 px and wider the 120-character name fits two lines on a phone row,
so the ellipsis is checked where it needs three (360 px); every row's
label is held to its line count (one, or two on a phone).
…hen places the arrival under the sheet

The follow brings an arrival's first lines above the foot, not above the
sheet; with the phone's two-line head row the head's top can show above
the sheet's edge. That state is still not seen (now asserted), and the
arrival is then placed wholly under the sheet for the covered check; after
the sheet closes the thread goes back to its end and the arrival is seen.
@backnotprop
backnotprop merged commit cfb3469 into main Oct 15, 2026
29 checks passed
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.

1 participant