← Back to Pull requests

Add configurable resize overlay setting #20861

Closed
unknown closed this pull request without merging on Oct 28, 2026 23:56 UTC
View on GitHub
unknown unknown commented on Oct 27, 2026 18:43 UTC
Author

Summary of the Pull Request


Adds a showResizeOverlay setting 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 _lastResizeOverlaySize is 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


  • Resized the window with default settings → overlay appeared.

  • Turned off "Show terminal size when resizing" on the Interaction page and resized → no overlay.

  • Turned the toggle back on and resized → overlay was back.

  • Set "showResizeOverlay": false in settings.json, saved the file, resized → no overlay.

  • Set "showResizeOverlay": true in settings.json, saved, resized → overlay appeared again.

  • Switched between tabs with the setting on → no overlay.
  • https://github.com/user-attachments/assets/23b700ad-ab6e-41cf-b8ab-7d892c3158a6

    PR Checklist


  • Closes #20694

  • Tests added/passed

  • Documentation updated

  • - If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated (if necessary)
  • Diff: 250 lines (+187 / -63) across 3 files Reviewer: lhecker Review duration: 1752m
    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
    0.62
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 62.2% (MEDIUM) · Higher = larger blast radius
    62.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 24.6% · Safe to merge
    24.6%