Fix Perses overlays and expandable surfaces under glass #10818
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.41) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 196 lines diff across 2 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.316
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #10818"
general
weight: 0.35
lucferbux
Fixes: https://redhat.atlassian.net/browse/RHAI-22796
Problem
Under Glass, dropdowns on the embedded Perses pages render translucent — page content shows through the open menu. Panel group headers paint a stark surface, and the variable toolbar's negative bottom margin pulls the panel groups tight against the row.
Solution
The MUI theme mapped floating overlays (menus, popovers, autocomplete) to the primary background token, which is translucent under glass; they now use PatternFly's opaque floating token, matching PF's own menus. Panel group headers no longer paint a background, and the variable toolbar's bottom margin, inner top padding, and spacing are corrected — via
GlobalStylesat the PersesProvider boundary, with element-qualified selectors that win on specificity rather than!important. Menu options also get explicit padding — they had been relying on a blanket MUI Typography padding that no longer exists.Evidence
ESLint passes on the changed files.
Verified live under Glass on a shared cluster during the Felt validation pass: dropdowns render opaque and mask content, expandable section headers sit on the page surface, and the variable row spacing is corrected.
Before:
<img width="674" height="623" alt="Screenshot 2026-11-20 at 2 57 04 PM" src="https://github.com/user-attachments/assets/665b55fe-f17f-4658-aecd-8a671b4508e1" />
After:
<img width="651" height="606" alt="Screenshot 2026-11-20 at 2 58 32 PM" src="https://github.com/user-attachments/assets/90df5c07-496e-413f-af07-f64952f9c006" />