Add configurable resize overlay setting #20861
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.62) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.62 · 250 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.331
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.062
Real PR Conversation Timeline
1 comments
"Review active on #20861"
general
weight: 0.35
lhecker
Summary of the Pull Request
Adds a
showResizeOverlaysetting so the COLS × ROWS overlay shown while resizing can be turned off. It's on by default, and there's a toggle for it on the Interaction page in the settings UI.References and Relevant Issues
Closes #20694
In the issue, lhecker was fine with a simple on/off toggle, default on, placed on the Personalization page (later moved to Interaction after Pankaj's review), and said the overlay showing up at startup is a separate problem to handle on its own.
Detailed Description of the Pull Request / Additional comments
The setting runs through the usual layers: the settings model, the control settings, the Settings UI and the profiles schema.
The check in
_ShowResizeOverlay()sits after the size-tracking code on purpose. Switching tabs fires a size event even though the size didn't change, and_lastResizeOverlaySizeis what filters those duplicate events out. If the check ran first, that variable would stop updating while the setting is off, so the first tab switch after re-enabling the setting would compare against a stale size and show the overlay when it shouldn't.Validation Steps Performed
"showResizeOverlay": falsein settings.json, saved the file, resized → no overlay."showResizeOverlay": truein settings.json, saved, resized → overlay appeared again.https://github.com/user-attachments/assets/23b700ad-ab6e-41cf-b8ab-7d892c3158a6
PR Checklist
- If checked, please file a pull request on our docs repo and link it here: #xxx