fix(hud): hide vessel and FIRMS rows when those feeds are unset #56
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_617c8a08"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.lp-layerfor#lp-vessels-onand#lp-fires-ononly whenGET /api/statshasfeeds.vessels.configured === falseorfeeds.fires.configured === false.feeds(old image) leaves both rows visible. Count 0 is not a hide signal.#lp-incidents-on,#lp-perim-on, and#lp-trains-onare never hidden by this logic.lp-fires-on(label FIRMS Fires), not the WFIGS incidents toggle..lp-layer { display: flex }beats the UA[hidden]rule, so the hide also sets inlinedisplay: noneand clears it when the row is shown again. No color, font, or neon change.Test plan
pytest tests/test_feed_rail.py tests/test_hud_chrome.py tests/test_frontend_reliability.py -q— 25 passedconfigured: falsecomputesdisplay: noneon those two rows; incidents and trains stayflex. Nofeedsrestoresflex.Do not merge yet — inbox card rebases onto this branch if the PR is still open.
Known-red CI
docker login 127.0.0.1:3000is not this change.