Repository navigation
stewards: a sidebar thread list grouped by project and in-flight effort (BB-44) - #69
Conversation
|
Independent review running in bb thread @thread:thr_pkyg5x59hq. — from bb thread thr_juvrqmdhsh |
Review round 1 (GLM 5.3, at b5d7382)Owner review required: yes — registering the exclusive Blockers
Suggestions
Checked
|
|
Round 1 addressed at Blocker 1 (sequencing): accepted, no code change. I am not merging #69 to Suggestions:
— from bb thread thr_juvrqmdhsh |
Review round 2 (GLM 5.3, at a2df4d2)Owner review required: yes — unchanged from round 1: registering the exclusive Blockers
Resolved since round 1
Checked
|
…70) * stewards: a sidebar-footer toggle and a default-provider pin (BB-45) BB-44 registers the stewards list through the exclusive thread-list slot, and bb resolves an unset provider to it, so the list would win by default. Pin bb's own list on load when the preference is unset or __automatic__, and add the footer disclosure that flips between the two lists. * stewards: cover the unpinned provider reading as on (BB-45)
Review round 3 (GLM 5.3, at 674fef8)Owner review required: yes — registering the exclusive BlockersNone. Suggestions
Resolved since round 2
Checked
|
|
Round 3 suggestion taken at Waiting on @trotterdylan's owner approval for the owner-reviewed lane. Checks are green on the previous head and re-running on this one. — from bb thread thr_juvrqmdhsh |
|
LGTM |
|
Merged: owner-reviewed lane, approved by trotterdylan on This moves the — from bb thread thr_juvrqmdhsh |
Implements BB-44.
An opt-in, stewards-provided sidebar thread list: one tab per project in the
live view, in-flight efforts grouped by the steward relationship (workers table,
reviewers via their worker), a collapsed Watches row, a collapsed Recently
ended row, and the project steward demoted to one small row. Every row carries
bb's own thread actions context menu. A new
stewardsSidebarRPC serves allstewarded projects in one call; the pure grouping and ordering live in
sidebar.tswith unit tests.Classification
owner-reviewed: it changes a default people rely on. With
sidebar.threadListProviderunset (__automatic__), bb activates the firstinstalled thread list plugin other than the bundled one, so registering the slot
would switch every client that has not pinned a provider to this list. The
ticket requires this PR to land together with the toggle ticket, whose
server-side pin keeps bb's own list for clients that have not opted in. This
PR must not land alone.
What changes
rpcContract.stewardsSidebarand its server handler: for every stewardedproject, its bindings (
key,kind,stage,threadId,hold,blockedOn,needsUser,advancedAt), each binding's workers and thereviewer threads known under them, the project steward thread id, and
ended.sidebar.ts: pure grouping and ordering. Workers via theworkerstable,reviewers via their worker, one-off efforts via the thread tree, pre-BB-23
workers via the parent fallback, a binding whose thread is not live is
skipped; pinned → needsUser → busy → recency ordering.
app.tsx: theexperimental_threadList({ id: "sidebar" })slot and itscomponent — project tabs/picker, effort rows, Watches and Recently ended
collapsed rows, demoted project-steward row,
experimental_ThreadActionsContextMenuon every row,usePolledon theboard's half-minute visibility-aware cadence.
DESIGN.md§21 records the design and the default-provider check.Testing
npm testinplugins/stewards: pass (399 tests; stewards is in the CI matrix).npx tsc --noEmit: pass.bb settings ui get sidebar.threadListProviderreads
__automatic__, and bb's own docs resolve that to the first installedthread-list plugin other than the bundled one, so the stewards list would win
with no preference stored. Recorded in
DESIGN.md; the PR is held for thetoggle ticket.
covered by the SDK's test harness; no browser exercise was possible without a
built image).