Hover: restore scrolling for long content #331439
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 248 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.330
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #331439"
general
weight: 0.35
ktsoator
Fixes #215972
Fixes #316535
Fixes #319825
Fixes #324038
Fixes #325545
Fixes #327517
Summary
Long workbench hover content, including Source Control Graph commit details and Terminal environment information, could exceed the hover height without making the content node scrollable. The outer hover clipped the overflow, which made metadata and action rows unreachable.
HoverWidget.layout()clears the content node's previousmaxHeightbefore recalculating the hover dimensions. The layout previously restored a height constraint only on the outer hover container, so theDomScrollableElementcontent kept its full height and did not expose an internal scroll range.This change:
The fix is implemented in the shared hover widget so all workbench hover consumers receive consistent overflow behavior.
Verification
mainwith this change:37 passing- content viewport: 400 px
- content scroll height: 931 px
- mouse-wheel input increased
scrollTopfrom 0 to 50- metadata and the final commit-message lines are reachable through the hover scrollbar
Screenshot
Before
<img width="1778" height="1246" alt="Source Control Graph hover before the fix" src="https://github.com/user-attachments/assets/be93cfc0-3fce-418a-815e-e221e278d7d7" />
After
<img width="1638" height="984" alt="Source Control Graph hover after the fix" src="https://github.com/user-attachments/assets/5f6533cb-6ac4-49ec-aa9b-02dd3d5c785f" />