A new variable was introduced that calculates if sections are visible or not. This variable is used to influence parts of the code where section visibility matters. As a result, the display of form fields and page layouts can now respond dynamically according to the visibility of a particular section.
Modifications in HasHiddenOptions.php
The default visibility condition for 'options' was updated. Previously, this condition wasn't defined which might have led to inconsistent outcomes. Now defaulting this to false may result in a more consistent and predictable behavior.
Updates to various files
Several form-related files have been updated to take into account the visibility condition. The way some components, like input fields and checkboxes, are displayed, can now adapt more dynamically according to this condition. This marks an improvement in form handling capability of the system.
Addition of a new method in ZeusField.stub
Inclusion of a new method for retrieving hidden options. This supports more flexible and efficient management of options within the system, paving way to new feature additions.
Code cleanup in ResourcesTest.php
The commented code was removed here which results in improved code readability.
These updates collectively aim to better manage the form fields and their visibility across various pages. This maintains more harmony in interface design, leading to a better user experience.
PR Summary
Enhancements to
Designer.php
Modifications in
HasHiddenOptions.php
false
may result in a more consistent and predictable behavior.Updates to various files
Addition of a new method in
ZeusField.stub
Code cleanup in
ResourcesTest.php
These updates collectively aim to better manage the form fields and their visibility across various pages. This maintains more harmony in interface design, leading to a better user experience.