Skip to content

Inbox: Choose how your list looks (three looks, round 7b) - #2886

Closed
backnotprop wants to merge 12 commits into
feat/rows-two-line-title-firstfrom
feat/rows-dialog-looks
Closed

backnotprop wants to merge 12 commits into
feat/rows-two-line-title-firstfrom
feat/rows-dialog-looks

Conversation

@backnotprop

@backnotprop backnotprop commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #2882 (base feat/rows-two-line-title-first).

What this does

The one-time list dialog becomes "Choose how your list looks". Three looks (Minimal, Balanced, Detailed), each with a small sketch, take the place of the four switches.

  • The picture. A short demo plays on an example Inbox window as the dialog opens. Letter marks pop in, the projects' logos land, the marks turn over and back to the stacked look, and a notes-look card rises in. Then the picture holds. A key or a click jumps straight to the held picture. With reduced motion the held picture shows at once. The picture follows the window's light or dark mode.
  • Picking. Nothing is picked when the dialog opens. The person's current look is marked "Current". A pick raises a card over the blurred picture, with the person's own threads shown in that look. Done stays disabled until a pick, then saves the whole look, the same way a Settings → Rows preset does. "Keep as it is" and Escape close the dialog and save nothing. "Customize rows" in the text opens Settings → Rows and saves nothing.
  • Words: "Choose how your list looks", "Pick a look. Fine-tune it any time in Customize rows, from ⋮ above the list.", "Current", "Inbox", "Your list", "Done", "Keep as it is".
  • Phone: a bottom sheet with the three looks side by side and 44 px buttons.
  • Who sees it, and when. The saved mark moves to version 2. Everyone who saw the earlier dialog sees this one once, and the earlier show is kept for the spacing between one-time dialogs. Nothing is cleared. Fresh installs now get it too. The dialog waits for a list of five threads or more, with no day-four rule. Dev builds still never decide it.
  • No new keyboard shortcuts. The looks are a radio group. The first focus goes to the group, so no look shows a focus ring before anyone picks.

Preset changes in Settings → Rows

Each change is its own commit and hunk, so any one is easy to revert.

  • Minimal is now the two-line, thread-name-first row: titleFirst + hidePreview + smallNames, nothing else. No unread dot, clock times.
  • Detailed drops the subject pill. This change is pending an owner answer. To undo it, set highlight: true again.
  • Detailed turns on the repo's logo (repoLogo). This change is pending an owner answer. The logo is a local file and nothing is asked of GitHub. A marked assertion in rowsSettings.test.tsx goes with it.
  • Balanced is unchanged.

Tests

  • Unit and DOM tests: the exact preset tokens; nothing preselected; Done disabled until a pick; Keep, Escape and Customize rows save nothing; the version-2 mark re-shows once (pure tests on the start rule); the five-thread trigger on the reveal line (reveals.test.ts: 4 threads passes it, 5 makes it next, with no day count) and in the client; the demo timeline; a key jumping to the held picture; reduced motion.
  • Voice is not held back by a small list. The list dialog holds the voice announcement back only while it can show: due, with five threads or more. A new case in inbox-voice.test.ts covers it: due under five threads, and voice can still claim.
  • Existing fixtures: fixtures that seeded a settled list-dialog mark now carry version: 2, so other dialogs' tests keep their meaning.
  • The e2e spec (tests/e2e/inbox-list-intro.spec.ts) was rewritten for the looks, fresh installs and the re-show.
  • Not run locally: the e2e spec, the server integration test for the dialog's route and inbox-voice.test.ts, because they start an Inbox. CI runs them. Its contrast, keyboard and phone-sheet checks were tried by hand against a scratch build and pass: words are at 5.9:1 or better in both modes.
  • tsc --noEmit: clean for packages/inbox, packages/server and packages/shared.

Calls I made

  • Bundled logos. The example projects' logos are bundled as small webp files (about 10 KB in total), so the picture never fetches anything. They are trademarks of their owners and are not covered by the MIT license. A NOTICE beside them says so and names where they came from. Showing famous projects' logos was accepted with the approved design (the take with example projects). The trademark question was never answered on its own.
  • Customize rows retires the dialog. It counts as an answer and saves nothing.
  • The menu-only save is gone. writeMenuLook saved only the switches changed in the old dialog. Nothing else used it, so it was removed.
  • Snooze keeps its own threshold. The snooze intro's three-row minimum is now its own constant and did not move to five.
  • Example window wording. The caption says "Example projects" over the example window, as in the mock. It switches to "Your list" after a pick.

Differences from the mock

  • Real titles in the card. The card shows the person's own thread titles as written, emoji included. In the mock, the rocket emoji was dropped from Detailed's example row.
  • No dividers. The card's rows have no hairline dividers between them, and unread times are in the primary colour, both as the real rows draw them.
  • Letters, not logos. The card shows letters, not the repo's logo, unless the person's saved look already turns repo logos on.
  • Phone caption. On a phone the caption is a little larger: it uses the phone font sizes.
  • Detailed's sketch. It keeps the mock's pill-shaped bar.
  • "Example projects". It is a round 1 word that is visible in the approved shots. It is not on round 7b's word list.
  • Old presets now read "Custom". Someone who picked the old Minimal or Detailed keeps exactly their look, because the look's options are saved, not the preset's name. Settings → Rows now calls that look "Custom", and the dialog marks no look "Current" for them.

