Skip to content

GitHub plugin: a pull request inbox that says what each one needs next - #6037

Closed
alexandre-vl wants to merge 2 commits into
get-bb:mainfrom
alexandre-vl:github-plugin-inbox
Closed

alexandre-vl wants to merge 2 commits into
get-bb:mainfrom
alexandre-vl:github-plugin-inbox

Conversation

@alexandre-vl

Copy link
Copy Markdown
Contributor

Human comments

What was wrong

The GitHub plugin showed pull requests as a table of titles with an open dot and a Review button, so it never said what a pull request needed or whose move it was. You had to open each one and read its checks, reviews and mergeability yourself; the detail's only action was Review with agent, and on a phone the table's columns did not fit. #5867 proposed an inbox that sorts pull requests by what they need next. The first port of that proposal was audited by eight independent agent reviews in two rounds: desktop design, phone and touch, scope, interaction bugs, interaction QA and code. Each round found the same root cause. The port added agent features that copied core, and its merge flow had six entry points, three confirm patterns and a dialog that overflowed. Check counts depended on the surface, and focus and loading broke under fast use. This pull request is that port after both rounds of fixes and cuts, rebased on main.

What changed

Only plugins/github, its docs, the verify-bb recipe and two docs/api_to_audit.md consumer notes change. Core, the SDK and the daemon are untouched; there is no wire change and no HOST_DAEMON_PROTOCOL_VERSION bump.

What to look at first

  1. One merge path.
    • The card's split button, the row's Merge…, m, the phone drawer and bb github merge all run gh pr merge --match-head-commit, so a push that lands mid-merge stops it.
    • Every one of them gets the same answer. A pull request whose only failing check is optional can be merged from the row, with m or from the card, and a blocked one says why.
  2. The Inbox shows what needs you. It reads "Inbox 5", not "Inbox 50". The tab, the nav badge and the home section count the same rows.
  3. A GitHub tool first.
    • The filled button is always a GitHub action. Agents get one outlined "Start an agent…" and one status line.
    • Six agent RPCs and the bulk, follow, peek and display features are gone. The first port had 16,289 lines of non-test code; this one has 14,118, against 4,683 on main.
  4. Phones.
    • A long press opens a drawer titled with the pull request.
    • Touch targets are 36 to 40 px, and inputs are 16 px so iOS doesn't zoom.
    • Pages no longer scroll sideways.
  5. Status changes apply at once, with Undo.
    • Close, draft and ready take one press.
    • The pill and the row show the change until GitHub confirms it, for up to a minute.
    • Reopen is offered right after Close.
  6. One fact, one source.
    • One shared store per resource.
    • Checks are deduplicated by workflow and name, and cancelled counts as failed.
    • A failed viewer lookup says so instead of "Nothing needs you".
  7. Failing CI stays visible. When your review or merge conflicts lead, the card still lists the failing checks with their logs, and the row adds "Checks failing" in red.
  8. No jumps, no lost focus.
    • The loading card takes the listed row's shape.
    • j/k moves one pull request per press in split view.
    • Closing a menu, sheet or dialog returns focus to where it was.

What it does

  • Inbox: Your move first (your review is requested, or changes were requested on yours), then your own pull requests that are ready to merge, need fixing or are in progress; snoozed ones fold at the end. Each row has one status glyph and the reason in words, such as #12 · Checks failing. The views are Inbox, Mine, All, Merged and Issues, and the panel badge counts what the Inbox tab counts.
  • Filter (/): free text plus is:, author:, assignee:, label:, base:, repo: and no:, with suggestions. Each token shows as a removable chip beside the number of matches.
  • Keyboard:
    • j/k, Enter and Esc move, open and close.
    • Single keys act on the focused row or the open pull request: a agent, m merge, r ready, s status, z snooze, t thread, c copy branch, o open on GitHub.
    • ? lists them, grouped by where they work.
  • Pull request detail, beside the list on a wide panel:
    • a status pill (Mark ready, Convert to draft, Close, Reopen) whose change shows at once, with Undo;
    • the diff stat and a branch copy chip;
    • a next-step card that leads with one GitHub action;
    • Activity, Files and Checks tabs, and a comment box.
  • Merge: one method menu behind the card's split button, the row's Merge… step, m and the phone drawer. The default method comes first. Deleting the branch is off until you turn it on, and a branch that a bb worktree holds is kept. Every merge runs gh pr merge --match-head-commit.
  • Snooze: until the checks change, a new push, tomorrow 8:00 or next Monday 8:00. Merging or closing wakes the pull request.
  • Issues:
    • the list, open issues first;
    • the detail, with the status pill and assignee and label pickers;
    • a new issue form: Enter moves to the description, ⌘/Ctrl+Enter creates it, and the draft is kept.
  • Start an agent…: bb's new-thread composer in a sheet. It is seeded with a prompt for what the pull request or issue needs and placed in the bb worktree already on the branch. It is always the last, secondary action. A linked thread shows as a glyph on the row.
  • Home page and thread panel: the first four pull requests that need you, and the linked pull request of a thread.
  • bb github CLI: new pr-state, merge, rerun, snooze, unsnooze and agent commands, and prs now prints each pull request's next step. Every command takes --json and --help.
  • Docs:
    • plugins/github/README.md and PLUGIN_OVERVIEW.md;
    • .bb/skills/verify-bb/features/plugin-github.md;
    • docs/api_to_audit.md, which names this plugin as a consumer of experimental_useBadge and of experimental_NewThreadComposer.
  • From main: Make GitHub PR diff headers clickable across the row #5901's whole-row diff header is carried over to the new Files tab.

