Closed ozyx closed 5 months ago
originally: https://github.com/nasa/openmct/issues/7598
curl -X PATCH localhost:8090/yamcs/api/mdb-overrides/<project>/<processor>/parameters/path/to/parameter -d '{"action":"SET_DEFAULT_ALARMS","defaultAlarm":{"staticAlarmRange":[{"level":"WATCH","minInclusive":-10,"maxInclusive":10}]}}'
Verified Fixed
Summary
When applying an MDB override to change limit values on telemetry, those viewing an overlay plot containing that telemetry w/ limit lines enabled would see the lines correctly update to the new values. However, on zoom in/out, the limit lines will redraw the OLD limits before the override. This persists until refresh, and the values seen when hovering over the legend also revert to the old limits.
https://github.com/nasa/openmct/assets/9259993/8fdedbae-975b-4dcf-b624-69c62c771e33
Above, I change the top limit from 10 to 11 and the bottom from -5 to -6. Then on zoom it reverts.
Expected vs Current Behavior
The limits should change and persist in the view immediately without reverting on rerender.
Steps to Reproduce
Environment
Impact Check List
Additional Information