Commit Graph

13 Commits

Author SHA1 Message Date
Ł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
a9a9efdc4d fix(ui): smaller padding for modal tabs 2019-10-27 07:38:55 +00:00
Łukasz Mierzwa
1fe5ced71c fix(ui): workaround multiple modals conflicting with each other 2019-10-27 07:35:04 +00: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
9548dc705a fix(ui): don't reset scroll lock on hidden modal update 2019-08-01 20:02:39 +01:00
Łukasz Mierzwa
34a0fa1dc4 fix(ui): disable hotkeys when modal is hidden
HotKeys component needs to be unmounted on hide, otherwise we might have multiple modals responding to key events
2019-07-31 22:19:23 +01:00
Łukasz Mierzwa
312b718b7a feat(ui): close modal window when user hits the Escape key
Fixes #842
2019-07-31 19:56:57 +01:00
Łukasz Mierzwa
ee5efc6023 chore(ui): use xl size for the overview modal 2019-07-11 13:16:12 +01:00
Łukasz Mierzwa
bfb509c0e7 chore(ui): use modal reference instead of class query 2018-11-21 21:54:49 +00:00
Łukasz Mierzwa
3fb4feb731 feat(ui): allow passing extra props down to modal transition 2018-10-11 10:24:35 +01:00
Łukasz Mierzwa
909d5a13b3 fix(ui): don't try to enable scrolling on unmounted modal
when we call enableBodyScroll() .modal instance is already gone, which causes crashes on touch enabled devices
2018-10-09 19:44:20 +01:00
Łukasz Mierzwa
7adf1bbfd5 refactor(ui): move common modal code to a dedicated component 2018-10-08 21:54:22 +01:00