Commit Graph

157 Commits

Author SHA1 Message Date
Łukasz Mierzwa
4eacd18cf6 fix(ui): drop react-onclickoutside
use a custom hook instad
2020-05-13 17:56:00 +01:00
Łukasz Mierzwa
4d2a543e4a fix(ui): collapse annotations when clicking on the name
Fixes #1721
2020-05-13 09:18:17 +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
c857573ac1 fix(ui): rewrite Alert component with hooks 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
2440b7778e fix(ui): rewrite GroupHeader & GroupFooter components with hooks 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
84a32a07cf fix(ui): rewrite alert group menu components with hooks 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
69c5e2644c fix(ui): rewrite RenderNonLinkAnnotation with hooks 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
5bb3b92a70 feat(ui): animate toggle icon on changes 2020-04-22 11:12:55 +01:00
Łukasz Mierzwa
7eaa7cbf34 fix(ui): add animation settings to the theme context 2020-04-16 10:06:33 +01:00
Łukasz Mierzwa
c8dfeb7a66 fix(ui): replace MountFade with react-reveal Fade 2020-04-16 10:06:33 +01:00
Łukasz Mierzwa
f836cdf4e2 fix(ui): more margin between button on small screens 2020-04-12 17:51:35 +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
1de2cd5a3e fix(ui): alt+click on group details should only toggle groups in current grid 2020-04-03 20:39:01 +01:00
Łukasz Mierzwa
49264170ce fix(ui): migrate react-popper to v2 2020-03-31 14:08:40 +01:00
Łukasz Mierzwa
731f1fbb76 fix(ui): follow default collapse state of groups when rendering grid 2020-03-31 11:35:15 +01:00
Łukasz Mierzwa
c12f218b4e fix(ui): reformat code using prettier v2 2020-03-25 21:43:39 +00:00
Łukasz Mierzwa
9e000d490a feat(ui): toggle all groups on alt+click
Fixes #1381
2020-02-21 12:30:16 +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
a83f50accb fix(ui): brighter silence background 2019-12-25 21:15:21 +00:00
Łukasz Mierzwa
4694b50d4e chore(ui): increase grid grutter 2019-12-25 20:59:17 +00:00
Łukasz Mierzwa
96f9df7e50 fix(ui): tweak dark theme css 2019-12-25 19:58:02 +00:00
Łukasz Mierzwa
5b64a4699a fix(ui): margin should only be set between elements
Right now margin is set after each element rather than to enfore space between two elements
2019-12-23 14:56:23 +00:00
Łukasz Mierzwa
e7d6edc163 chore(ui): change default label color to gray
Orange color isn't very readable and stands out on the page, use
more neutral and more readable gray
2019-12-16 21:42:17 +00:00
Łukasz Mierzwa
de43f1ac4a feat(ui): theme switching
This add "proper" dark mode using darkly bootstrap theme
2019-11-27 12:18:13 +00:00
Łukasz Mierzwa
aab5b29eb6 fix(ui): avoid duplicating bootstrap styles
bootstrap css gets injected multiple time due to how imports are structured, only import variables in component scss
2019-11-21 22:28:26 +00:00
Łukasz Mierzwa
da66604864 fix(ui): reformat js code 2019-11-09 14:57:50 +00:00
Łukasz Mierzwa
63a3d2a30b feat(ui): allow acknowledging alerts using short lived silences 2019-11-05 14:11:23 +00:00
Łukasz Mierzwa
3e9b5f6152 chore(ui): tweak silence css for better readability 2019-11-01 19:29:12 +00:00
Łukasz Mierzwa
560e1e2cf3 fix(ui): cleanup colors on silence comments 2019-10-31 19:24:11 +00:00
Łukasz Mierzwa
a6a9ab494d fix(ui): tweak margins for the collapse toggle on silence view 2019-10-30 17:25:12 +00:00
Łukasz Mierzwa
96822e7f66 feat(ui): show matched alert count on silence browser 2019-10-30 17:25:11 +00:00
Łukasz Mierzwa
acae2cb2a5 chore(ui): remove all usage of Provider component 2019-10-30 13:44:18 +00:00
Łukasz Mierzwa
c31917d0b7 chore(ui): avoid using inject in FilteringLabel 2019-10-30 13:35:58 +00:00
Łukasz Mierzwa
f57041988a chore(ui): avoid using inject in RenderNonLinkAnnotation 2019-10-30 13:31:44 +00:00
Łukasz Mierzwa
0bf5ec1b72 chore(ui): avoid using inject in FilteringCounterBadge 2019-10-30 13:29:17 +00:00
Łukasz Mierzwa
2d4e2640b2 chore(ui): avoid using inject in FetchPauser 2019-10-30 13:24:48 +00:00
Łukasz Mierzwa
794607919a feat(ui): experimental dark theme
Very ugly, might be buggy, but need to start somewhere
2019-10-28 18:38:12 +00:00
Łukasz Mierzwa
2c8db31fe5 fix(ui): fix matcher overflowing parent of silence details 2019-10-28 10:38:59 +00:00
Łukasz Mierzwa
a5255d5d16 chore(ui): use pure css instead of react-truncate 2019-10-27 15:27:04 +00:00
Łukasz Mierzwa
3ef58930ad fix(ui): set silence modal tab on edit 2019-10-27 12:35:17 +00:00
Łukasz Mierzwa
16f2d74603 fix(ui): avoid overflows on silence collapse toggle 2019-10-27 11:59:13 +00:00
Łukasz Mierzwa
490e0f43de fix(ui): avoid overflows on silence component 2019-10-27 09:00:03 +00:00
Łukasz Mierzwa
f3572dba61 fix(ui): tweak silence display 2019-10-26 17:46:02 +01:00
Łukasz Mierzwa
96cd8a856b chore(ui): replace Silence usage with ManagedSilence 2019-10-26 17:36:31 +01:00
Łukasz Mierzwa
87efb25cd8 feat(ui): add UI for managing all silences
This change adds a new view mode in the silence modal that allows to browse and edit any silence found in alertmanager upstream.

Fixes #625
2019-10-26 17:36:12 +01:00
Łukasz Mierzwa
1266458505 chore(ui): change alert background on hover 2019-10-22 22:40:22 +01:00
Łukasz Mierzwa
1346237777 fix(project): refactor proxy & external_uri handling
Fixes #1024
2019-10-11 00:10:58 +01:00