Tracker #10467
openParameter UI improvements in host and hostgroup forms
0%
Updated by Dominic Cleal over 9 years ago
- Status changed from Ready For Testing to Assigned
- Pull request added
- Pull request deleted (
https://github.com/orrabin/foreman/pull/3)
https://github.com/theforeman/foreman/pull/2442 was the PR, which for some reason has been closed.
Updated by Jeff Sault over 9 years ago
As discussed in #5868, our setup relies quite heavily on overriding parameters and the existing parameters page (on the host edit page) was causing some serious usability issues for us. We're not much of a ruby place so have written something that dynamically rewrites the parameters page when it is loaded. We use standard bootstrap objects so implementation should be fairly straightforward.
Our code probably isnt that useful but here are some screenshots. We've been using this layout for a while now with some very big classes (~400 params per class in some cases!) and it works well...
- all parameters are collapsed by default under their class so its quicker to navigate to the class you want to edit
- class names appear with numbers that show the number of overrides vs the total number of parameters for that class
- all parameter names are clear (even long ones)
- overrides are done inline, so no scrolling to the bottom
- the additional info data is immediately displayed to the user (we use the API to populate this data for all our internal modules)
- toggle buttons to display only overridden parameters
- overridden parameters have a star next to them to indicate an override
- we load a fancy json/yaml editor for parameters with suitable data types and simple radio buttons for boolean parameters
More than happy to share whatever we have if it helps.
Some screengrabs...
Updated by Tomer Brisker over 9 years ago
- Tracker changed from Feature to Tracker
- Subject changed from Parameter UI in host/group edit/create form to Parameter UI improvements in host and hostgroup forms
This is being split into several sub-issues.