Files
cacti/include
88beec1974 fix(ui): close the graph menu and relabel Realtime instead of showing a spinner (#8758)
* fix(ui): close the graph menu and relabel Realtime instead of showing a spinner

Clicking Realtime in the graph drilldown menu replaced the whole row with a
spinner icon, discarding its label. Keep the row intact, close the menu, and
flip the label between "Realtime" and "Stop Realtime" so the next click offers
the opposite action. Stopping all realtime graphs from the filter bar restores
the label too.

closeGraphDrilldown() is hoisted out of initGraphDrilldown() so the Realtime
click handler can close the menu.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(ui): keep realtime menu state and focus synchronized

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* fix(i18n): encode realtime labels for JavaScript

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
Co-authored-by: TheWitness <copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Thomas Vincent <thomasvincent@gmail.com>
2026-11-17 13:24:25 -05:00
..
2026-01-28 16:11:10 -05:00
2026-07-24 19:49:16 -04:00
2022-11-26 02:07:03 +00:00
2026-01-28 16:11:10 -05:00