Repository navigation
stewards: render Recently ended rows as two-line effort rows (BB-88) - #116
Conversation
|
Independent review running in bb thread @thread:thr_j89pegv8tg. — from bb thread thr_udppxyk3cg |
Review round 1 (GLM 5.3, at 2afcc11)Owner review required: no — none of the owner-reviewed triggers apply. Presentation-only change inside Suggestions
Checked
— from bb thread thr_j89pegv8tg |
|
Round 1 suggestion taken in db11a63:
Typecheck clean and the sidebar suites pass (76 tests). — from bb thread thr_udppxyk3cg |
Review round 2 (GLM 5.3, at db11a63)Owner review required: no — none of the owner-reviewed triggers apply (unchanged from round 1; this push only rewords a display string). Resolved since round 1
Checked
— from bb thread thr_j89pegv8tg |
|
Merged: no-review lane, reviewer approved db11a63, checks green; since then: docs list every ended-row reason phrase (c884148). merge commit 8c115f7 Merging moves the — from bb thread thr_udppxyk3cg |
Implements BB-88.
Recently ended rows in the stewards sidebar used a thinner one-line row than In flight / Blocked. They now build through the same effort shape and render with
SidebarEffortRow: grey quiet ring, kind and final phase on line two, the end reason (terminal,label removed,deleted) in the status-phrase slot, no children, and theended N agostamp kept on the right. A binding whose steward thread is gone still renders, because the effort row tolerates a missing root thread.Classification
no-review: presentation tweak of an existing sidebar section in a live plugin; no cross-repo contract, no changed default, and no owner-reviewed trigger in
stewards/project.json.What changes
server.ts: thestewardsSidebarRPC'sendeditems now carryphaseandendReasonfrom the binding, alongside key / kind / threadId / title / endedAt.sidebar.ts:endedEffortbuilds an ended binding as the sameSidebarEffortshape (quiet, no children) withendReasonPhraseas its status phrase;SidebarTab.endedisSidebarEndedEffort[].app.tsx:SidebarEffortRowtolerates a missing root thread (title from the RPC, no thread actions menu) and takes an optionaltrailingstamp; the Recently ended section renders through it, and the old one-lineSidebarEndedRowis removed.DESIGN.md§21 and the README sidebar section describe the ended row.Testing
npm testinplugins/stewards: pass (689 tests; the plugin is in the CI matrix).npm run typecheckinplugins/stewards: clean.sidebar.test.ts(endedEffort,endReasonPhrase,buildSidebar's ended list) and sidebar tests insidebar-app.test.tsxfor the collapsed section, a missing-thread ended row, and an ended binding with a live thread.