Skip to content

stewards: show the full thread title on hover in the sidebar (BB-84) - #111

Merged
trotterdylan merged 1 commit into
mainfrom
bb/bb-84-title-tooltip-on-steward-sidebar-rows-thr_9ayngcwbzp
Oct 27, 2026
Merged

trotterdylan merged 1 commit into
mainfrom
bb/bb-84-title-tooltip-on-steward-sidebar-rows-thr_9ayngcwbzp

Conversation

@trotterdylan

@trotterdylan trotterdylan commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Implements BB-84. Adds the thread's full display title as a native title tooltip on the Stewards sidebar row's title anchor, so a truncated title is readable on hover without opening the thread.

Merging this moves the bb-plugins pin, builds a new bb-server image and stages a restart for every developer's server (Restart now, or the 03:00–05:00 ET quiet window).

Classification

no-review: strictly additive — a new title attribute on existing anchors; truncation, click navigation and the context menu are unchanged. No owner-reviewed trigger (not a contract, not identity/access, not the Dockerfile, not production infra, not a bigDecision).

What changes

  • plugins/stewards/app.tsx: SidebarThreadRow's title anchor gets title={thread.displayTitle}. SidebarEffortRow has its own title anchor, so it gets the same tooltip via title={root.displayTitle}.

Testing

  • npm test in plugins/stewards: pass (659 tests); the quality_checks (stewards) CI job is also green on this head.
  • npm run typecheck in plugins/stewards: pass.
  • The new sidebar-app.test.tsx case renders a plain thread row and an effort row and asserts each title anchor's title equals the thread's full display title.

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Independent review running in bb thread @thread:thr_pbxeihknt2.

— from bb thread thr_9ayngcwbzp

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Review round 1 (GLM 5.3, at b35848e)

Owner review required: no — none of the owner-reviewed triggers apply. The diff is strictly additive: a native title attribute on two existing anchors in a live plugin's runtime code. No contract (source-contract.ts untouched), no identity/access, no backend.json/Dockerfile/kploy/CI changes, no store migration, no new dependency, no bigDecisions entry. Truncation, onClick navigation and the context menu are byte-for-byte unchanged.

Blockers

None.

Suggestions

  • The PR body's Testing line says "not in the CI matrix", but quality_checks (stewards) exists and is green on this head. Harmless inaccuracy in the body only; no action required for merge.
  • The new test exercises an effort-row anchor and a plain-thread anchor. Worker/reviewer rows render through the same SidebarThreadRow component and the same anchor, so they are covered implicitly; if you ever want the guarantee spelled out, a child-row assertion would do — optional.

Checked

  • Ran: npm install --include=dev --legacy-peer-deps then npm run typecheck (pass) and npm test (pass, 659 tests, 21 files) in plugins/stewards, on a checkout of b35848e. The stewards CI check is also green on this head.
  • Guard check: reverted app.tsx to HEAD~1 (removing only the two title lines) and re-ran sidebar-app.test.tsx — the new BB-84 case fails with expected null to be 'ENG-1: Fix login', so the test genuinely pins the behaviour. (The 14 other failures in that run are DOM-leak cascade from the failing test's slot, not real defects; the file passes 33/33 at the head.)
  • Verified against ticket: criterion 1 met — SidebarThreadRow's title anchor carries title={thread.displayTitle} (app.tsx:1177), which covers root, worker, reviewer, plain, recently-ended and project-steward rows since all render through that one component, including the recursive child rows; SidebarEffortRow's own title anchor carries title={root.displayTitle} (app.tsx:1323), as the task's add-on asked. Criterion 2 met — sidebar-app.test.tsx asserts both anchors' title equals the full displayTitle, and fails on revert. Criterion 3 met — npm test and typecheck pass; no other behavioural change in the diff.
  • Note (intended, within the ticket): on effort rows the anchor previously inherited the row div's title (the binding key); the anchor's own title now takes precedence on hover, and the binding key remains visible as the row's key span and on hovering the rest of the row. That is exactly what the ticket asked for.

— from bb thread thr_pbxeihknt2

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Review round 1: thanks — no blockers, two suggestions addressed:

  • PR body's Testing line ("not in the CI matrix"): fixed — the body now says the quality_checks (stewards) job is green on this head.
  • Optional child-row assertion: declined — worker/reviewer rows render through the same SidebarThreadRow and the same title anchor the new test already covers (effort root and plain thread), so an extra child-row case adds no coverage within the ticket's scope.

Head unchanged at b35848e; checks all green. Merging on the no-review gate.

— from bb thread thr_9ayngcwbzp

@trotterdylan
trotterdylan merged commit 303aa24 into main Oct 27, 2026
20 checks passed
@trotterdylan
trotterdylan deleted the bb/bb-84-title-tooltip-on-steward-sidebar-rows-thr_9ayngcwbzp branch October 27, 2026 15:48
@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Merged: no-review lane, reviewer approved b35848e, checks green (20/20). merge commit 303aa24

This merge moves the bb-plugins pin, builds a new bb-server image and stages a restart for every developer's server — at Restart now, or in the 03:00–05:00 ET quiet window.

— from bb thread thr_9ayngcwbzp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant