Open rkoshak opened 3 years ago
I would like to second this enhancement request. Either hiding equipment without visible points or being able to control the visibility of the equipment group would allow to hide for example seasonal equipment. This could really make the UI a lot cleaner.
The problem
One may have some Items that they want to be a part of the model for some reason but not want to show, or even better only optionally show in the automatically generated cards on Locations/Equipment/Properties tabs.
When defining the Item's default list widget, one already has the ability to control the visibility of the elements either through an expression or through setting the value to false. This works great!
However, if there is an Equipment that is in a Location, for example, and all the points for that Equipment have visibility set to false, there will still be the gray header with the equipment name shown in the card, just with nothing under it.
Given
where "cerberos Network" and "cerberos sensor_reporter Online status" are configure to only be shown when either one is OFF:
The Location card appears as
It appears the same in the Equipment card. The equipment isn't shown for this on the Properties page anyway so there is no problem there.
However, if the Equipment is a subequipment, and I set visibility on the default list widget for the subequipment it is hidden as expected.
Similarly, if a card has an equipment but all of the Points are hidden, the Card should not be shown.
Your suggestion
I can see a couple of options here.
For the cards I can see a couple of options as well:
Your environment
Additional information