Where it differs from #5867

  1. Inbox scope. The issue grouped everyone's pull requests into Your move, Ready to merge, Needs fixing, In progress and Drafts. Here the Inbox holds only your review requests and your own ready, failing or in-progress pull requests. Drafts and other people's pull requests live in Mine and All.
  2. Row reasons. The issue showed counts and a stack note, such as #5849 · 2 checks failing and 23 checks passed · stacked on #5756. Rows here use words only, because the list and the detail count checks differently.
    • When your review or conflicts lead, a red "· Checks failing" follows the reason. This bends the rule that hue appears only on the status glyph.
  3. Next-step card. The issue had "with an agent" buttons (Fix, Resolve, Finish) and a card that took the agent's answer. Here the filled button is the GitHub action, and there is one outlined "Start an agent…". The card shows one agent line; answers happen in the thread.
  4. Status menu. There is no Merged item and no dialog. Close takes one press and offers Undo, and the pill lists only the verbs that apply. In the list, s opens the whole row menu.
  5. Keys. x and bulk selection are gone.
  6. Ambient surfaces.
    • Thread-row statuses and the thread header action are dropped.
    • The palette command "GitHub: Open this thread's pull request" stays.
    • A nav badge was added, although the issue didn't propose one.
  7. Loading.
    • Skeletons swap instead of fading.
    • The per-tab requests became one getPull with a cache.
    • Rows don't slide or flash.
    • A merge has no loading toast.
    • A failed reply shows a toast and keeps your text.
  8. Diff stat and branch chip. Rows have no diff stat. The branch chip confirms a copy with a toast.
  9. Cut from the prototype:
    • peek;
    • display options;
    • the bulk bar with Merge all and Fix all;
    • follow;
    • snooze until reply;
    • answers in the card.
  10. Delivery. One pull request instead of the four the issue planned.
  11. Thread links (GitHub plugin: picking a PR in the thread sidebar should persist the thread↔PR link #4509). Only threads the plugin spawns are linked. A pull request picked in the thread panel is not stored.
  12. Merge implementation. Merges run gh pr merge from the plugin, not through core's environment merge, and the split button is the plugin's copy of core's.

Kept as proposed:

Every problem the reviews found, and its fix

Eight agent reviews in two rounds found 292 problems. Several reviews often found the same one; those share a line.

  • Round 1, on the first port: design (D), phone and touch (M), scope (S), interaction bugs (F).
  • Round 2, on the rework: UX (U), phone and touch (N), interaction QA (Q), code (C).
Theme IDs fixed cut superseded deliberate open unverified
Merge 34 24 4 5 0 1 0
Phone and touch 35 32 0 0 3 0 0
Loading and data freshness 27 23 0 0 0 3 1
Hierarchy and coherence, including copy 53 45 1 0 0 7 0
Scope: the agent features that were cut 51 15 35 0 0 1 0
Keyboard and focus 35 32 0 0 0 3 0
Status changes and state 12 10 0 0 1 1 0
Issues 19 11 0 0 3 5 0
Code health 26 8 2 3 0 13 0
Total 292 200 42 8 7 34 1
The 47 P0 and P1 findings, all fixed or cut
  • D01 · M1 · F01 · SB1 · S01 (design, P0; phone-1, P0; bugs, P0; scope, unrated) The merge dialog's form grid had an implicit auto column sized to the nowrap "Delete " label: content overflowed the dialog, the submit button crossed its edge, and the phone drawer scrolled sideways. → The dialog is gone; merging is a w-56 method menu whose base branch wraps with font-mono break-all. · superseded · components/merge.tsx:175-226, 195-198
  • D03 (design, P1) There were six ways to merge (the card, the row quick action, the row's Merged status, the pill's Merge…, M, Merge all), with three confirmation patterns and three vocabularies. → One MergeMethodItems list serves the card's split button, the row's Merge…, m and the phone drawer, with core's method labels and no Merged status item; the split button mirrors core's but is plugin code, not extracted from ThreadPromptContextBanner. · fixed · components/merge.tsx:175-295; components/row-menu.tsx:147-196; components/workspace.tsx:630-651; app-logic.ts:457-494
  • D04 · F05 · U01 · C01 (design, P1; bugs, P1; ux, P1; code, P1) On a PR whose only failing check was optional (UNSTABLE), the list refused to merge while the card offered Merge, and the row menu still hid Merge… in round 2. → Merge… shows wherever m works unless a hard block applies, and from the list it opens the detail, which decides with GitHub's mergeStateStatus. · fixed · components/row-menu.tsx:93-105, 184-196; components/workspace.tsx:630-651; components/pull-detail.tsx:413-434; pull-status.ts:513-560; app.test.tsx:636
  • D05 · F03 · M8 · SR05 (design, P1; bugs, P0; phone-1, P1; scope, unrated) One click on a hover-only "Merge all" merged 30 PRs in parallel, 20 of them stacked, each into its parent branch; on touch the button never appeared. → Merge all and Fix all were removed together with bulk selection, so each PR merges on its own. · cut · fa35bc6
  • D07 · F19 (design, P1; bugs, P2) During a merge, four "Merging…" indicators showed at once (pill, button, loading toast, row) while the card still said "Ready to merge". → The card says "Merging into main…" with a disabled button, the row shows a spinner, the pill does not change, and toasts report only the outcome; F19's separator half is on the D22 line. · fixed · components/next-step.tsx:412-436; components/pull-list.tsx:98-117; components/merge.tsx:61-100
  • U02 (ux, P1) The split button's 240 px menu was anchored with align="end", so it ran past the button's left edge to the viewport edge. → The menu is w-56 and anchored at the start. · fixed · components/merge.tsx:281-283
  • C02 · SX15 (code, P1; scope, unrated) The menu showed every merge method until the repository settings loaded, so the label flipped; the server's settings map was empty after a reload. → Until the settings arrive the row menu says "Loading the merge methods…", and the card uses the settings that getPull returns. · fixed · components/merge.tsx:123-149, 186-192; components/next-step.tsx:508-513
  • C03 (code, P1) The checks-running and changes-requested cards had no Merge, and m did nothing on them. → Both cards offer Merge. · fixed · components/next-step.tsx:618-643, 729-745
  • M3 · S28 · SR15 · N1 (phone-1, P1; scope, unrated; phone-2, P0) Phones had no row actions at all, because the hover buttons were hidden under 35rem; on touch tablets the "…" sat under the row button, so a tap opened the PR. → A long press opens core's CompactLongPressMenu drawer, and on hover:none devices the "…" always shows, layered above the row button (no regression test covers the layering). · fixed · components/pull-list.tsx:224-235; components/row-menu.tsx:307-348; components/issues.tsx:447-488
  • N4 (phone-2, P1) The long-press drawer never said which PR it acted on. → The drawer is titled "#N · title", and the pressed row stays highlighted. · fixed · components/row-menu.tsx:116-127, 181-183; components/pull-list.tsx:203, 234, 253; components/issues.tsx:290-292, 381-384, 481-487
  • N5 (phone-2, P1) Rows lacked select-none, so iOS would likely start a text selection on a long press. → Rows set select-none, as core's long-press rows do; no iOS device test was run. · fixed · components/pull-list.tsx:250; components/issues.tsx:382
  • M4 (phone-1, P1) The filter and comment fields used 15 px text, so iOS Safari zoomed the page when they took focus. → On phones the fields use 16 px text. · fixed · components/filter-bar.tsx:188; components/pull-tabs.tsx:328
  • M5 (phone-1, P1) Every route change pushed a history entry, so the system back gesture reopened the PR, and every tab switch or j/k press became a back step. → Route changes replace the entry, and the in-app Back calls history.back(); the device gesture was not re-tested. · fixed · app.tsx:42-74; components/workspace.tsx:360-370, 514-515
  • M6 · N7 (phone-1, P1; phone-2, P2) The view tabs overflow 390 px, and the active Issues tab stayed hidden under the fade. → The active tab scrolls into view, the strip has pr-6 scroll-pr-6, and the fade shows only while the content overflows. · fixed · components/pull-list.tsx:519-579
  • M7 (phone-1, P1) The detail header had three icon-only actions named only in tooltips, a 28 px Snooze, and an issue-key chip that collided with the number in the 299 px panel. → Copy and the issue chip are gone, the bar shows the repository, and the icons are 36 px on coarse pointers; the names are still only in tooltips. · fixed · components/pull-detail.tsx:612-661; components/shared.tsx:584-621
  • M10 (phone-1, P1) The agent sheet was 723 px tall with a sideways-scrolling strip of presets, and the keyboard covered the send row. → The preset strip is gone; the sheet opens with one prompt for the PR's state. · fixed · components/agent-sheet.tsx:60-122, 196-238
  • M11 · M30 (phone-1, P1 and P2) Many touch targets were 20 to 28 px: filter chips, file chevrons, the status pill, log links, Show more, Try again, the tabs and Send. → Each uses core's coarse-pointer size (36 to 40 px), and since 0e717bd the file toggle covers the whole file header. · fixed · components/shared.tsx:54, 607; components/filter-bar.tsx:300; components/pull-tabs.tsx:436; components/pull-state.tsx:40; components/workspace.tsx:897-906
  • M15 · N2 (phone-1, P2; phone-2, P1) Files paths were cut from the end, which hid the file name, and later a long file name ran under the line counts. → The file name comes first with the directory dimmed after it, and the name truncates before it reaches the counts. · fixed · components/pull-tabs.tsx:400-417, 461-468
  • N3 (phone-2, P1) A long URL in a Markdown list item made the issue page scroll sideways. → Markdown text wraps with overflow-wrap: anywhere. · fixed · components/markdown-lite.tsx:245
  • D02 · F02 · SB2 · S03 (design, P1; bugs, P0; scope, unrated) One PR showed different check counts on the row, the chip, the dialog, the card and the tab ("48 checks passed" against 46), because the list counted superseded runs. → Rows state the checks in words; numbers come only from the detail's deduplicated checks, the re-run count included, and the Checks tab shows its count once the detail has loaded. · fixed · pull-status.ts:450-460; components/pull-list.tsx:119-151; server.ts:1141-1178, 2015-2027; components/pull-detail.tsx:816-823
  • F16 · SR09 (bugs, P1; scope, unrated) Skipped checks counted as passed, and a cancelled run counted as passed in the detail but as failing in the list. → Skipped checks have their own count, and cancelled counts as failed everywhere. · fixed · server.ts:1127-1139; pull-status.ts:106-113; components/next-step.tsx:542-547; components/pull-tabs.tsx:663-674
  • F15 · Q03 · U25 · N12 (bugs, P1; qa, P1 then P2; ux, unrated; phone-2, P2) While the detail loaded, the tabs jumped (166 px, then 320, 274 and 34 px in round 2) because the delayed card skeleton was shorter than the card. → The skeleton renders at once, shaped from the listed row's next step; the parent's measurement (fork-pr-body-v4.md) found no jump in 9 of 10 cases, with Preserve command titles for non-exploratory first shell segments #5849 on a phone still moving 20 px. · fixed · components/next-step.tsx:231-364; components/pull-detail.tsx:745-758; 6dcaa48
  • C05 (code, P1) A stale RPC response could overwrite a fresh one. → Shared resources serialize their requests and drop responses from an older generation, and the issue detail guards its loads. · fixed · components/shared.tsx:162-230; components/issues.tsx:903-921
  • C04 (code, P1) When the viewer lookup failed, the Inbox, Mine and the home section said "Nothing needs you". → The list says "Can't tell which pull requests are yours" with Try again, and the home section says "Can't reach GitHub right now." · fixed · server.ts:2321-2347; components/workspace.tsx:765-775; components/shared.tsx:295-306; components/home-section.tsx:35-56, 135-141; app.test.tsx:691
  • D06 · SB3 · S02 · ST6 (design, P1; scope, unrated) The Inbox held everyone's ready and failing PRs ("Inbox 50" and "50 pull requests need you" while 3 did), and a test asserted that rule. → The Inbox, the nav badge and the home section hold the viewer's review requests plus the viewer's own ready, failing or in-progress PRs; everything else is in Mine and All, and the tests assert the viewer rule. · fixed · pull-status.ts:291-345; app-logic.ts:577-591; components/home-section.tsx:35-65; pull-status.test.ts:164; app.logic.test.ts:450
  • D08 · S13 (design, P1; scope, unrated) In 5 of 8 card states the filled button was the agent action. → The GitHub action (Merge, Re-run failed, Review on GitHub, Mark ready, Reopen) is the filled button, and one outlined "Start an agent…" comes last. · fixed · components/next-step.tsx:376-389, 524-537, 587-617, 746-765
  • D11 (design, P1) The headings in the PR's description outranked the next-step card. → Markdown headings and the card title are text-sm font-semibold, and inline code is text-xs. · fixed · components/markdown-lite.tsx:68, 114; components/next-step.tsx:78-80
  • D09 · S08 · F12 · F28 · M28 (design, P1; scope, unrated; bugs, P1 and P2; phone-1, P2) Three agent cards turned the detail into a chat client above the PR (question bubble, answer buttons and field, Send the log, the follow switch, a one-second clock); the waiting card also accepted a second answer, was misindented, and its controls were content-width on phones. → One AgentLine replaces them, with the agent's state, its task and Open thread; questions are answered in the thread. · cut · components/next-step.tsx:184-229
  • D10 · S14 (design, P1; scope, unrated) The comment box disappeared while an agent waited, and when it showed it had a To GitHub / To the agent / To a new agent switch. → It always renders, and it posts to GitHub only. · fixed · components/pull-tabs.tsx:290-361; components/pull-detail.tsx:844-852
  • D16 · F04 · M9 · S11 · SR12 (design, P1; bugs, P1; phone-1, P1; scope, unrated) Bulk selection offered "Start N agents" and "Fix all with agents" without confirmation, even on merged rows and rows that had an agent; the bulk agents shared one checkout; on phones a selected row lost its checkbox and the bar was clipped. → Bulk selection, Start N agents and Fix all were removed, and every action exists per row. · cut · fa35bc6
  • D17 (design, P1) The second row line showed the agent's full question, which the card and the timeline repeated. → Rows never show the question; a linked agent shows as its thread's status glyph. · fixed · components/pull-list.tsx:131-141, 311-315
  • D18 (design, P1) Activity listed agent events, with the thread title as the actor. → Agent events were removed from the timeline. · cut · components/pull-tabs.tsx:128-266
  • D14 · D25 · M2 · F30 · F36 · S24 (design, P1 and P2; phone-1, P0; bugs, P2; scope, unrated) The Display menu had 11 options; it showed on Issues, where none applied, and showed empty headings in the phone drawer; its compact mode squeezed titles to a few characters in split view, and it closed on some items but not others. → The Display menu was removed, leaving one two-line row grouped by next step. · cut · fa35bc6
  • D15 · F13 (design, P1; bugs, P1) A branch regex invented Linear keys (ISSUE-5834, STACK-13) for a chip that copied or opened them. → The chip and the branch-derived keys were removed; Linear links found in comments still show in Activity. · cut · components/pull-tabs.tsx:169-182; app-logic.ts:810-823
  • F06 (bugs, P1) Split view never scrolled the list to the open row. → The open row scrolls into view on mount and with j/k. · fixed · components/workspace.tsx:298-308, 514-518
  • F07 · Q23 (bugs, P1; qa, P2) Fast or held j/k in split view dropped presses (2 of 6 at 20 ms), and the Q01 focus fix brought the bug back. → The cursor is anchored on a ref that updates synchronously, so each press moves one PR. · fixed · components/workspace.tsx:410-416, 494-525; app.test.tsx:537; fb5eab1
  • F08 (bugs, P1) After a merge in split view, j opened the first row instead of the next one. → It steps from the merged row's last position. · fixed · components/workspace.tsx:502-506
  • F09 (bugs, P1) ←/→ in split view switched the view tab and closed the detail. → The arrows switch views only when no detail is open. · fixed · components/workspace.tsx:581-584
  • F10 (bugs, P1) The filter input replaced the view tabs, so ] switched to a view the user could not see. → The tabs stay visible while filtering. · fixed · components/workspace.tsx:546, 828-866
  • F11 (bugs, P1) With a query that matched nothing, Esc did nothing in the filter input. → Esc leaves the input even when no row matches. · fixed · components/filter-bar.tsx:116-128; components/workspace.tsx:853-858
  • F14 · C09 (bugs, P1; code, P2) Closing the merge dialog, the agent sheet or the ? help, or pressing Esc in the narrow layout, dropped focus to body. → A shared useReturnFocus hands focus back to whatever opened the overlay. · fixed · components/shared.tsx:107-136; components/agent-sheet.tsx:124-136; components/pull-list.tsx:610-620; components/workspace.tsx:353-358
  • Q01 (qa, P1) In split view the focus ring stayed on another row, so Enter opened the wrong PR. → Focus follows j/k onto the open row. · fixed · components/workspace.tsx:514-518
  • Q02 · U29 (qa, P1; ux, unrated) m focused "Back", so Enter returned to the main menu, and a merge step opened directly still showed Back. → A step opened directly has no Back and focuses the first method. · fixed · components/row-menu.tsx:146, 259-301
  • D12 · F29 · M14 (design, P1; bugs, P2; phone-1, P2) Two status menus did one job, with different widths and confirmations (a keyboard-worded "Press again" even on touch), and the row menu's verb hid in a truncated hint ("Merge into mai…"). → One verb-labelled item list serves the pill and the row menu, and a change applies at once, with Undo instead of a second press. · fixed · app-logic.ts:457-494; components/pull-actions.tsx:149-267; components/row-menu.tsx:197-204; components/pull-state.tsx:51-141; app.test.tsx:1309
  • U06 (ux, P1) On an issue, the only button-shaped action was "Start an agent…", placed above the GitHub fields. → The issue detail leads with the status pill and the assignee and label pickers, with an outlined "Start an agent…" after them, and the row menu starts with Assign to me and Close issue. · fixed · components/issues.tsx:1069-1129, 271-339
  • D13 (design, P1) With the issue row's menu open, the menu button was drawn over the age. → The age hides whenever the actions show. · fixed · components/issues.tsx:424-431
  • Q04 (qa, P1) Enter in the New issue title created the issue. → Enter moves to the description, and ⌘/Ctrl+Enter creates the issue. · fixed · components/issues.tsx:1274-1281
