Commit Graph

22 Commits

Author SHA1 Message Date
Łukasz Mierzwa
acfae1a663 fix(ui): fix menu close on trigger click 2020-05-14 11:50:57 +01:00
Łukasz Mierzwa
4eacd18cf6 fix(ui): drop react-onclickoutside
use a custom hook instad
2020-05-13 17:56:00 +01:00
Łukasz Mierzwa
c397e60a32 fix(ui): revert set min-width on alert menu button
This reverts commit c4f4f6cff8.
2020-05-02 13:29:24 +01:00
Łukasz Mierzwa
c4f4f6cff8 fix(ui): set min-width on alert menu button
This makes buttons less likely to have a unique width. Alert labels will be better aligned.
2020-05-01 18:36:16 +01:00
Łukasz Mierzwa
84a32a07cf fix(ui): rewrite alert group menu components with hooks 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
49264170ce fix(ui): migrate react-popper to v2 2020-03-31 14:08:40 +01:00
Łukasz Mierzwa
c12f218b4e fix(ui): reformat code using prettier v2 2020-03-25 21:43:39 +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
2d4e2640b2 chore(ui): avoid using inject in FetchPauser 2019-10-30 13:24:48 +00:00
Łukasz Mierzwa
3ef58930ad fix(ui): set silence modal tab on edit 2019-10-27 12:35:17 +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
884bbe8398 feat(ui): add shadows to dropdown menus 2019-05-09 22:56:27 +01:00
Łukasz Mierzwa
dc00ef86c8 fix(ui): cleanup css classes for labels 2019-05-03 19:14:29 +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
a20334aa59 chore(ui): add link icon to Alertmanager link in alert menu 2018-10-05 20:21:36 +01:00
Łukasz Mierzwa
83aa8b9649 feat(tests): strict validation for props 2018-09-24 15:28:25 +01:00
Łukasz Mierzwa
9e72198efe feat(ui): animate dropdown menus 2018-09-22 15:20:40 +01: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
26abcc632b fix(ui): pass unique class to alert action button, so clicking it doesn't trigger click outside handler 2018-09-08 23:35: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