monitoring: hide fan threshold legend

This commit is contained in:
jenkins 2026-05-16 12:14:22 -03:00
parent 160c960345
commit 02e8e633a5
4 changed files with 4 additions and 4 deletions

View File

@ -2121,7 +2121,7 @@ def build_overview():
links=overview_link("atlas-power"), links=overview_link("atlas-power"),
description="Fan intensity lanes on the 0-10 controller scale. Cooler colors are quiet/low intensity; warmer colors mean the enclosure is pushing harder.", description="Fan intensity lanes on the 0-10 controller scale. Cooler colors are quiet/low intensity; warmer colors mean the enclosure is pushing harder.",
) )
fan_panel["options"]["legend"] = {"displayMode": "list", "placement": "bottom"} fan_panel["options"]["legend"] = {"displayMode": "hidden", "placement": "bottom"}
fan_panel["options"]["mergeValues"] = False fan_panel["options"]["mergeValues"] = False
fan_panel["options"]["showValue"] = "auto" fan_panel["options"]["showValue"] = "auto"
fan_panel["options"]["tooltip"] = {"mode": "multi", "sort": "none"} fan_panel["options"]["tooltip"] = {"mode": "multi", "sort": "none"}

View File

@ -109,7 +109,7 @@ def test_overview_uses_readable_quality_power_and_gitops_panels():
assert fan_mappings["0"]["text"] == "Off" assert fan_mappings["0"]["text"] == "Off"
assert fan_mappings["10"]["text"] == "10" assert fan_mappings["10"]["text"] == "10"
assert "Tent Interior" in panels_by_title["Fan Intensity History"]["targets"][0]["expr"] assert "Tent Interior" in panels_by_title["Fan Intensity History"]["targets"][0]["expr"]
assert panels_by_title["Fan Intensity History"]["options"]["legend"]["displayMode"] == "list" assert panels_by_title["Fan Intensity History"]["options"]["legend"]["displayMode"] == "hidden"
assert panels_by_title["Fan Intensity History"]["options"]["mergeValues"] is False assert panels_by_title["Fan Intensity History"]["options"]["mergeValues"] is False
assert panels_by_title["Fan Intensity History"]["options"]["showValue"] == "auto" assert panels_by_title["Fan Intensity History"]["options"]["showValue"] == "auto"

View File

@ -2001,7 +2001,7 @@
"mergeValues": false, "mergeValues": false,
"showValue": "auto", "showValue": "auto",
"legend": { "legend": {
"displayMode": "list", "displayMode": "hidden",
"placement": "bottom" "placement": "bottom"
}, },
"tooltip": { "tooltip": {

View File

@ -2010,7 +2010,7 @@ data:
"mergeValues": false, "mergeValues": false,
"showValue": "auto", "showValue": "auto",
"legend": { "legend": {
"displayMode": "list", "displayMode": "hidden",
"placement": "bottom" "placement": "bottom"
}, },
"tooltip": { "tooltip": {