Conversation
Owner, 2026-10-27: "When there's a You action, it should take me to the thread where I need to make the call." - Lane card: "You: ..." in Your look and Your review is its own button (a link: arrow, link colour on hover and focus), named "Open the thread to ...". It opens the card's sent thread, else the linked thread with the latest message (youThread), with the same way back to the Board; with no thread linked it opens the card. The title stays the button that opens the card; a click anywhere else on the card opens it too. - Opened card: an Open thread button in the You band, to the same thread. - Tests: youThread's choice (model.test.ts) and the separate targets and the panel's button (boardPage.test.tsx).
Owner, 2026-10-27: too much empty space under the lanes. The 24 px was the lanes' own bottom padding (12 px) plus .ib-bmain's (12 px). Now the lanes have none and .ib-bmain keeps 10 px, the gap between lanes; the opened card's panel ends on the same line. Phone: the stacked list's end padding 24 px -> 10 px (plus the safe area).
…lain text with no thread Review of #2240: - On a phone, "You: …" fills the card's bottom row and is at least 44 px tall (it was 18.8 px, so a slightly missed tap opened the card). The row takes the card's bottom padding and the gap above it. e2e asserts the height, the width and that it stays inside the card at the iPhone 15 size. - The accessible name now starts with the visible words (WCAG 2.5.3): "You: Merge #15, open the thread". The first letter is no longer lowercased. The opened card's Open thread is named by its own words and described by the You line. - With no thread linked, "You: …" is plain words, not a button, so there is no duplicate tab stop. A click on it still opens the card. - youThread drops the unreachable rowOf(sent): a send always links its thread, and the wire drops a gone one. - Tests check behaviour (the name holds the shown words, no second button with no thread) instead of echoing copy.
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
"You:" opens the thread where you decide. On a lane card in Your look and Your review, "You: …" is now a button of its own, separate from the card. It shows as a link: a small ↗ arrow at rest, and the link colour with an underline on hover and focus. Its accessible name is "Open the thread to merge #15". The title is still the button that opens the card, and a click anywhere else on the card opens it too. Keyboard: Tab reaches the title, then "You: …"; Enter on either does what it says. No new shortcuts.
Opened card. The You band gets a primary Open thread ↗ button that goes to the same thread. It is hidden when the card links no thread.
The way back is unchanged. A thread opened this way shows "‹ Board" and the card's chip, as a thread opened from the card's Threads list does.
Less padding under the lanes. The 24 px under the lanes came from two paddings of 12 px each: the lanes' own bottom padding and the Board body's. Now the lanes have none and the body keeps 10 px, the gap between lanes. The opened card's panel ends on the same line. On a phone, the stacked list's end padding goes from 24 px to 10 px (plus the safe area).
How the thread is chosen (
youThread,packages/inbox/board/model.ts)card.sent.thread_id), while it is still linked or in the list.last_atfrom the list row). When the list does not hold them, or on a tie, the one linked later.Tests
packages/inbox/board/model.test.ts: the thread choice: sent first; then the latest, whatever order the threads were linked in; the later-linked one when the list does not hold them; a sent thread that is gone is passed over; none gives null. Also the link's names.packages/inbox/boardPage.test.tsx(DOM): "You: …" and the title are separate targets. "You: …" opens the sent thread, else the latest, and never the card. With no thread it opens the card. The title and the rest of the card open the card and never a thread. The opened card's Open thread goes to the same thread and is absent with no thread.bun run typecheck; the Board DOM and model tests (28 pass); the build in order (review, hook, opencode) and the compiled binary;tests/e2e/inbox-board.spec.tsheadless against a scratch data dir (14 pass).Screenshots
These are local files from a seeded scratch Inbox. They are not embedded here.
/tmp/board-lean/shots/you-link-hover-1440-{light,dark}.png: "You: …" on hover/tmp/board-lean/shots/you-link-focus-1440-{light,dark}.png: "You: …" with keyboard focus/tmp/board-lean/shots/you-link-thread-1440-{light,dark}.png: Enter on it lands in the thread, with "‹ Board" and the card chip/tmp/board-lean/shots/you-link-opened-1440-{light,dark}.png,you-link-phone-opened-{light,dark}.png: the opened card's Open thread/tmp/board-lean/shots/bottom-padding-{before,after}-{light,dark}.png(and-full-): the padding under the lanes, before and afterApproved by the owner in the Inbox, 2026-10-27