The 34 findings left open, all P2 or unrated
  • U20 (ux, P2) On a stacked PR the stack list pushes the tabs below the fold, and the filled primary merges a mid-stack PR into its parent branch. → Not done; the review proposed showing the parent, this PR and the child, then "N more".
  • U26 (ux, P2) Offline, the detail shows stale data as if live and keeps Merge enabled. → Not done; the offline banner shows only above the list.
  • SX13 (scope, unrated) Superseded responses write the detail cache before the sequence check. → Not done; low impact.
  • SR13 (scope, unrated) Woken snoozes are deleted inside a read (listItems), which several subscribers call at once. → Not done; low impact.
  • D23 · C25 (design, P2; code, P2) Buttons came in four heights, controls in five radii, and containers followed two alignment rules; the shared text button was 28 px with 12 px text, and 36 px on touch where the plan said 40. → Partly done: card actions are h-8 (h-10 on touch), icon buttons h-7, chips rounded-md, containers rounded-lg with no outdent; inline text buttons are still h-7 text-xs on desktop, and the pill is still rounded-full.
  • U08 (ux, P2) Row reasons repeated the group header ("Checks passing" 30 times under Ready to merge), named a machine state ("Waiting for GitHub" 23 times) and carried 50-character branch names, and the draft card's title was a question. → Partly done: "Waiting for GitHub" is gone from rows, conflicts say "Merge conflicts", and the draft card is titled "Draft"; unapproved ready rows still read "Checks passing" under "Ready to merge".
  • U33 (ux, P2) A failing check is drawn two ways: with a Log action in the card, and with a Required tag in the Checks tab. → Not done; the review proposed one shared check row.
  • U44 (ux, P2) Open is drawn three ways: a green GitPullRequest on the pill, a muted one on the row, and a green GitPullRequestArrow on a changed row. → Not done.
  • U47 (ux, P2) Group headers and section labels use 12 px at weight 500, which is outside the type scale. → Not done.
  • SX9 (scope, unrated) One action has two names: "Open the agent's thread" in the row menu and "Open thread" on the card. → Not done; low impact.
  • SR11 (scope, unrated) The agent sheet's draft key leaves out the placement and the preset, so a saved draft can outlive the prompt it was seeded from. → Still true by reading (not run): the key is github:<kind>:<repo>#<number>, and core's composer seeds only an empty draft (stored in localStorage). A sheet closed unsent and reopened after the PR's state or worktree changed therefore shows the old prompt, while the environment re-seeds.
  • U30 (ux, P2) In split view the open PR may be missing from the list beside it, and switching views closes the detail. → Not done; the review proposed keeping the detail open and pinning the PR as a "Viewing" row.
  • U34 (ux, P2) s opens the whole row menu, while the shortcuts list calls it "Change the status". → Not done.
  • U35 (ux, P2) Moving with j/k hides the age of the row being read. → Not done.
  • C24 (code, P2) The thread panel keeps the PR picked for a thread in local state, so reopening the panel forgets it. → Not done; linkThread is called only when the sheet spawns a thread.
  • U14 (ux, P2) The Issues list shows no match count beside the filter; its missing j/k is covered by Q18. → Not done.
  • U27 (ux, P2) An indented code fence, such as one inside a list item, renders as text. → Not done.
  • C23 · S27 (code, P2; scope, unrated) The issue detail's assignee and label pickers apply at once with only an error toast, while the row's Assign to me has Undo, so issue edits still run through two paths. → Not done.
  • C19 (code, P2) bb github issues lists only open issues, while the panel also lists closed ones. → Not done; the review proposed --state open|closed|all.
  • C15 (code, P2) The contract has dead surface: listItems accepts inputs nobody sends, getPull ships three unused fields, and many exports are used only in their own file. → Not done.
  • C18 (code, P2) getPull types absence as empty strings, which the UI turns back into null. → Not done.
  • C12 (code, P2) PRs and issues have two status pill components, and the home section redraws the list skeleton's row. → Not done.
  • S17 (scope, unrated) Row, detail and keyboard actions were wired three times, through an imperative handle and 20 detail props. → Partly done: the actions live in one module, but the imperative handle and 13 detail props remain.
  • S30 (scope, unrated) server.ts, pull-detail.tsx, inbox.tsx and workspace.tsx were each between 1,460 and 4,014 lines. → Partly done: the UI is split into per-surface modules, but server.ts is still one 3,599-line file.
  • SX1 (scope, unrated) Key caps render two ways: KeyCaps uses core's ShortcutPill, while the shortcuts dialog hand-rolls <kbd>. → Not done.
  • SX3 (scope, unrated) The list's context and actions are rebuilt on every render, so every row re-renders. → Not done.
  • SX7 (scope, unrated) Counters still act as events (statusRequest, snoozeRequest, focusFilter). → Not done.
  • SX8 (scope, unrated) RPC and type names mix "pull" and "PR" (getPull and mergePull beside rerunFailedChecks, repoSettings and pullForThread). → Not done.
  • SX12 (scope, unrated) useProjectHost is a shared hook with a single caller, the agent sheet. → Not done.
  • SX16 (scope, unrated) The view tab is persisted in an effect instead of in switchView. → Not done.
  • SR14 (scope, unrated) The document key listener re-binds whenever one of its dependencies changes (25 at the port). → Not done; it has 17 dependencies now.
  • ST3 (scope, unrated) No test covers keyboard targets after collapsing a group, filtering or hovering. → Not done; tests cover held j/k and Esc with a filter, not collapse or hover targets.

F27 is unverified. The agent sheet's loading placeholder and the composer are both min-h-48, but core sets the composer's final height, so only a layout check can rule out a jump.

The comment below lists all 292, theme by theme.

Before and after

All screenshots come from a local Ladle story with mocked public get-bb/bb data. The story is not part of this pull request.

main and this pull request

mainThis pull request
Inboxmain: InboxThis pull request: Inbox
Pull requestmain: Pull requestThis pull request: Pull request
Phone inboxmain: Phone inboxThis pull request: Phone inbox
Phone pull requestmain: Phone pull requestThis pull request: Phone pull request
Darkmain: DarkThis pull request: Dark

Flows

Merging a ready pull request from its row, then opening one whose review is requested:

Merging from the row on desktop, then opening a review request

On a phone: long press, Merge…, Squash merge:

Long press, Merge…, Squash merge on a phone

Every screen

Merge: the card's split button and its method menu
Merge: the card's split button and its method menu
Row menu: the Merge… step
Row menu: the Merge… step
Row menu
Row menu
Your review leads, and the failing check stays listed
Your review leads, and the failing check stays listed
Ready to merge
Ready to merge
Filter chips
Filter chips
Split view with a running agent
Split view with a running agent
Split view, ready to merge
Split view, ready to merge
Mine
Mine
Issues
Issues
Issue detail
Issue detail
New issue
New issue
Start an agent…
Start an agent…
Home page
Home page
Shortcuts, grouped by where they work
Shortcuts, grouped by where they work
Merge menu, dark
Merge menu, dark
Pull request, dark
Pull request, dark
Issue detail, dark
Issue detail, dark

On a phone:

Inbox
Inbox
Long press: the row's drawer
Long press: the row's drawer
The merge drawer
The merge drawer
Pull request
Pull request
Issues
Issues
Issue
Issue
Home page
Home page
Inbox, dark
Inbox, dark

What the reviews changed, first port and now

Merge, phone row actions, loading, failing checks, the agent sheet, and what was cut
First portNow
Merge: one menu inside the card instead of a dialogFirst port: Merge: one menu inside the card instead of a dialogNow: Merge: one menu inside the card instead of a dialog
Row actions on a phone: a long press opens a drawerFirst port: Row actions on a phone: a long press opens a drawerNow: Row actions on a phone: a long press opens a drawer
Loading: the skeleton takes the card's shape, so the page doesn't jumpFirst port: Loading: the skeleton takes the card's shape, so the page doesn't jumpNow: Loading: the skeleton takes the card's shape, so the page doesn't jump
Failing checks stay listed when your review leadsFirst port: Failing checks stay listed when your review leadsNow: Failing checks stay listed when your review leads
…and the row says soFirst port: …and the row says soNow: …and the row says so
Start an agent…: core's composer, seeded from the pull requestFirst port: Start an agent…: core's composer, seeded from the pull requestNow: Start an agent…: core's composer, seeded from the pull request

Cut as agent or power-user features that copied core or didn't belong in a GitHub tool:

Bulk selection
Bulk selection
Merge all
Merge all
Display options
Display options
Thread header chip
Thread header chip

How you verified

  • On this branch, rebased on b143a228609:
    • pnpm exec turbo run typecheck lint test --filter=bb-plugin-github:
    • node scripts/check-plugin-forks.mjs plugins/github: 1 forkable plugin(s) passed.
  • Among the new tests:
    • The loading card draws one row per failing check the list reported. It fails on the old skeleton with expected to have a length of 2 but got +0.
    • j in split view moves one pull request per press while the route catches up. It fails without the fix.
    • Reopen is offered right after Close, before GitHub reports the new state.
    • When your review or conflicts lead, rows add Checks failing, and the review card lists the failing checks.
  • Browser checks with Playwright on the final code, at desktop size and at 390 px with touch, in a Ladle story with mocked data:
    • The interaction QA thread's 22 checks: 20 pass. The other two are the deliberate choices listed above.
    • Focus:
      • six j presses 20 ms apart move six rows;
      • Esc from the agent sheet goes back to the row;
      • merging from the card keeps focus on the card;
      • removing the last filter chip focuses the first row;
      • when a merged row leaves the list, the next row gets focus.
    • Loading: the tabs below the card move 0 px for 9 of the 10 pull requests measured; before, they moved up to 122 px. The tenth moves 20 px on a phone, where its card's detail line wraps.
    • Diff headers: clicking the counts or the row's edge opens and closes all 5 files without selecting text.
  • Not run: a merge on a real pull request. It needs an authorized disposable pull request, and the verify-bb recipe lists the steps.

