fix(orchestrator): collapse ui:hidden custom widget gaps#2572
fix(orchestrator): collapse ui:hidden custom widget gaps#2572lholmquist merged 2 commits intoredhat-developer:mainfrom
Conversation
Handle ui:hidden in the object field template so hidden custom widgets skip grid layout spacing while keeping widgets mounted. Made-with: Cursor
Changed Packages
|
Review Summary by QodoHandle ui:hidden at object template level to collapse gaps
WalkthroughsDescription• Replace field-level hidden handling with object-level template • Skip grid layout for hidden fields to eliminate spacing gaps • Keep hidden widgets mounted with display:none for logic execution • Remove deprecated HiddenFieldTemplate in favor of unified approach Diagramflowchart LR
A["HiddenFieldTemplate<br/>Field-level wrapping"] -->|"Replaced by"| B["HiddenObjectFieldTemplate<br/>Object-level handling"]
B -->|"Evaluates ui:hidden<br/>conditions"| C["Grid item rendering<br/>or display:none div"]
C -->|"Result"| D["No layout gaps<br/>Widgets still mounted"]
File Changes1. workspaces/orchestrator/.changeset/hidden-widget-gaps.md
|
Code Review by Qodo
1.
|
Document the ui:hidden layout fix for the orchestrator form react package. Made-with: Cursor
bee9a24 to
19f48b4
Compare
|




Hey, I just made a Pull Request!
Fixes:
https://redhat.atlassian.net/browse/RHDHBUGS-2830
Summary
ui:hiddenat the object field template level to avoid rendering empty MUI Grid items.display: none) so SchemaUpdater/fetch logic still runs.------BEFORE----
------AFTER------
✔️ Checklist