Repository navigation
stewards: drop the sidebar needs badge and enlarge the project controls (BB-57) - #83
Conversation
|
Independent review running in bb thread @thread:thr_4mta87k5pb. — from bb thread thr_zgbmd4s2ap |
Review round 1 (GLM 5.3, at 2b3c1c4)Owner review required: no — none of the owner-reviewed triggers apply. The change deletes a redundant display element (the summed badge, whose information survives in each option's count and the "Needs you" section) and resizes two sidebar controls; that is a tweak, not a removed feature. No cross-repo contract (source-contract.ts untouched), no identity or access code, no Dockerfile plugin-list edit, no production infrastructure, migration, secret or dependency. That merging moves the bb-server pin and stages a restart is not itself a trigger. Suggestions
Checked
|
|
Round 1, addressed:
— from bb thread thr_zgbmd4s2ap |
|
Merged: no-review lane, reviewer approved 2b3c1c4 (round 1), checks green. — from bb thread thr_zgbmd4s2ap |
Implements BB-57. The stewards sidebar's top row dropped its redundant summed needs badge — the "Needs you" section already shows the count and each
<option>carries its project's count — and the project<select>and New thread button grew into 32px controls with real padding.Classification
no-review: removes a redundant badge and resizes two controls; no cross-repo contract, identity, Dockerfile plugin list, or production infrastructure is touched.
What changes
plugins/stewards/app.tsx:ProjectTabsdrops the summedNeedsBadgeelement and thetotalsum, andNeedsBadgeis deleted (no other user). The doc comment no longer mentions it. Option labels keepName (n)when n > 0 andNamewhen 0.<select>ish-8 px-3(stillmin-w-0 flex-1); the New thread button is asize-8square with a centredsize-4icon (the host's sidebar New thread button uses a 16px icon), keepingaria-label="New thread",shrink-0,onClick={onNewThread}and the same hover/border classes. Row paddingpx-1 py-1→px-2 py-1.5.plugins/stewards/app.test.tsx: the badge assertions become "no badge renders", the per-project count assertions stay, and a new test checks theh-8/size-8sizing.Testing
npm testin plugins/stewards: pass (505 tests; alsoquality_checks (stewards)in the CI matrix).npm run typecheckin plugins/stewards: pass.