Fixes #5867

AGENT GENERATED

The plugin listed pull requests without saying what each one needed from
the viewer, so every row had to be opened and read. This makes the panel
an inbox: Your move first, then the viewer's own pull requests grouped by
their next step, each row with one status glyph and the reason in words.

- Views Inbox, Mine, All, Merged and Issues; the panel badge counts the
  pull requests that need the viewer. Filter with is:, author:, label:,
  base:, repo: and chips; j/k, Enter and single-key actions.
- Pull request detail with a next-step card that leads with one GitHub
  action, a status pill (ready, draft, close, reopen) with Undo, the diff
  stat, a branch copy chip, and Activity, Files and Checks tabs.
- One merge path: the card's split button, the row's Merge… step, m and
  the phone drawer share one method menu, and every merge runs
  gh pr merge with --match-head-commit.
- Phones: long-press drawers titled with the pull request, 40 px touch
  targets, a merge drawer, rows that clamp to two lines.
- Loading: the next-step skeleton takes the listed row's shape; status
  changes and merges show at once until GitHub reports them.
- Failing checks stay visible when the viewer's review or conflicts lead.
- Issues: list, detail, status, assignee and label pickers, new issue.
- Start an agent: bb's new-thread composer in a sheet, seeded from the
  pull request or issue; a linked thread shows as a glyph on the row.
- bb github CLI: pr-state, merge, rerun, snooze, unsnooze and agent.
- The server keeps the viewer's last GitHub login.

Fixes get-bb#5867
@alexandre-vl

Copy link
Copy Markdown
Contributor Author

Every finding from the eight reviews, and its fix

Eight agent reviews in two rounds found 292 problems. Several reviews often found the same one; those share a line.

  • Round 1, on the first port: design (D), phone and touch (M), scope (S), interaction bugs (F).
  • Round 2, on the rework: UX (U), phone and touch (N), interaction QA (Q), code (C).
  • Statuses: fixed, cut, superseded, deliberate, open and unverified.
  • Line numbers match this pull request. Short hashes refer to the review history on the github-plugin-inbox-v3 branch of alexandre-vl/bb, which this pull request squashes into one commit.

Merge

  • D01 · M1 · F01 · SB1 · S01 (design, P0; phone-1, P0; bugs, P0; scope, unrated) The merge dialog's form grid had an implicit auto column sized to the nowrap "Delete " label: content overflowed the dialog, the submit button crossed its edge, and the phone drawer scrolled sideways. → The dialog is gone; merging is a w-56 method menu whose base branch wraps with font-mono break-all. · superseded · components/merge.tsx:175-226, 195-198
  • D03 (design, P1) There were six ways to merge (the card, the row quick action, the row's Merged status, the pill's Merge…, M, Merge all), with three confirmation patterns and three vocabularies. → One MergeMethodItems list serves the card's split button, the row's Merge…, m and the phone drawer, with core's method labels and no Merged status item; the split button mirrors core's but is plugin code, not extracted from ThreadPromptContextBanner. · fixed · components/merge.tsx:175-295; components/row-menu.tsx:147-196; components/workspace.tsx:630-651; app-logic.ts:457-494
  • D04 · F05 · U01 · C01 (design, P1; bugs, P1; ux, P1; code, P1) On a PR whose only failing check was optional (UNSTABLE), the list refused to merge while the card offered Merge, and the row menu still hid Merge… in round 2. → Merge… shows wherever m works unless a hard block applies, and from the list it opens the detail, which decides with GitHub's mergeStateStatus. · fixed · components/row-menu.tsx:93-105, 184-196; components/workspace.tsx:630-651; components/pull-detail.tsx:413-434; pull-status.ts:513-560; app.test.tsx:636
  • C27 (code, P2) m in the list, on a PR that GitHub blocks, opened the detail and then did nothing. → The detail shows a toast with GitHub's reason. · fixed · components/pull-detail.tsx:413-434; app.test.tsx:667
  • D05 · F03 · M8 · SR05 (design, P1; bugs, P0; phone-1, P1; scope, unrated) One click on a hover-only "Merge all" merged 30 PRs in parallel, 20 of them stacked, each into its parent branch; on touch the button never appeared. → Merge all and Fix all were removed together with bulk selection, so each PR merges on its own. · cut · fa35bc6
  • D07 · F19 (design, P1; bugs, P2) During a merge, four "Merging…" indicators showed at once (pill, button, loading toast, row) while the card still said "Ready to merge". → The card says "Merging into main…" with a disabled button, the row shows a spinner, the pill does not change, and toasts report only the outcome; F19's separator half is on the D22 line. · fixed · components/next-step.tsx:412-436; components/pull-list.tsx:98-117; components/merge.tsx:61-100
  • U42 · N10 (ux, P2; phone-2, P2) The card collapsed as soon as a merge started (174 px to 58 px on a phone), so content jumped under the pointer. → The merging card keeps its head-to-base detail line and a disabled merge button. · fixed · components/next-step.tsx:412-436
  • U02 (ux, P1) The split button's 240 px menu was anchored with align="end", so it ran past the button's left edge to the viewport edge. → The menu is w-56 and anchored at the start. · fixed · components/merge.tsx:281-283
  • U03 (ux, P2) The menu label "Merge #N into main" read as a fourth merge option. → It is now a muted label followed by a separator. · fixed · components/merge.tsx:195-199
  • N6 (phone-2, P2) On a stacked PR the merge step truncated the base branch, which is the one fact the step exists to show. → The base branch wraps with break-all. · fixed · components/merge.tsx:195-198
  • N20 (phone-2, P2) "Delete the branch" was on by default and showed only inside the chevron menu, so one tap deleted the branch without warning. → It is off until turned on, then remembered; it is hidden when the repository deletes branches itself or the branch must be kept (a bb worktree holds it, or it lives in a fork). · fixed · components/merge.tsx:144-147, 151-173
  • C02 · SX15 (code, P1; scope, unrated) The menu showed every merge method until the repository settings loaded, so the label flipped; the server's settings map was empty after a reload. → Until the settings arrive the row menu says "Loading the merge methods…", and the card uses the settings that getPull returns. · fixed · components/merge.tsx:123-149, 186-192; components/next-step.tsx:508-513
  • C03 (code, P1) The checks-running and changes-requested cards had no Merge, and m did nothing on them. → Both cards offer Merge. · fixed · components/next-step.tsx:618-643, 729-745
  • C13 · SR04 · S20 (code, P2; scope, unrated) The environment merge path, used when an agent's worktree held the branch, merged without the head-commit guard. → Every merge goes through mergePull, which runs gh pr merge --match-head-commit. · fixed · components/merge.tsx:61-100; server.ts:2090-2165
  • C-N1 · Q17 (code, P2; qa, P2) m pressed before the repository settings loaded toasted "You can't merge in get-bb/bb". → Unknown settings count as "may merge", so m opens the method menu. · fixed · components/workspace.tsx:310-323; components/row-menu.tsx:100-105
  • U20 (ux, P2) On a stacked PR the stack list pushes the tabs below the fold, and the filled primary merges a mid-stack PR into its parent branch. → Not done; the review proposed showing the parent, this PR and the child, then "N more". · open · components/pull-detail.tsx:176-235; components/next-step.tsx:746-765; pull-status.ts:513-528
  • F31 (bugs, P2) After a merge the card disappeared without saying who merged it or when, and the Checks tab count vanished. → The card says "Merged into " with "by X" and the time, and the tab count stays. · fixed · components/next-step.tsx:457-469; components/pull-detail.tsx:816-823
  • N11 (phone-2, P2) For about a second after a merge the card said Merged while the pill still said Open. → The pill also reads the local merged mark. · fixed · components/pull-detail.tsx:441-446

