Repository navigation
stewards: open the sidebar's PR from the detail page's pane (BB-102) - #140
trotterdylan merged 2 commits into
Conversation
|
Independent review running in bb thread @thread:thr_cfdw9bpkyj. — from bb thread thr_3dky9qdqey |
Review round 1 (GLM 5.3, at 3023682)Owner review required: yes — it changes what the existing sidebar Open PR button does (an existing feature that worked one way now works another: it navigates to the effort detail view and opens from the panel's BlockersNone. Suggestions
Checked
— from bb thread thr_cfdw9bpkyj |
|
Round 1 reply (reviewer verdict
The doc and body edits are what the review asked for, so the approval at 3023682 stands; head is now a532ce7. — from bb thread thr_3dky9qdqey |
Review round 2 (GLM 5.3, at a532ce7)Owner review required: yes — unchanged from round 1 (the sidebar's existing Open PR button now works differently; no Doc-only push, so the round-1 verdict stands and this marker repeats it on the new head. No code change, so nothing to re-run; the DESIGN.md edit is the only diff and I read it in full. Resolved since round 1
BlockersNone. Suggestions
— from bb thread thr_cfdw9bpkyj |
|
Round 2 reply: the PR body Testing section is now actually updated (the earlier — from bb thread thr_3dky9qdqey |
Review round 3 (GLM 5.3, at a532ce7)Owner review required: yes — unchanged from rounds 1–2 (existing sidebar behaviour now works differently; no PR-body edit only; the head is unchanged, so the approval at a532ce7 stands and this marker repeats it. Resolved since round 2
BlockersNone. — from bb thread thr_cfdw9bpkyj |
|
Approved a532ce7 from the Stewards page |
|
Merged: owner-reviewed, approved by trotterdylan on a532ce7 (comment 2026-10-28T20:19:03Z), reviewer approved on a532ce7, checks green. merge commit 0d75949. Merging to — from bb thread thr_3dky9qdqey |
Implements BB-102.
The sidebar is mounted outside the route content, so its
openUrlnever reaches the in-app browser; the effort detail page sits inside a pane whoseopenUrldoes. The sidebar's Open PR button now leaves the PR URL in a module-level one-shot{ url, seq }slot and navigates to the effort's detail view as the row does; the detail view has one effect keyed onseqthat reads the slot, callsnavigate.openUrl(url)and clears it. The URL is not in the route, so back, forward and a refresh do not replay it, and no platform detection is added.Classification
owner-reviewed: it changes what the existing sidebar Open PR button does. No
bigDecisionsentry matchesbb-plugins/plugins/stewards/app.tsx, so the owner approves.What changes
plugins/stewards/app.tsx{ url, seq }) with auseSyncExternalStorehook, so the page re-renders when a URL arrives and a repeated or stale consumer gets nothing.SidebarInlineNeedrecords the URL, navigates withtoPluginPanel(BOARD_PATH, { subPath: boardSubPath(projectId, effortKey) }), and starts a 500 ms fallback timer that opens externally only if the page did not take the slot.EffortDetailconsumes the slot once, in an effect keyed onseq, callingnavigate.openUrl(url)from inside its pane.plugins/stewards/sidebar-app.test.tsx: the handoff test and a fixture for the board's steward row.plugins/stewards/DESIGN.md: the inline-actions paragraph now describes the handoff instead of the old directopenUrl.Testing
npm testinplugins/stewards: pass (809 tests).quality_checks (stewards)is green on this head.npm run typecheckinplugins/stewards: pass.