The current meaning of the alert firing/pending/inactive
toggle seems ambiguouos as #7460 demonstrates.
This commit adds a checkbox icon to clarify the
active state of the button.
Signed-off-by: Christian Hoffmann <[email protected]>
* local storage selectedTab on targets tab was renamed
Signed-off-by: Michał Szczygieł <[email protected]>
* added filters when displaying alerts
Signed-off-by: Michał Szczygieł <[email protected]>
* function was simplified
Signed-off-by: Michał Szczygieł <[email protected]>
* fixed rebase
Signed-off-by: Michał Szczygieł <[email protected]>
* minor rename
Signed-off-by: Michał Szczygieł <[email protected]>
* Active -> Pending
Signed-off-by: Michał Szczygieł <[email protected]>
After removing the checkbox in #3913 the only remaining element that
looked like it was the new Show Annotations checkbox on the Alerts page.
Which in turn didn't look like the Enable query history checkout on the
graph page. So:
1. This takes the Enable query history button as canonical.
2. Updates the show annotations button code to match it.
3. Simplifies the JS for the checkbox.