Phone and touch

  • M3 · S28 · SR15 · N1 (phone-1, P1; scope, unrated; phone-2, P0) Phones had no row actions at all, because the hover buttons were hidden under 35rem; on touch tablets the "…" sat under the row button, so a tap opened the PR. → A long press opens core's CompactLongPressMenu drawer, and on hover:none devices the "…" always shows, layered above the row button (no regression test covers the layering). · fixed · components/pull-list.tsx:224-235; components/row-menu.tsx:307-348; components/issues.tsx:447-488
  • N15 · Q15 (phone-2, P2; qa, P2) Phones show no "…", so a long press, which nothing hints at, is the only path from the list to row actions. → Kept on purpose: phones use the long press as core's thread rows do, every action is also in the detail, and the README says so. · deliberate · components/pull-list.tsx:213-214; README.md:31-33
  • N4 (phone-2, P1) The long-press drawer never said which PR it acted on. → The drawer is titled "#N · title", and the pressed row stays highlighted. · fixed · components/row-menu.tsx:116-127, 181-183; components/pull-list.tsx:203, 234, 253; components/issues.tsx:290-292, 381-384, 481-487
  • N5 (phone-2, P1) Rows lacked select-none, so iOS would likely start a text selection on a long press. → Rows set select-none, as core's long-press rows do; no iOS device test was run. · fixed · components/pull-list.tsx:250; components/issues.tsx:382
  • M4 (phone-1, P1) The filter and comment fields used 15 px text, so iOS Safari zoomed the page when they took focus. → On phones the fields use 16 px text. · fixed · components/filter-bar.tsx:188; components/pull-tabs.tsx:328
  • M5 (phone-1, P1) Every route change pushed a history entry, so the system back gesture reopened the PR, and every tab switch or j/k press became a back step. → Route changes replace the entry, and the in-app Back calls history.back(); the device gesture was not re-tested. · fixed · app.tsx:42-74; components/workspace.tsx:360-370, 514-515
  • M6 · N7 (phone-1, P1; phone-2, P2) The view tabs overflow 390 px, and the active Issues tab stayed hidden under the fade. → The active tab scrolls into view, the strip has pr-6 scroll-pr-6, and the fade shows only while the content overflows. · fixed · components/pull-list.tsx:519-579
  • M7 (phone-1, P1) The detail header had three icon-only actions named only in tooltips, a 28 px Snooze, and an issue-key chip that collided with the number in the 299 px panel. → Copy and the issue chip are gone, the bar shows the repository, and the icons are 36 px on coarse pointers; the names are still only in tooltips. · fixed · components/pull-detail.tsx:612-661; components/shared.tsx:584-621
  • M10 (phone-1, P1) The agent sheet was 723 px tall with a sideways-scrolling strip of presets, and the keyboard covered the send row. → The preset strip is gone; the sheet opens with one prompt for the PR's state. · fixed · components/agent-sheet.tsx:60-122, 196-238
  • M11 · M30 (phone-1, P1 and P2) Many touch targets were 20 to 28 px: filter chips, file chevrons, the status pill, log links, Show more, Try again, the tabs and Send. → Each uses core's coarse-pointer size (36 to 40 px), and since 0e717bd the file toggle covers the whole file header. · fixed · components/shared.tsx:54, 607; components/filter-bar.tsx:300; components/pull-tabs.tsx:436; components/pull-state.tsx:40; components/workspace.tsx:897-906
  • M12 (phone-1, P2) On phones the next-step card's stacked buttons were 32 px tall. → They use max-md:pointer-coarse:h-10, core's prompt-action size. · fixed · components/next-step.tsx:40
  • M13 (phone-1, P2) Key-cap pills appeared inside phone drawers, where they mean nothing. → Menu shortcuts use core's DropdownMenuShortcut and hide on coarse pointers. · fixed · components/pull-actions.tsx:98-104; components/row-menu.tsx:107-114; components/shared.tsx:548
  • M15 · N2 (phone-1, P2; phone-2, P1) Files paths were cut from the end, which hid the file name, and later a long file name ran under the line counts. → The file name comes first with the directory dimmed after it, and the name truncates before it reaches the counts. · fixed · components/pull-tabs.tsx:400-417, 461-468
  • M16 (phone-1, P2) Each open diff was a 320 px scroll box inside the page's scroll, which trapped swipes on a phone. → Below 35rem a diff has no height cap; the nested scroll exists only on wider panels. · fixed · components/pull-tabs.tsx:471
  • M18 (phone-1, P2) A Checks row left about 120 px for the check's name, and the word "Failed" repeated the red failure icon. → The status word is gone and the name wraps. · fixed · components/pull-tabs.tsx:541-580
  • M19 (phone-1, P2) min-h-16 left 14 px of dead space under one-line titles on phones. → Rows take their height from their padding. · fixed · components/pull-list.tsx:250
  • M21 (phone-1, P2) The list header was 52 px and the detail header 40 px, so content jumped 12 px on every open and back. → Both headers have one height. · fixed · components/pull-list.tsx:63-64
  • M22 (phone-1, P2) The row's meta line cut "stacked on Move new chat and manager actions into sidebar #5…" mid-number and dropped "draft" when the reason was long. → Rows carry no stack note, and a draft shows through its glyph. · fixed · components/pull-list.tsx:288-300
  • M23 (phone-1, P2) The branch chip showed two ellipses, a JS middle truncation followed by a CSS one. → Only CSS truncates the name, and on phones it wraps anywhere. · fixed · components/pull-state.tsx:270-285
  • M27 · N16 (phone-1, P2; phone-2, P2) "Change status…" and "Snooze…" replaced the menu with no way back, and later the steps lacked core's trailing chevron and aligned columns. → The steps follow core's pattern: a chevron on the opener, a Back row, and labels aligned with it. · fixed · components/pull-actions.tsx:320-335; components/row-menu.tsx:107-114; components/merge.tsx:201-209
  • M31 (phone-1, P2) Width stood in for touch, so a narrow mouse window lost features and touch tablets got hover-only UI. → Width now drives only layout; hover:none drives what is revealed, and core's coarse tokens drive sizes. · fixed · components/workspace.tsx:184; components/pull-list.tsx:224-226, 302-309
  • N3 (phone-2, P1) A long URL in a Markdown list item made the issue page scroll sideways. → Markdown text wraps with overflow-wrap: anywhere. · fixed · components/markdown-lite.tsx:245
  • N14 (phone-2, P2) On touch tablets the row "…" was 28 px, and it is the tablet's only path to row actions. → The "…" is 36 px on every hover:none device. · fixed · components/row-menu.tsx:274; components/issues.tsx:461
  • N17 (phone-2, P2) On phones the status pill, the branch copy chip and the diff stat were 32 px, below core's 36 px. → They use the coarse h-9. · fixed · components/pull-state.tsx:40, 246, 274
  • N18 (phone-2, P2) On phones home rows cut titles to one line, while the Inbox wraps them to two. → Home titles clamp at two lines on phones. · fixed · components/home-section.tsx:102
  • N21 (phone-2, P2) Screen readers announced "Status of #N" twice in the status and snooze drawers. → In the drawer the visible label is hidden from screen readers and the drawer title remains; the issue pickers still use the old pattern (components/issues.tsx:643-648). · fixed · components/pull-state.tsx:127, 214; components/pull-detail.tsx:327
  • N19 (phone-2, P2) On phones, toast Undo is a 24 px button at the top edge, away from the thumb, for about 4 s. → Kept: the toaster belongs to core (top-center on compact viewports), so the fix belongs there. · deliberate · apps/app/src/components/AppToasterView.tsx:25

Loading and data freshness

  • D02 · F02 · SB2 · S03 (design, P1; bugs, P0; scope, unrated) One PR showed different check counts on the row, the chip, the dialog, the card and the tab ("48 checks passed" against 46), because the list counted superseded runs. → Rows state the checks in words; numbers come only from the detail's deduplicated checks, the re-run count included, and the Checks tab shows its count once the detail has loaded. · fixed · pull-status.ts:450-460; components/pull-list.tsx:119-151; server.ts:1141-1178, 2015-2027; components/pull-detail.tsx:816-823
  • F16 · SR09 (bugs, P1; scope, unrated) Skipped checks counted as passed, and a cancelled run counted as passed in the detail but as failing in the list. → Skipped checks have their own count, and cancelled counts as failed everywhere. · fixed · server.ts:1127-1139; pull-status.ts:106-113; components/next-step.tsx:542-547; components/pull-tabs.tsx:663-674
  • S22 · SR08 (scope, unrated) latestChecks keyed checks by name alone, so same-named jobs from different workflows collapsed into one. → Checks are keyed by workflow and name. · fixed · server.ts:1141-1153
  • F15 · Q03 · U25 · N12 (bugs, P1; qa, P1 then P2; ux, unrated; phone-2, P2) While the detail loaded, the tabs jumped (166 px, then 320, 274 and 34 px in round 2) because the delayed card skeleton was shorter than the card. → The skeleton renders at once, shaped from the listed row's next step; the parent's measurement (fork-pr-body-v4.md) found no jump in 9 of 10 cases, with Preserve command titles for non-exploratory first shell segments #5849 on a phone still moving 20 px. · fixed · components/next-step.tsx:231-364; components/pull-detail.tsx:745-758; 6dcaa48
  • C05 (code, P1) A stale RPC response could overwrite a fresh one. → Shared resources serialize their requests and drop responses from an older generation, and the issue detail guards its loads. · fixed · components/shared.tsx:162-230; components/issues.tsx:903-921
  • C06 · S16 · SR01 (code, P2; scope, unrated) Every surface fetched its own copy of the data, so one data-changed signal cost 4 status, 2 repoSettings and 2 listLinks calls. → There is one shared store per resource, each with one subscription; repoSettings stays its own resource rather than merging into status, as S16 proposed. · fixed · components/shared.tsx:232-306
  • C04 (code, P1) When the viewer lookup failed, the Inbox, Mine and the home section said "Nothing needs you". → The list says "Can't tell which pull requests are yours" with Try again, and the home section says "Can't reach GitHub right now." · fixed · server.ts:2321-2347; components/workspace.tsx:765-775; components/shared.tsx:295-306; components/home-section.tsx:35-56, 135-141; app.test.tsx:691
  • U26 (ux, P2) Offline, the detail shows stale data as if live and keeps Merge enabled. → Not done; the offline banner shows only above the list. · open · components/pull-detail.tsx:612-661; components/workspace.tsx:891-908
  • C07 (code, P2) A list error showed twice. → It shows once, with one Try again. · fixed · components/workspace.tsx:754-764, 891-908
  • C08 (code, P2) In split view a refresh reset the list's scroll position. → The position is kept. · fixed · components/workspace.tsx:298-308
  • C26 (code, P2) A sync failure showed in both the header and the banner. → The header is a plain Refresh button. · fixed · app.tsx:76-92
  • U24 (ux, P2) While loading, the issue detail showed only a number and a skeleton, although the list row already had the title. → The listed issue seeds the detail. · fixed · components/issues.tsx:835-875, 1053
  • S21 (scope, unrated) A merge reloaded the detail twice, once from an effect and once from the realtime signal. → It reloads once. · fixed · components/merge.tsx:61-100; server.ts:1879; components/pull-detail.tsx:146-149
  • SX14 (scope, unrated) The viewer's login was a module-level cache that was never refreshed after a gh account switch. → The viewer is a shared resource that refetches on data-changed. · fixed · components/shared.tsx:263-265; server.ts:2321-2329
  • F27 (bugs, P2) The agent sheet's skeleton was shorter than the composer, so the dialog jumped when the composer arrived. → Both are min-h-48 now, but the composer's final height is set by core, so only a layout probe can rule out a jump. · unverified · components/agent-sheet.tsx:220, 224-235
  • SX13 (scope, unrated) Superseded responses write the detail cache before the sequence check. → Not done; low impact. · open · components/pull-detail.tsx:133-136
  • SR13 (scope, unrated) Woken snoozes are deleted inside a read (listItems), which several subscribers call at once. → Not done; low impact. · open · server.ts:1942-1944

