Commit Graph

229 Commits

Author SHA1 Message Date
Łukasz Mierzwa
55463e9ef5 fix(tests): avoid using instance() in tests 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
b864d035dc fix(ui): rewrite Grid with hooks 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
834377a5b1 fix(ui): rewrite UpgradeNeeded with hooks 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
27b0e1ad2c fix(ui): rewrite UpstreamError 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
ab30fe8b33 fix(ui): move FontFaceObserver hook to run on Grid instance 2020-04-13 21:45:23 +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
b6c8ad0705 fix(ui): animate multi-grid swimlane mount 2020-04-03 14:51:56 +01:00
Łukasz Mierzwa
88e6ee2951 fix(ui): add extra padding to alert grid when multi-grid is enabled 2020-04-03 12:35:55 +01:00
Łukasz Mierzwa
748cb79548 fix(ui): tweak the UI for grid swimlanes 2020-04-02 11:47:16 +01:00
Łukasz Mierzwa
d00488a94e fix(ui): always render alerts if multi-grid is disabled
If we have multi-grid on, user toggles all grids to hide details, then disables multi-grid, then we end up with alerts hidden and no way to show them.
2020-04-01 17:38:48 +01:00
Łukasz Mierzwa
d366e94e46 fix(ui): always render grid swimlane when enabled 2020-04-01 10:43:11 +01:00
Łukasz Mierzwa
ea736d626d fix(ui): always render last grid, even if hidden 2020-03-31 21:44:47 +01:00
Łukasz Mierzwa
cb7edda148 fix(ui): don't render load more button when grid is collapsed 2020-03-31 14:38:27 +01:00
Łukasz Mierzwa
49264170ce fix(ui): migrate react-popper to v2 2020-03-31 14:08:40 +01:00
Łukasz Mierzwa
f37932b892 fix(ui): add border around grid swimlane 2020-03-31 12:24:32 +01:00
Łukasz Mierzwa
01e2e68810 feat(ui): toggle all grids with alt+click 2020-03-31 12:06:48 +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
9489daa468 fix(ui): tweak grid header style 2020-03-31 11:12:42 +01:00
Łukasz Mierzwa
8698e5f674 feat(ui): render per grid state count 2020-03-31 09:16:56 +01:00
Łukasz Mierzwa
ec1705a0f0 feat(ui): support multiple grids in the UI 2020-03-31 09:16:55 +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
378866ae34 fix(ui): remove hash tests, it's no longer exposed in the API 2020-01-06 22:23:16 +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
59470daffb feat(ui): add a component to reload the page if needed 2019-12-21 18:34:23 +00:00
Łukasz Mierzwa
95c036be5c fix(ui): tweak css for ErrorBoundary component 2019-12-20 23:00:26 +00:00
Łukasz Mierzwa
ddd3a448a3 fix(ui): fix padding on error page 2019-12-20 20:51:03 +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
0a57500c86 chore(ui): use CenteredMessage for full page messages 2019-12-12 22:13:41 +00:00
Łukasz Mierzwa
ef5a9594ad refactor(ui): move out centered message style to a dedicated component 2019-12-12 21:46:02 +00:00
Łukasz Mierzwa
689f296508 fix(ui): update snapshots 2019-12-12 10:22:06 +00:00
Łukasz Mierzwa
a7b409e661 fix(ui): reduce bundle size 2019-11-29 15:58:16 +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
f3e2ed2b00 feat(storybook): add more stories to storybook 2019-11-26 23:36:07 +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
ec2f0fd2f0 feat(storybook): show ack button in storybook 2019-11-05 14:11:23 +00:00
Łukasz Mierzwa
63a3d2a30b feat(ui): allow acknowledging alerts using short lived silences 2019-11-05 14:11:23 +00:00