… threads

The list dialog's record gets a version. A release start moves an older record
to version 2 and keeps it under `before`, so people who saw the 0.28.42 dialog
see the new one once, and fresh installs get it too. The page waits for five
threads (the line's minThreads and LIST_INTRO_MIN_ROWS), with no day count.
Snooze keeps its own three-row minimum.
Replaces the four switches with Minimal, Balanced and Detailed (Settings → Rows'
presets). The picture shows example projects: letter marks pop in, logos land,
the marks turn to the projects and back, and a notes-look card rises in; then it
holds. Nothing is picked at open; the current look says Current. A pick raises a
card with the person's own rows in that look over the blurred picture. Done saves
the picked look; Keep as it is and Escape save nothing; Customize rows opens
Settings → Rows.
…rd, phone sheet width

The dialog's column stretches so the picture and the looks fill its width. The first focus goes to the
looks (no ring on a look nobody picked). The card's rows take the card's own ground in dark mode. On a
phone the sheet keeps its 8 px edges.
…he earlier dialog

The spec drives the looks in place of the switches: nothing picked, Done waits for a pick, a pick raises
the card, Done saves the preset, Keep, Escape and Customize rows save nothing, a key or a click jumps the
demo to its held picture. A fresh install gets the dialog, and someone who saw the earlier dialog gets
this one once. The picture follows the window's mode, so the light-picture checks are gone.
…rd the line's five threads

The list dialog, due again for everyone, held the voice announcement back even for a list under five
threads, where no page shows it. Now it holds voice back only with the threads it waits for. A test in the
voice suite covers four threads, and the line's test covers four and five threads. A NOTICE says the
bundled example logos are their owners' trademarks and not under the MIT license. The demo's count
matches its rows.
Detailed's two-line preview centred the question bubble, pin and badge between its two lines. They now line
up with the preview's first line, as on a one-line preview, in the list and on the dialog's Detailed card
(the same row code). Balanced and any one-line preview look as before.
The picture address asks for the repo's logo (logo=1) whenever the look it draws has it on, and the Inbox
serves it then even if the saved look has it off. So the list dialog's Detailed card shows logos before the
look is saved, and the list keeps that picture after Done instead of a cached miss. The logo is a file in
the project's folder; GitHub pictures still come only from the saved switch.
The owner: no icons on Minimal, Balanced and Detailed. Each look is its name, centred; "Current" sits under
the person's look without moving its name, so the three names line up. The density sketches are gone.
The owner: "balance should be selected by default." The look the person has (Balanced, the defaults, for
most) is picked when the dialog opens, its card rising once the demo holds, so Done at once saves the same
look. Picking another moves the pick as before. A custom look still starts with none picked, so Done never
swaps it for a preset by accident.
backnotprop added a commit that referenced this pull request Nov 8, 2026
…s :has() part

softType.test: #2672's description body and #2735's Details panel set 26
bare font sizes. Each now goes through its --ib-fs token (same size at 14).

hasInvalidation.test: two rules ended in a part with nothing to key on after
a :has(), which restyles the whole page on any DOM change. Same elements,
:has() moved onto the styled element:
- #2886's two-line preview: the row line's parts beside .ib-pv.
- #2672's phone foot: the foot's parts beside .ib-prr-note.
backnotprop added a commit that referenced this pull request Nov 8, 2026
#2886 raises the rows dialog to version 2: a record without a version is
moved to it and made due at start. inbox-bro.test and inbox-dom-server's
bro-offer world (broRevealApp.test) wrote { shownAt } with no version, so
the rows dialog took the line's next slot instead of Bro mode. Both now
write version 2, as inbox-reveal and inbox-snooze-intro do.
yermakoffivan pushed a commit to yermakoffivan/plannotator that referenced this pull request Nov 8, 2026
…-looks

# Conflicts:
#	docs/agent-guides/inbox-window.md
#	packages/inbox/App.tsx
#	packages/inbox/rowsSettings.test.tsx
#	packages/server/inbox.ts
yermakoffivan pushed a commit to yermakoffivan/plannotator that referenced this pull request Nov 8, 2026
… intro's fresh world

- rowsNotesLook.test.tsx (main's notes-list look) pinned the old presets: Detailed with the subject
  pill, Minimal compact with agents off. Since backnotprop#2886 Detailed has no pill and Minimal is the two-line
  row, whose line 2 holds the row's end and never folds.
- inbox-list-options.spec.ts: Detailed saves roomy, previewTwo, marks and repoLogo, with no pill.
- inbox-list-intro.spec.ts: backnotprop#2886's fresh-install world wrote config.json whole without
  E2E_LAUNCH_OFF (Launch is on by default since 0.28.52).
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