Closed (fixed)
Project:
Monitoring
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Aug 2015 at 19:09 UTC
Updated:
1 Oct 2015 at 06:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
giancarlosotelo commentedProviding a patch.
Comment #3
mbovan commentedMaybe we can use states, but this works fine too. :)
I would add tests to assert that the label field is actually hidden if the value type is 'no_value' or displayed in other case.
Comment #4
giancarlosotelo commentedAdded test.
Test also could be added to a sensor creation but after #2560213: Make configurable value type optional is commited all addable sensors are going to have this option as non configurable so I am testing this with an installed sensor which has an number as expected value.
Comment #5
miro_dietiker"all addable sensors are going to have this option as non configurable"
No at least the config sensor is addable and still will have a value type.
Comment #6
giancarlosotelo commentedOh yes, I forget that sensor :/, so now I am adding the test to the config value sensor creation.
Comment #7
miro_dietikerYay that's quick progress! :-)
Not allowed. We only hide items with #access or their dependency is not met. Otherwise persisted values possibly are dropped on save.
Fixed and committed. We have a nice UI now, Wo0t!
Comment #13
juanse254 commentedComment #17
giancarlosotelo commented