Hierarchy and coherence, including copy

  • D06 · SB3 · S02 · ST6 (design, P1; scope, unrated) The Inbox held everyone's ready and failing PRs ("Inbox 50" and "50 pull requests need you" while 3 did), and a test asserted that rule. → The Inbox, the nav badge and the home section hold the viewer's review requests plus the viewer's own ready, failing or in-progress PRs; everything else is in Mine and All, and the tests assert the viewer rule. · fixed · pull-status.ts:291-345; app-logic.ts:577-591; components/home-section.tsx:35-65; pull-status.test.ts:164; app.logic.test.ts:450
  • D08 · S13 (design, P1; scope, unrated) In 5 of 8 card states the filled button was the agent action. → The GitHub action (Merge, Re-run failed, Review on GitHub, Mark ready, Reopen) is the filled button, and one outlined "Start an agent…" comes last. · fixed · components/next-step.tsx:376-389, 524-537, 587-617, 746-765
  • D11 (design, P1) The headings in the PR's description outranked the next-step card. → Markdown headings and the card title are text-sm font-semibold, and inline code is text-xs. · fixed · components/markdown-lite.tsx:68, 114; components/next-step.tsx:78-80
  • D19 (design, P2) Menus came in five widths, from 224 to 320 px. → Every menu is w-56. · fixed · components/merge.tsx:283; components/row-menu.tsx:282; components/pull-state.tsx:124, 211; components/pull-detail.tsx:324; components/issues.tsx:469, 645
  • D20 (design, P2) Boxed key caps made menu rows 30 px instead of 26, and the icon size classes did nothing. → Menu shortcuts use core's DropdownMenuShortcut. · fixed · components/pull-actions.tsx:98-104
  • D22 · M24 · U19 (design, P2; phone-1, P2; ux, P2) Standalone "·" spans dangled at line ends in the detail's meta line, and later the diff stat wrapped alone under a long branch name. → The dot spans are gone: the meta line is a wrapping row with gaps, the diff stat comes before the branch, and the branch shrinks first. · fixed · components/pull-detail.tsx:714-743
  • D23 · C25 (design, P2; code, P2) Buttons came in four heights, controls in five radii, and containers followed two alignment rules; the shared text button was 28 px with 12 px text, and 36 px on touch where the plan said 40. → Partly done: card actions are h-8 (h-10 on touch), icon buttons h-7, chips rounded-md, containers rounded-lg with no outdent; inline text buttons are still h-7 text-xs on desktop, and the pill is still rounded-full. · open (partly) · components/shared.tsx:54; components/pull-state.tsx:39-40; components/next-step.tsx:40-53; components/filter-bar.tsx:294
  • D24 (design, P2) The filter suggestions were a custom full-width listbox, with labels and hints about 1100 px apart. → The list is at most 320 px wide (max-w-80), with an aligned icon slot; it stays a plugin listbox, which the round-2 phone review found works. · fixed · components/filter-bar.tsx:201-250
  • D26 · SX2 (design, P2; scope, unrated) The help menu was 15 menu items that did nothing, anchored on a zero-size span. → ? opens a static shortcuts dialog, grouped by where each key works. · fixed · components/pull-list.tsx:581-652
  • D32 · M29 · F34 (design, P2; phone-1, P2; bugs, P2) The home section's summary repeated its rows in a third vocabulary, was truncated on phones, and used the external-link arrow for in-app navigation. → The summary is gone: the home rows are the Inbox's first four, and the header links to the Inbox. · fixed · components/home-section.tsx:159-197
  • D33 · M25 · F32 (design, P2; phone-1, P2; bugs, P2) Back and Close both showed and both closed the detail, and the branch could be copied from two places. → Split view shows Close, full width shows Back, and only the branch chip copies the branch. · fixed · components/pull-detail.tsx:615-660
  • D34 (design, P2) The detail used hand-rolled tabs where main used core's Tabs. → Activity, Files and Checks use core's Tabs. · fixed · components/pull-detail.tsx:795-856
  • D35 · S29 (design, P2; scope, unrated) The state wording varied: "Needs fixing", "need fixing", "N checks failing", "30 ready", "48 checks passed". → Rows use core's labels: Checks failing, Checks running, Ready to merge, Changes requested, Review required. · fixed · pull-status.ts:450-491, 265-276
  • D36 · U41 (design, P2; ux, P2) The copy had literal backticks, "Refresh · synced …", three names for the plugin, and an explainer on Files. → The panel, the thread action and the home section are all "GitHub", gh auth login renders as code, and the explainer is gone. · fixed · app.tsx:76-108, 394-414; components/pull-tabs.tsx:486-515
  • D37 (design, P2) The diff stat's tooltip was styled as a popover card, and the component duplicated core's tally. → The tooltip is gone; the tally stays a plugin copy because core does not export DiffStatsTally. · fixed · components/pull-state.tsx:232-268
  • M17 (phone-1, P2) The breakdown into code, tests and docs existed only in a hover tooltip, and ChangeKinds was dead code. → The breakdown tooltip and ChangeKinds were removed. · cut · fa35bc6
  • M20 · F18 (phone-1, P2; bugs, P2) The sticky group header stuck 6 px below the top, so rows showed above it. → The padding moved inside the list, and the header sits flush. · fixed · components/pull-list.tsx:368, 403; components/workspace.tsx:909-910
  • U07 (ux, P2) An idle agent got an empty glyph slot, its text sat 24 px right of the card's buttons, and its state and glyph came from different thread fields. → The slot renders only when there is a glyph, the line shares the buttons' ml-6 column, and a running agent without an indicator gets core's shine Zap; state and glyph still read two fields. · fixed · components/next-step.tsx:97, 202-213; components/shared.tsx:394-398, 623-634
  • U09 (ux, P2) When there was nothing to do (checks running, GitHub still deciding), the card's only button was the agent. → Those cards have no agent button. · fixed · components/next-step.tsx:729-805
  • U11 (ux, P2) Once a comment was typed, Comment became a second filled primary beside the card's. → Comment is an outline button. · fixed · components/pull-tabs.tsx:346-357
  • U12 (ux, P2) The no-match state repeated the count, said "Try fewer conditions." when there was only one condition, and had two clear controls. → The count hides at 0, and the hint and "Clear the filter" appear only with two or more conditions. · fixed · components/pull-list.tsx:491-517; components/workspace.tsx:871-875
  • U13 (ux, P2) Half the is: suggestions had a state dot, so their left edge was ragged. → Every option has a fixed icon slot. · fixed · components/filter-bar.tsx:230-236
  • U17 (ux, P2) A permanent header button opened the help that ? already opens, and its Keyboard icon read as a robot. → The button is gone, and ? opens the help. · fixed · components/workspace.tsx:828-846
  • U18 (ux, P2) The PR number appeared twice, 60 px apart, in the bar and in the title. → The bar shows the repository instead. · fixed · components/pull-detail.tsx:629-634
  • U22 (ux, P2) The agent line repeated the reference of the PR the page was showing. → It shows only the task, without the owner/repo#N: title suffix. · fixed · components/next-step.tsx:180-182, 214-217
  • U28 (ux, P2) The snooze menu repeated the same clock icon on all four items. → The items have no icon. · fixed · components/pull-actions.tsx:291-318
  • U37 (ux, P2) Seven failing checks made the card 322 px tall and pushed the description off screen. → The card lists three, then "N more in Checks", which opens the Checks tab. · fixed · components/next-step.tsx:126-178
  • U38 (ux, P2) The visible agent prompt contained shell commands that read as machine output. → Each prompt states the task in two to four lines; the only command left is gh pr checkout, when no bb worktree holds the branch. · fixed · agent-presets.ts:36-75; components/agent-sheet.tsx:85-112
  • U39 (ux, P2) The home page left out the agent glyph that the Inbox showed for the same PR. → Home rows render the agent glyph the way Inbox rows do. · fixed · components/home-section.tsx:117-124
  • U43 (ux, P2) Bold body text (700) outweighed the headings and the card title (600). → Bold is font-semibold. · fixed · components/markdown-lite.tsx:74-78
  • U45 · C22 (ux, P2; code, P2) "Close pull request" was paired with "Reopen", unlike the issue verbs, and branchCheckout survived from the cut list. → The pair is "Close pull request" and "Reopen pull request"; branchCheckout stays on purpose because it carries the sheet's three placements into the prompt. · fixed · app-logic.ts:483-489; agent-presets.ts:3, 36-45
  • SX10 (scope, unrated) AlertCircle meant both conflicts and changes requested. → Each of the two states has its own icon. · fixed · pull-status.ts:421-428
  • U08 (ux, P2) Row reasons repeated the group header ("Checks passing" 30 times under Ready to merge), named a machine state ("Waiting for GitHub" 23 times) and carried 50-character branch names, and the draft card's title was a question. → Partly done: "Waiting for GitHub" is gone from rows, conflicts say "Merge conflicts", and the draft card is titled "Draft"; unapproved ready rows still read "Checks passing" under "Ready to merge". · open (partly) · pull-status.ts:481-484; components/next-step.tsx:644-678
  • U33 (ux, P2) A failing check is drawn two ways: with a Log action in the card, and with a Required tag in the Checks tab. → Not done; the review proposed one shared check row. · open · components/next-step.tsx:128-178; components/pull-tabs.tsx:544-580
  • U44 (ux, P2) Open is drawn three ways: a green GitPullRequest on the pill, a muted one on the row, and a green GitPullRequestArrow on a changed row. → Not done. · open · components/pull-state.tsx:25; pull-status.ts:445-446; components/pull-list.tsx:91-96
  • U47 (ux, P2) Group headers and section labels use 12 px at weight 500, which is outside the type scale. → Not done. · open · components/pull-list.tsx:373; components/shared.tsx:90-96
  • SX9 (scope, unrated) One action has two names: "Open the agent's thread" in the row menu and "Open thread" on the card. → Not done; low impact. · open · components/row-menu.tsx:223; components/next-step.tsx:225

Scope: the agent features that were cut

This theme also holds the non-agent power-user surfaces removed in the same pass (bulk selection, Peek, the Display menu, the fake Linear keys, the stack: and agent: chips), plus the agent features that remain in a simpler form.

  • D09 · S08 · F12 · F28 · M28 (design, P1; scope, unrated; bugs, P1 and P2; phone-1, P2) Three agent cards turned the detail into a chat client above the PR (question bubble, answer buttons and field, Send the log, the follow switch, a one-second clock); the waiting card also accepted a second answer, was misindented, and its controls were content-width on phones. → One AgentLine replaces them, with the agent's state, its task and Open thread; questions are answered in the thread. · cut · components/next-step.tsx:184-229
  • D10 · S14 (design, P1; scope, unrated) The comment box disappeared while an agent waited, and when it showed it had a To GitHub / To the agent / To a new agent switch. → It always renders, and it posts to GitHub only. · fixed · components/pull-tabs.tsx:290-361; components/pull-detail.tsx:844-852
  • F38 · SR10 (bugs, P2; scope, unrated) Local "You … · just now" activity echoes were never pruned, so an event could appear twice after a refresh. → The echoes were removed, and Activity shows what GitHub returns. · cut · components/pull-tabs.tsx:128-266
  • D16 · F04 · M9 · S11 · SR12 (design, P1; bugs, P1; phone-1, P1; scope, unrated) Bulk selection offered "Start N agents" and "Fix all with agents" without confirmation, even on merged rows and rows that had an agent; the bulk agents shared one checkout; on phones a selected row lost its checkbox and the bar was clipped. → Bulk selection, Start N agents and Fix all were removed, and every action exists per row. · cut · fa35bc6
  • D17 (design, P1) The second row line showed the agent's full question, which the card and the timeline repeated. → Rows never show the question; a linked agent shows as its thread's status glyph. · fixed · components/pull-list.tsx:131-141, 311-315
  • D18 (design, P1) Activity listed agent events, with the thread title as the actor. → Agent events were removed from the timeline. · cut · components/pull-tabs.tsx:128-266
  • D21 · F35 · S07 (design, P2; bugs, P2; scope, unrated) The thread header chip was a Popover of buttons with a stale status, because agents were passed as an empty map; the thread-row statuses, an overlay that rendered nothing, and three palette commands were all built around missing APIs. → The chip, the row statuses, the overlay and two of the three palette commands were removed and their api_to_audit notes reverted; "GitHub: Open this thread's pull request" stays. · cut · app.tsx:385-416; app.test.tsx:1733; docs/api_to_audit.md:1221, 1844 now only name the plugin as a consumer
  • SR07 (scope, unrated) The header chip and the thread panel kept the previous thread's PR after a switch to another thread. → The chip is gone, and the thread panel remounts for each thread. · fixed · app.tsx:264-266
  • S06 · M32 · SR03 (scope, unrated; phone-1, P2) Follow wrote into agent threads from the sync loop, with one gh api call per follow per sync, and one failing send stopped the loop; on phones its switch added two lines to each agent card. → Follow was removed with its switch, its two RPCs, the push loop and the CLI command. · cut · fa35bc6; server.ts:341-527 has no setFollow or listFollows
  • S10 · D31 · F26 (scope, unrated; design, P2; bugs, P2) The agent sheet offered presets that did not apply (Resolve conflicts and Finish draft on a clean PR), fetched through an agentPrompt RPC and a prompt cache that was never invalidated. → The sheet seeds one prompt in the client from the PR's state (fix, conflicts, feedback or review), and the RPC and the cache are gone. · fixed · components/agent-sheet.tsx:60-122; agent-presets.ts:47-75; pull-status.ts:493-505
  • S09 (scope, unrated) Agents reshuffled the groups, so the CLI's inbox differed from the panel's. → Groups and reasons come only from GitHub facts, the same in the panel and in bb github prs. · fixed · pull-status.ts:358-392; components/pull-list.tsx:311-315; app-logic.ts:118-157; server.ts:3170-3200
  • S12 · SR02 (scope, unrated) Snooze "until the agent replies" hooked every bb thread event, and broadcast data-changed to every GitHub surface. → It was removed; snooze keeps checks, push, tomorrow and Monday. · cut · snooze.ts:3
  • S15 · SR06 (scope, unrated) The ready-to-merge toast and the "Synced · #N is ready" toast repeated the card, and the first captured a stale merge function. → Both toasts were removed. · cut · fa35bc6
  • D27 · F24 · S23 (design, P2; bugs, P2; scope, unrated) Peek (Space) was a third preview tier with its own fetch, and near the bottom of the list it opened below the fold. → Peek was removed; the split view is the preview. · cut · fa35bc6
  • D14 · D25 · M2 · F30 · F36 · S24 (design, P1 and P2; phone-1, P0; bugs, P2; scope, unrated) The Display menu had 11 options; it showed on Issues, where none applied, and showed empty headings in the phone drawer; its compact mode squeezed titles to a few characters in split view, and it closed on some items but not others. → The Display menu was removed, leaving one two-line row grouped by next step. · cut · fa35bc6
  • D15 · F13 (design, P1; bugs, P1) A branch regex invented Linear keys (ISSUE-5834, STACK-13) for a chip that copied or opened them. → The chip and the branch-derived keys were removed; Linear links found in comments still show in Activity. · cut · components/pull-tabs.tsx:169-182; app-logic.ts:810-823
  • F21 (bugs, P2) Filter chips read "In a stack yes" and "Agent is any". → The stack: and agent: qualifiers were removed. · cut · app-logic.ts:118-157
  • D28 · M26 (design, P2; phone-1, P2) The running-agent card ticked m:ss every second while the row said "3m". → The agent line shows a compact age. · fixed · components/next-step.tsx:195-200
  • D29 · Q14 (design, P2; qa, P2) Agent rows showed a spinner where core's working threads shine, and the shine glyph then rendered empty. → The plugin renders core's thread status glyph. · fixed · components/shared.tsx:623-634
  • D30 (design, P2) One action had eleven names and five icons. → It is "Start an agent…" with the Zap icon everywhere, and the sheet supplies the prompt. · fixed · components/row-menu.tsx:213-219; components/next-step.tsx:525-537; components/issues.tsx:316-321, 1117-1128
  • SB6 (scope, unrated) "Your review is requested" offered "Fix with an agent" and opened the sheet on Fix checks. → The preset follows the viewer's role, so someone else's PR gets a review. · fixed · pull-status.ts:495-505; components/pull-list.tsx:153-175
  • C14 (code, P2) The CLI's agent spawns in the project's default environment while the sheet uses the worktree on the branch, yet the overview said they do the same. → The overview now states the difference. · fixed · PLUGIN_OVERVIEW.md:19; server.ts:2256-2294
  • SR11 (scope, unrated) The agent sheet's draft key leaves out the placement and the preset, so a saved draft can outlive the prompt it was seeded from. → Still true by reading (not run): the key is github:<kind>:<repo>#<number>, and core's composer seeds only an empty draft (stored in localStorage). A sheet closed unsent and reopened after the PR's state or worktree changed therefore shows the old prompt, while the environment re-seeds. · open · components/agent-sheet.tsx:195-217; apps/app/src/hooks/usePromptDraftStorage.ts:208-226; apps/app/src/components/promptbox/NewThreadComposer.tsx:1383-1391

