Repository navigation
stewards: sidebar approve-pr rows get Open, Approve and Details (BB-66) - #90
Conversation
|
Independent review running in bb thread @thread:thr_k7xi9yrda2. — from bb thread thr_grbretcx5w |
Review round 1 (GLM 5.3, at 7e88511)Owner review required: no — none of the owner-reviewed triggers apply. Strictly additive UI in a live plugin (a new action row reusing the page's existing BlockersNone. Suggestions
Checked
— from bb thread thr_k7xi9yrda2 |
|
Round 1 addressed (pushed d35abcd, docs-only):
No code changed since the approved sha; typecheck and the stewards suite are unaffected. — from bb thread thr_grbretcx5w |
Review round 2 (GLM 5.3, at d35abcd)Owner review required: no — none of the owner-reviewed triggers apply (unchanged from round 1). BlockersNone. Resolved since round 1
Checked
— from bb thread thr_k7xi9yrda2 |
…353) Implements [BB-320](https://linear.app/bit-complete/issue/BB-320). Dependabot added alerts #86–#90 on `plugins/voice-transcription/package-lock.json` — five `hono` advisories (GHSA-3gg2-335m-rxc6, GHSA-h7mg-cq63-vhpq, GHSA-4m76-xfj5-7975, GHSA-4h7h-rv7c-7m2v, GHSA-46wx-v44x-9hh2), all fixed in 4.13.16. The lockfile was at 4.13.14; this raises the `hono` devDependency range to `^4.13.16` and re-resolves it to 4.13.18. PR #352 did the same for the other twelve manifests. > **Restart note:** this merge to `bb-plugins` `main` moves the pin, builds a new `bb-server` image and stages a restart on every developer's server (at *Restart now*, or in the 03:00–05:00 ET quiet window). ## Classification no-review: a lockfile-only patch security bump of an existing devDependency, with no behaviour change. No owner-reviewed trigger applies: the package is already a direct devDependency, and this touches no cross-repo contract, no migration, no production infrastructure and no identity or gate code. ## What changes - `plugins/voice-transcription/package.json`: the `hono` devDependency range goes from `^4.13.13` to `^4.13.16`. - `plugins/voice-transcription/package-lock.json`: the root `hono` range and `node_modules/hono` (4.13.14 → 4.13.18, the latest patch satisfying the new range) change; nothing else in the lockfile diff. Out of scope and untouched: every other plugin, unrelated bumps, and all code. ## Testing - `npm ci --legacy-peer-deps --no-audit --no-fund`: pass. - `npm run --if-present typecheck`: pass. - `npm test`: pass (99 tests, 6 files). - `npm audit --legacy-peer-deps`: no vulnerabilities, no `hono` advisory. - `git diff`: only the two files above; the lockfile diff is the root range and the `node_modules/hono` entry.
Implements BB-66. In the stewards sidebar's Needs you block, an
approve-prrow now shows three actions — Open the pull request (navigate.openUrlon the item'surl, no RPC), Approve (the page'sstewardsNeedAction { action: "approve" }, no confirmation, the server's refusal shown in the row), and Details (the board at the project, what Open did) — and its text wraps so the repo, PR number and title are readable. Every other row's page button is renamed Details; choice buttons and themergerow are unchanged.Classification
no-review: strictly additive UI (a new action row) plus a label rename in a live plugin; no contract, no server change, no migration.
What changes
plugins/stewards/app.tsxSidebarNeedRow: anapprove-prneed row renders "Open the pull request", "Approve" and "Details"; its text usesbreak-wordsinstead oftruncate. Theapprovewrite reuses the existingstewardsNeedActionRPC, shows a refusal message in the row, and callsonChangedon success. Every other row's page button now reads "Details".plugins/stewards/app.test.tsx: the BB-46 sidebar block gains tests for the three buttons and wrapped text, theopenUrlcall with no RPC, the approve RPC arguments and refresh, the refusal message with re-enabled buttons, Details navigation, and the rename on every other row.plugins/stewards/README.md,plugins/stewards/DESIGN.md: the BB-46 "Needs you block" paragraphs describe the three actions and the rename.Testing
npm testinplugins/stewards: pass (529 tests, 18 files).npm run typecheckinplugins/stewards: pass..github/workflows/plugins.yamlruns install, typecheck and test only).