Commit Graph

36 Commits

Author SHA1 Message Date
Łukasz Mierzwa
7912442b76 feat(ui): reduce css bundle size 2021-08-05 20:21:34 +01:00
Łukasz Mierzwa
aeb9f21b13 fix(ui): correct typescript errors 2021-06-03 11:19:21 +01:00
Łukasz Mierzwa
504a44d135 fix(ci): enable more checks in tsconfig 2021-05-25 12:46:10 +01:00
Łukasz Mierzwa
7638d655a7 fix(ui): fix typescript warnings 2021-04-07 14:17:48 +01:00
Łukasz Mierzwa
c3bfc77734 fix(tests): fix tests for react v17 2020-11-09 20:54:59 +00:00
Łukasz Mierzwa
836cf67fe8 fix(tests): move fixtures to a dedicated folder 2020-10-28 12:26:51 +00:00
Łukasz Mierzwa
45f30f6ce9 feat(ui): allow disabling animations 2020-10-11 17:09:37 +01:00
Łukasz Mierzwa
58ca6f8de7 chore(ui): tweak modal animations for mobile 2020-08-25 16:33:52 +01:00
Łukasz Mierzwa
a38c1fc4a1 chore(ui): tweak modal animations 2020-07-25 18:21:42 +01:00
Łukasz Mierzwa
522af74eaf fix(tests): fix modal test 2020-07-24 15:08:00 +01:00
Łukasz Mierzwa
020213b32a fix(ui): fix modal animations 2020-07-24 11:59:08 +01:00
Łukasz Mierzwa
6d961fa09d fix(ui): always pass type to useRef & useState 2020-07-22 21:39:43 +01:00
Łukasz Mierzwa
aa022796b4 fix(ui): resolve eslint reported issues 2020-07-21 17:58:08 +01:00
Łukasz Mierzwa
fcc795b7c9 chore(tests): migrate jest tests to typescript 2020-07-21 17:58:08 +01:00
Łukasz Mierzwa
e55988588c chore(ui): migrate more components to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa
4d4dd111c1 chore(ui): migrate more code to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa
9ed9b840fe fix(ui): don't resize the grid when modal is open
Modal will hide the scrollbar, which can resize everything.
Tell body-scroll-lock to reserver space for hidden scrollbar to avoid it.
2020-07-01 17:43:43 +01:00
Łukasz Mierzwa
83e802dd9b fix(ui): migrate to react-hotkeys-hook 2020-06-15 19:47:21 +01:00
Łukasz Mierzwa
0e973be06e fix(ui): only focus elements on mount 2020-06-10 22:22:46 +01:00
Łukasz Mierzwa
299d05aca3 fix(ui): refactor modal isUpper handling 2020-06-09 22:37:40 +01:00
Łukasz Mierzwa
9dfe40c837 fix(ui): rewrite Modal with hooks 2020-06-09 22:37:40 +01:00
Łukasz Mierzwa
55463e9ef5 fix(tests): avoid using instance() in tests 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
c12f218b4e fix(ui): reformat code using prettier v2 2020-03-25 21:43:39 +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
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