Keyboard and focus

  • S04 · SB4 · SB5 (scope, unrated) Keys acted on a row hidden in a collapsed group, and a hovered row's key cap acted on the cursor row instead. → The cursor comes from the visible rows, and pointer-enter moves it, so one row is active. · fixed · components/workspace.tsx:281-282, 403-409; components/pull-list.tsx:239-249, 328
  • F06 (bugs, P1) Split view never scrolled the list to the open row. → The open row scrolls into view on mount and with j/k. · fixed · components/workspace.tsx:298-308, 514-518
  • F07 · Q23 (bugs, P1; qa, P2) Fast or held j/k in split view dropped presses (2 of 6 at 20 ms), and the Q01 focus fix brought the bug back. → The cursor is anchored on a ref that updates synchronously, so each press moves one PR. · fixed · components/workspace.tsx:410-416, 494-525; app.test.tsx:537; fb5eab1
  • F08 (bugs, P1) After a merge in split view, j opened the first row instead of the next one. → It steps from the merged row's last position. · fixed · components/workspace.tsx:502-506
  • F09 (bugs, P1) ←/→ in split view switched the view tab and closed the detail. → The arrows switch views only when no detail is open. · fixed · components/workspace.tsx:581-584
  • F10 (bugs, P1) The filter input replaced the view tabs, so ] switched to a view the user could not see. → The tabs stay visible while filtering. · fixed · components/workspace.tsx:546, 828-866
  • F11 (bugs, P1) With a query that matched nothing, Esc did nothing in the filter input. → Esc leaves the input even when no row matches. · fixed · components/filter-bar.tsx:116-128; components/workspace.tsx:853-858
  • F14 · C09 (bugs, P1; code, P2) Closing the merge dialog, the agent sheet or the ? help, or pressing Esc in the narrow layout, dropped focus to body. → A shared useReturnFocus hands focus back to whatever opened the overlay. · fixed · components/shared.tsx:107-136; components/agent-sheet.tsx:124-136; components/pull-list.tsx:610-620; components/workspace.tsx:353-358
  • F17 (bugs, P2) A second Esc on a row wiped the filter, with no Undo. → The row's Esc chain no longer clears the filter. · fixed · components/workspace.tsx:560-568; app.test.tsx:818
  • F20 (bugs, P2) Typing ci: rendered an empty "Checks are" chip. → A qualifier with no value makes no chip. · fixed · app-logic.ts:256
  • F22 · Q11 (bugs, P2; qa, P2) Accepting a suggestion reopened the list over the chips; an early fix then showed no options, and Enter on "lab" accepted label:. → The list reopens only on typed input and shows the matching options, and Enter keeps the typed text as a chip. · fixed · components/filter-bar.tsx:98-114, 145-153
  • F23 (bugs, P2) Repeating t or m stacked identical toasts. → The toasts have stable ids. · fixed · components/workspace.tsx:390-392, 643-646, 656-658
  • F25 (bugs, P2) ←/→ on the detail tabs moved the selection but left focus on the old tab. → Core's Tabs move focus with the selection. · fixed · components/pull-detail.tsx:795-856
  • F37 (bugs, P2) Before a cursor existed, Tab could not reach any row. → With no cursor, the first row is tabbable. · fixed · components/workspace.tsx:472-475; components/pull-list.tsx:267
  • Q01 (qa, P1) In split view the focus ring stayed on another row, so Enter opened the wrong PR. → Focus follows j/k onto the open row. · fixed · components/workspace.tsx:514-518
  • Q02 · U29 (qa, P1; ux, unrated) m focused "Back", so Enter returned to the main menu, and a merge step opened directly still showed Back. → A step opened directly has no Back and focuses the first method. · fixed · components/row-menu.tsx:146, 259-301
  • Q05 (qa, P2) Focus dropped to body after a merge from the card, while a status change was pending, after removing a filter chip, and after Esc in the narrow layout. → In each case focus goes to the row or to the control that replaced the one used. · fixed · components/merge.tsx:248-253; components/next-step.tsx:42-53; components/workspace.tsx:346-352, 885-889
  • Q06 (qa, P2) After s and Esc, focus sat on the "…" button, so Enter reopened the menu instead of the PR. → Focus returns to the row. · fixed · components/row-menu.tsx:284-288
  • Q07 (qa, P2) After z and Esc, a tooltip appeared and swallowed the next Esc. → Returning focus no longer opens the tooltip. · fixed · components/shared.tsx:575
  • Q08 (qa, P2) The hover cursor and the focus ring sat on different rows. → Pointer-enter moves the cursor and the focus together. · fixed · components/workspace.tsx:403-409
  • Q09 (qa, P2) The sticky group header covered the cursor row. → Rows scroll into view below the sticky header. · fixed · components/pull-list.tsx:272
  • Q12 (qa, P2) Switching to Issues after filtering PRs showed an empty, open filter input. → Pull requests and issues each keep their own filter-open state. · fixed · components/workspace.tsx:205-214
  • Q16 (qa, P2) A half-written review comment was lost on leaving the PR and coming back. → The comment box keeps a draft for each PR. · fixed · components/pull-tabs.tsx:288-337
  • Q20 (qa, P2) j/k pressed with focus inside the detail swapped the PR and dropped focus to body. → Focus moves to the new open row. · fixed · components/workspace.tsx:514-518
  • Q21 (qa, P2) Closing the agent sheet after opening it from the row menu dropped focus to body. → The row's button is recorded as the opener before the menu closes. · fixed · components/workspace.tsx:372-385, 949-955; components/agent-sheet.tsx:124-136
  • C21 (code, P2) The view tabs pointed aria-controls at panels that did not exist. → The views are a nav of links, the current one marked aria-current="page". · fixed · components/pull-list.tsx:519-579
  • U30 (ux, P2) In split view the open PR may be missing from the list beside it, and switching views closes the detail. → Not done; the review proposed keeping the detail open and pinning the PR as a "Viewing" row. · open · components/workspace.tsx:360-370
  • U34 (ux, P2) s opens the whole row menu, while the shortcuts list calls it "Change the status". → Not done. · open · components/workspace.tsx:661-665; components/pull-list.tsx:600
  • U35 (ux, P2) Moving with j/k hides the age of the row being read. → Not done. · open · components/pull-list.tsx:212, 302-309

Status changes and state

  • D12 · F29 · M14 (design, P1; bugs, P2; phone-1, P2) Two status menus did one job, with different widths and confirmations (a keyboard-worded "Press again" even on touch), and the row menu's verb hid in a truncated hint ("Merge into mai…"). → One verb-labelled item list serves the pill and the row menu, and a change applies at once, with Undo instead of a second press. · fixed · app-logic.ts:457-494; components/pull-actions.tsx:149-267; components/row-menu.tsx:197-204; components/pull-state.tsx:51-141; app.test.tsx:1309
  • U10 (ux, P2) After Convert to draft, the pill said Draft while the card still offered to merge. → The card reads the same pending state as the pill. · fixed · components/next-step.tsx:437-456
  • Q22 (qa, P2) After Close, the pill turned into static text, focus dropped, and Reopen was gone. → The pill stays a button and offers Reopen right after Close. · fixed · components/pull-detail.tsx:447-461; components/pull-state.tsx:98-121; app.test.tsx:1335
  • Q13 (qa, P2) 300 ms after Undo, the pill still read "Closed". → The pill says "Reopening…" while the Undo runs. · fixed · components/pull-actions.tsx:156-211; components/pull-state.tsx:72-86
  • Q10 (qa, P2) A closed PR's row menu offered Convert to draft, Close and Snooze. → The row menu lists only the verbs that apply, such as Reopen pull request. · fixed · components/row-menu.tsx:174-211
  • F33 (bugs, P2) Undo of a snooze or of Mark ready fired silently, with no progress and no error. → Undo goes through the same path as a status change, which reports progress and errors. · fixed · components/pull-actions.tsx:156-211, 342-380
  • N8 (phone-2, P2) The toast that follows an Undo reused the first toast's id and kept its stale Undo. → The follow-up toast has its own id and no Undo. · fixed · components/pull-actions.tsx:182-198; components/issues.tsx:135, 192
  • N9 (phone-2, P2) The unsnooze toast reused the snooze toast's id, so it was swallowed or flashed with a stale Undo. → Unsnooze has its own toast id and no Undo. · fixed · components/pull-actions.tsx:347-358
  • C17 (code, P2) The local overlay clears the changed and merged marks after 60 seconds, whatever GitHub reports. → Kept on purpose: a mark that GitHub never confirms must not stay forever, and the README says the pill and the row show a change "for up to a minute". · deliberate · components/pull-actions.tsx:35, 56-61; README.md:51-53
  • C24 (code, P2) The thread panel keeps the PR picked for a thread in local state, so reopening the panel forgets it. → Not done; linkThread is called only when the sheet spawns a thread. · open · app.tsx:336-346; components/agent-sheet.tsx:176-181

