refactor(tui): use built-in header, self-contained right panel #323
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 · 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
Real PR Conversation Timeline
1 comments
"Review active on #323"
general
weight: 0.35
henryiii
:robot: _AI text below_ :robot:
TUI widget cleanup for items 12 (right panel and header part), 14, 15, 16, 17, and 22 of the review.
Headeris removed. The app uses the built-inHeaderwithTITLE = "uproot-browser"and the file path assub_title. The old close and help buttons are gone. The header icon opens the command palette, which has the built-in Quit command and a new Help command (get_system_commands).RightPanelgetsimageandimage_scalefrom its constructor. It postsRightPanel.LimitsChangedandRightPanel.ScaleChanged, andBrowserhandles them. The theme Select still setsself.app.theme. Button handlers use@on(Button.Pressed, "#axis-apply").Input(validators=[Number()], valid_empty=True). The validator marks invalid input (nan and inf too) with a red border. The input keeps the typed text (type="number"dropped the comma in1,5and applied 15). The status line still shows a message for invalid input and for min >= max. Blank still means automatic.Static. The walk is transitive and usespackaging.requirements.Requirement: it follows all extras of uproot-browser and the extras of each requirement (for examplemarkdown-it-py[linkify]), and evaluates markers for this environment.packaging >=22is now a declared dependency (uproot already requires it).Labelpadding rule and thePercentageStatusworkaround are removed. Screenshots of the start screen, a plot with the right panel, and the status bar with a running task are pixel-identical below the header. TheBrowser Widget { scrollbar-* }rule is intended and stays.app: BrowserinHelpScreen,Header.DEFAULT_CLASSES, the staleUprootTreedocstring, and the stale sentence in the help README.The textual minimum does not change. The
minimumssession passes.Refs #322