Łukasz Mierzwa
4eacd18cf6
fix(ui): drop react-onclickoutside
...
use a custom hook instad
2020-05-13 17:56:00 +01:00
Łukasz Mierzwa
84a32a07cf
fix(ui): rewrite alert group menu components with hooks
2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
2a6cbdc827
fix(tests): pass --unhandled-rejections=strict to nodejs
...
This fails tests when there are unhandled promise rejections
2020-04-12 11:31:20 +01:00
Łukasz Mierzwa
c12f218b4e
fix(ui): reformat code using prettier v2
2020-03-25 21:43:39 +00:00
Łukasz Mierzwa
1f22a11e14
fix(ui): use CORS credential settings from each alertmanager configuration
...
Fixes #1432
2020-02-19 12:10:42 +00:00
Łukasz Mierzwa
d0f59977b0
fix(ui): remove alertmanager API V1 support
2020-02-12 16:09:55 +00:00
Łukasz Mierzwa
95dd07ab78
fix(ui): disable silence menu actions when all alertmanagers are read-only
2020-01-29 10:18:29 +00:00
Łukasz Mierzwa
acae2cb2a5
chore(ui): remove all usage of Provider component
2019-10-30 13:44:18 +00:00
Łukasz Mierzwa
f50ac75363
fix(ui): fix alert menu content being under other alert groups
...
Because every alert group uses 'position: absolute' our menu content rendered after clicking on group header or each alert dropdown is hidden under neighbour groups. To fix this we'll add 'z-index: 100' to the group with currently open menu.
2019-05-10 20:06:02 +01:00
Łukasz Mierzwa
8242ec64f8
feat(ui): use silence form settings exposed via the backend API
...
Silence form when populating matchers from alerts or alert groups will now ignore labels listed in silenceForm:strip:labels
2019-04-29 20:54:17 +01:00
Łukasz Mierzwa
41cca9e501
feat(ui): deduplicate silences
...
If all alerts in a group are silenced and the same silence ID is used for all of them then there's no point in rendering silence object for each of the alerts, since they are all identical. Move the silence rendering to the footer if that happens so we save screen space
2019-03-08 17:41:22 +00:00
Łukasz Mierzwa
9ba495bbe7
feat(ui): pause fetching when alert/group menu is open
...
This will prevent whack-a-mole when user clicks on an action menu and then grid re-renders moving it around
2018-09-20 14:25:13 +01:00
Łukasz Mierzwa
d7c00213ff
refactor(ui): reorder alert action menu to make it look nicer with the header
2018-09-09 22:55:21 +01:00
Łukasz Mierzwa
7da2c66200
feat(ui): add source links in the alert action menu
2018-09-08 23:28:10 +01:00
Łukasz Mierzwa
a4557cfc49
feat(ui): add alert menu with actions specific to that alert
2018-09-08 21:11:15 +01:00