Issues

  • U06 (ux, P1) On an issue, the only button-shaped action was "Start an agent…", placed above the GitHub fields. → The issue detail leads with the status pill and the assignee and label pickers, with an outlined "Start an agent…" after them, and the row menu starts with Assign to me and Close issue. · fixed · components/issues.tsx:1069-1129, 271-339
  • U16 (ux, P2) Every issue row said "Nobody assigned". → A row names the assignee only when there is one. · fixed · components/issues.tsx:254-264
  • U46 (ux, P2) On Issues the live region said "Loading pull requests". → It says "Loading issues". · fixed · components/workspace.tsx:915-918
  • D13 (design, P1) With the issue row's menu open, the menu button was drawn over the age. → The age hides whenever the actions show. · fixed · components/issues.tsx:424-431
  • SB7 · S05 · ST5 (scope, unrated) The Issues filter suggested PR labels, and no test covered the Issues vocabulary. → The Issues filter gets issue items, and a test checks its suggestions. · fixed · components/workspace.tsx:859; app.test.tsx:1556
  • Q04 (qa, P1) Enter in the New issue title created the issue. → Enter moves to the description, and ⌘/Ctrl+Enter creates the issue. · fixed · components/issues.tsx:1274-1281
  • Q19 (qa, P2) Esc and Cancel did not close the New issue form, and reopening it lost the title. → Both close the form, and the draft is kept until the issue is created. · fixed · components/issues.tsx:1171-1218
  • C10 (code, P2) The issue detail's Esc listener covered the whole document. → It is scoped to the detail. · fixed · components/issues.tsx:926-942
  • N13 (phone-2, P2) Toggling labels quickly made one uncheck for about 250 ms, because a reload overwrote the pending state. → Loads are dropped while writes are pending, and one reload follows the last write. · fixed · components/issues.tsx:903-921, 965-1007
  • Q18 · C11 (qa, P2; code, P2) Issues has no j/k or Enter, and four row components (PR, issue, home and picker) have different keyboard models. → Kept for now: j/k for issues and one shared row are planned follow-ups, and the ? dialog lists j/k under "Pull requests". · deliberate · components/workspace.tsx:596; components/pull-list.tsx:593-607; the rows are components/pull-list.tsx:189, components/issues.tsx:341, components/home-section.tsx:67, app.tsx:228
  • U14 (ux, P2) The Issues list shows no match count beside the filter; its missing j/k is covered by Q18. → Not done. · open · components/workspace.tsx:872
  • U27 (ux, P2) An indented code fence, such as one inside a list item, renders as text. → Not done. · open · components/markdown-lite.tsx:133-140
  • C23 · S27 (code, P2; scope, unrated) The issue detail's assignee and label pickers apply at once with only an error toast, while the row's Assign to me has Undo, so issue edits still run through two paths. → Not done. · open · components/issues.tsx:972-1007, 185-229
  • C19 (code, P2) bb github issues lists only open issues, while the panel also lists closed ones. → Not done; the review proposed --state open|closed|all. · open · server.ts:3137-3188
  • C20 (code, P2) The CLI has no commands for issue status, assignees, labels, comments, new issues or PR comments. → Kept: the gap already exists on main, and the README lists what the CLI covers. · deliberate · server.ts:3246; README.md:96-104

Code health

  • C15 (code, P2) The contract has dead surface: listItems accepts inputs nobody sends, getPull ships three unused fields, and many exports are used only in their own file. → Not done. · open · server.ts:357-366, 2421-2433, 234, 294-295; pull-status.ts:314; components/pull-actions.tsx:106, 274, 337; components/pull-list.tsx:189; components/row-menu.tsx:107; components/shared.tsx:44, 279, 516
  • C18 (code, P2) getPull types absence as empty strings, which the UI turns back into null. → Not done. · open · server.ts:2784-2793; app-logic.ts:696, 703; components/next-step.tsx:501
  • C12 (code, P2) PRs and issues have two status pill components, and the home section redraws the list skeleton's row. → Not done. · open · components/pull-state.tsx:51-141, 143-224; components/home-section.tsx:142-157
  • C16 (code, P2) The stack used its own words (failing, ready) for the server's states. → The server returns the status kinds, and the stack label has one branch per kind. · fixed · components/pull-detail.tsx:237-244; server.ts:1180-1194
  • S17 (scope, unrated) Row, detail and keyboard actions were wired three times, through an imperative handle and 20 detail props. → Partly done: the actions live in one module, but the imperative handle and 13 detail props remain. · open (partly) · components/pull-actions.tsx; components/pull-detail.tsx:102-104, 353-381, 579
  • S18 (scope, unrated) The status menu, the snooze menu and the state change with Undo each existed twice. → One copy of each serves the row, the detail and the keyboard. · fixed · components/pull-actions.tsx:149-318
  • S19 · SX11 (scope, unrated) There was dead code (SNOOZE_RULES, ChangeKinds, stackNotes, the startReview RPC, an uncalled SectionHeading), and IssueListRow took no-op cursor props. → The four are deleted (grep finds none of them), SectionHeading now has callers, and IssueListRow takes no cursor props. · fixed · components/shared.tsx:90; components/issues.tsx:341
  • S25 (scope, unrated) Row motion ran querySelectorAll and offsetTop on every row each render, including the 30-second tick. → Row motion was removed. · cut · fa35bc6
  • S26 (scope, unrated) The query language had non-GitHub qualifiers and synonyms (ci:, stack:, agent:). → It keeps GitHub's subset: is: (with state:), author:, assignee:, label:, base:, repo: and no:. · fixed · app-logic.ts:103-157
  • S30 (scope, unrated) server.ts, pull-detail.tsx, inbox.tsx and workspace.tsx were each between 1,460 and 4,014 lines. → Partly done: the UI is split into per-surface modules, but server.ts is still one 3,599-line file. · open (partly) · server.ts
  • SX1 (scope, unrated) Key caps render two ways: KeyCaps uses core's ShortcutPill, while the shortcuts dialog hand-rolls <kbd>. → Not done. · open · components/shared.tsx:537-561; components/pull-list.tsx:636-641
  • SX3 (scope, unrated) The list's context and actions are rebuilt on every render, so every row re-renders. → Not done. · open · components/workspace.tsx:476-492
  • SX4 (scope, unrated) The detail's status was recomputed every render, which made merge a new function each time and re-ran the ready-toast effect. → The effect is gone with the ready toast, and merging moved into the shared merge flow; the status is still computed on each render. · superseded · components/pull-detail.tsx:399-400
  • SX5 (scope, unrated) Agent state maps were built in two places. → They are derived once, in the shared agent store. · fixed · components/shared.tsx:400-426
  • SX6 (scope, unrated) searchOpen partly mirrored the query. → The chips derive from the query alone. · fixed · components/filter-bar.tsx:255-315; components/workspace.tsx:867-890
  • SX7 (scope, unrated) Counters still act as events (statusRequest, snoozeRequest, focusFilter). → Not done. · open · components/pull-detail.tsx:395-396; components/workspace.tsx:215
  • SX8 (scope, unrated) RPC and type names mix "pull" and "PR" (getPull and mergePull beside rerunFailedChecks, repoSettings and pullForThread). → Not done. · open · server.ts:423-490
  • SX12 (scope, unrated) useProjectHost is a shared hook with a single caller, the agent sheet. → Not done. · open · components/shared.tsx:449-465
  • SX16 (scope, unrated) The view tab is persisted in an effect instead of in switchView. → Not done. · open · components/workspace.tsx:195-197
  • SX17 (scope, unrated) storedLinkSchema was .strict(), so dropping preset from links would have discarded stored rows. → The parse tolerates extra fields. · fixed · server.ts:2228
  • SR14 (scope, unrated) The document key listener re-binds whenever one of its dependencies changes (25 at the port). → Not done; it has 17 dependencies now. · open · components/workspace.tsx:527-705
  • ST1 (scope, unrated) No tests covered bulk agents, Send the log, the ready toast, the Finished row, follow, the environment merge path, Merge all or the prompt cache. → Those features were cut, and the environment merge path went with C13. · cut · fa35bc6
  • ST2 (scope, unrated) No test checked that the list, the detail and the dialog agree on check counts. → Rows no longer show counts, and the dialog is gone. · superseded · pull-status.ts:450-460
  • ST3 (scope, unrated) No test covers keyboard targets after collapsing a group, filtering or hovering. → Not done; tests cover held j/k and Esc with a filter, not collapse or hover targets. · open · app.test.tsx:537, 818
  • ST4 (scope, unrated) The merge dialog had no layout or overflow assertion. → The dialog no longer exists. · superseded · components/merge.tsx:175-226

AGENT GENERATED

Upstream get-bb#6013 typed thread action tabs with ExperimentalThreadActionTabProps,
so the GitHub tab keeps its keyed PullPanelBody under that type. Upstream
get-bb#6356 retired ctx.openPanel, so the thread pull request command opens the
tab through ctx.experimental_panel and the plugin needs SDK 0.6.88. Thread
tab props now carry the thread's environment and sidebar threads their
parentNotifications, so the new tests pass both.
ymichael added a commit that referenced this pull request Nov 2, 2026
## Human comments

## What was wrong

The GitHub plugin parsed PR and issue bodies and comments with its own
regex Markdown renderer. It drifted from the host renderer: numbered and
nested lists, blockquotes, task lists, strikethrough, autolinks, and
HTML comments were not handled correctly. Open PR #6037 restyles that
copy but does not consolidate it.

## What changed

All five GitHub callers now use SDK Markdown. Deleted the custom
renderer and table parser, and preserved table alignment in the host
renderer so migration does not lose it. Body links now use shared host
navigation. Net deletion: 296 lines. No wire or CLI changes.

## How you verified

One shared SDK test table covers the former parser cases and Markdown
drift. Table-removal and alignment-loss mutations fail the migrated
tests; the alignment case failed before the host fix. Turbo passed 100
app Markdown/SDK tests, all 41 GitHub tests, and app/GitHub typecheck
and lint (existing warnings only).

Checked real PR #6037 and issue #6748 in the isolated running app,
including nested and numbered lists, tables, and mobile table scrolling.
Captured matching before/after screenshots. Fetching and rebasing onto
the latest origin/main required no changes.

> AGENT GENERATED
@github-actions github-actions Bot closed this Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

This is an automated message. We have closed this pull request because it has been open for more than two weeks.

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.

GitHub plugin: a PR inbox that says what each pull request needs next, and hands it to an agent

1 participant