AAP-102847 Enlarge Variables editor on the Prompt on Launch step #3923
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.42) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 333 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.348
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #3923"
general
weight: 0.35
redhat-chai-bot
Summary
The Variables editor on the Prompt on Launch step rendered about 310px wide and one line tall when empty, which made it hard to enter or paste extra variables.
Two causes in
NodePromptsStep.tsx:PageFormGridinside the wizard'sPageFormGrid, so the nested grid landed in a single narrow column track (311px of a 964px row). It now spans all columns (grid-column: 1 / -1). This also widens the other fields on the step.DataEditorsets its height from the line count, so an empty value collapses to one line. The Variables editor now has a 300px minimum height (!importantis needed to override the inline height).The step is shared by the job template launch wizard and the workflow node wizard, so both are affected.
Jira: https://redhat.atlassian.net/browse/AAP-102847
Type of Change
Risk Analysis - REQUIRED
Shared Framework Scope
framework/changes with unrelated feature work or product rollout changes. If it does, split the work into a dedicated framework PR and follow-up PRs, or explain why splitting is not feasible.framework/, it includes complete relevant framework test coverage and representative validation of affected consuming workspaces.framework/, its description documents the compatibility impact, including affected consumers or supported behavior.Testing
Ephemeral E2E Tests
Will trigger with
/run-playwrightonce preliminary checks pass.Manual Testing
Ran
frontend/awxwith Vite and loaded/templates/job-template/1/launchin Playwright against mocked API responses (no real AWX backend). Measured the editor before and after: 311x33px before, 964x300px after.Also ran Prettier, ESLint and the guardrail lint on the changed file. The guardrail run still reports
max-lines-per-functiononNodePromptsStep(214 lines, limit 200).develalready had that warning (212 lines).Vitest for
WorkflowVisualizerandTemplatePage: 879 passed, 9 failed. The 9 failures are inTemplateJobs,TemplateSurvey,TemplateTeamAccessandTemplateUserAccess, which this PR does not touch. The same tests fail on cleandevel. There is no new unit test, since jsdom cannot measure layout.Screenshots
<!-- TODO: attach before and after screenshots (required for UI changes). -->
🤖 Generated with Claude Code