Commit Graph

254 Commits

Author SHA1 Message Date
Łukasz Mierzwa
db0aa0bab9 fix(ui): migrate to cra v4 2020-11-23 19:04:14 +00:00
Łukasz Mierzwa
41dbc4f19d fix(ui): fix grid repack after collapse 2020-11-01 17:27:32 +00:00
Łukasz Mierzwa
d5b5c81e8e fix(tests): fix issues reported by react-app/jest eslint rules 2020-10-28 12:26:51 +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
fd155db464 fix(ui): migrate to mobx-react-lite v3 2020-10-02 17:28:34 +01:00
Łukasz Mierzwa
632a111056 fix(ui): migrate code to mobx v6 2020-10-02 14:08:11 +01:00
Łukasz Mierzwa
014da0ccb0 chore(ui): smaller padding in alert group headers 2020-09-09 16:17:41 +01:00
Łukasz Mierzwa
f8cc8f6ee1 fix(ui): tweak click animation 2020-09-08 18:20:56 +01:00
Łukasz Mierzwa
6e6cb02156 fix(ui): use bigger icons for alert group header
Fixes #2106
2020-09-08 10:15:57 +01:00
Łukasz Mierzwa
a1197cfe44 feat(ui): pause fetches on alt+space 2020-08-24 17:15:50 +01:00
Łukasz Mierzwa
8e3c50d51a feat(ui): animate silences in silence browser 2020-08-07 19:26:28 +01:00
Łukasz Mierzwa
6d961fa09d fix(ui): always pass type to useRef & useState 2020-07-22 21:39:43 +01:00
Łukasz Mierzwa
fd1922a9e0 fix(ui): re-enable some typscript eslint rules and fix code 2020-07-21 21:46:42 +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
42e6678b68 fix(ui): use exact equal 2020-07-19 20:54:27 +01:00
Łukasz Mierzwa
c994b3cee4 fix(ui): don't render silence fallback on alert group unmount 2020-07-19 14:50:14 +01:00
Łukasz Mierzwa
e55988588c chore(ui): migrate more components to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa
82dce0d676 chore(ui): tweak animations 2020-07-14 08:27:38 +01:00
Łukasz Mierzwa
f23a8457d4 fix(ui): fix a regression in alert group width calculation 2020-07-07 14:48:42 +01:00
Łukasz Mierzwa
a7540a1e76 fix(ui): better handling of scrollbar gap when modal is open 2020-07-06 18:22:17 +01:00
Łukasz Mierzwa
5be5a72fc6 fix(ui): enable appear animation for swimlane 2020-07-04 13:21:35 +01:00
Łukasz Mierzwa
2f74561809 chore(ui): drop react-reveal animations
This library is not maintained anymore and it causes small glitches when rendering a lot of alerts - scrolling groups into view doesn't always trigger animation and they stay hidden.
2020-07-03 17:03:43 +01:00
Łukasz Mierzwa
2dd1897937 fix(tests): add alert fingerprint to prop validation 2020-07-02 14:31:15 +01:00
Łukasz Mierzwa
b1cf816e24 feat(ui): show modal with list of inhibiting alerts 2020-06-30 23:53:56 +01:00
Łukasz Mierzwa
e15d8894d1 fix(ui): cancel debounced calls in useEffect cleanup 2020-06-30 11:29:10 +01:00
Łukasz Mierzwa
32f249f2d8 fix(ui): only select alertmanagers from alert/group
Fixes #1904
2020-06-29 13:25:03 +01:00
Łukasz Mierzwa
17179f44b1 fix(ui): ensure that group animations are enabled after mount 2020-06-18 20:07:03 +01:00
Łukasz Mierzwa
6a7cc1c72f feat(ui): drop moment.js to reduce bundle size 2020-06-17 18:57:13 +01:00
Łukasz Mierzwa
b1c70fbf90 fix(ui): ensure that titlebar is updated on settings change 2020-06-14 17:11:22 +01:00
Łukasz Mierzwa
3927f37fef fix(ui): keep swimlane labels in one row 2020-06-13 17:20:21 +01:00
Łukasz Mierzwa
e64b671c27 fix(ui): correctly check if @cluster label should be rendered 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
3ef13a00c0 chore(ui): use @cluster label instead of @alertmanager 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
508e47f5c4 fix(ui): drop mobx-react 2020-06-10 18:15:51 +01:00
Łukasz Mierzwa
94217754d3 fix(ui): always use defaults for alert render count
When default alert render count is changed all groups should reflect it
2020-06-08 19:28:05 +01:00
Łukasz Mierzwa
20956aaf68 fix(ui): drop useLocalStore from AlertGrid 2020-06-08 17:16:01 +01:00
Łukasz Mierzwa
facd595357 fix(ui): drop useLocalStore from AlertGroup 2020-06-08 17:16:01 +01:00
Łukasz Mierzwa
291de7c62f fix(ui): drop useLocalStore from Annotation 2020-06-08 17:16:01 +01:00
Łukasz Mierzwa
8265a54058 fix(ui): rewrite AlertGrid with hooks 2020-06-01 13:00:37 +01:00
Łukasz Mierzwa
edbc39b488 fix(ui): rewrite AlertGroup with hooks 2020-06-01 13:00:37 +01:00
Łukasz Mierzwa
306d3292c0 fix(ui): avoid annotation re-renders
afterUpdate callback is chaning on every render, triggering annotation re-render
2020-05-31 16:47:38 +01:00
Łukasz Mierzwa
2c68967928 fix(ui): use alert fingerprint instead of labels hash 2020-05-30 18:12:54 +01:00
Łukasz Mierzwa
53796bf54e fix(ui): use custom masonry grid component 2020-05-20 18:46:34 +01:00
Łukasz Mierzwa
d860dae3ca fix(ui): reduce webpack bundle size by splitting lodash imports 2020-05-18 17:38:13 +01:00
Łukasz Mierzwa
938cfcc9b7 fix(ui): only trigger useOnClickOutside when needed
useOnClickOutside should start listening for events only if there's an action to take.

Fixes #1754
2020-05-18 14:00:01 +01:00
Łukasz Mierzwa
40edb80314 fix(ui): use custom component for tooltips 2020-05-16 12:23:00 +01:00
Łukasz Mierzwa
5dd1251010 fix(ui): hide @receiver label when there's only one receiver configured
Fixes #1715
2020-05-14 16:45:49 +01:00
Łukasz Mierzwa
acfae1a663 fix(ui): fix menu close on trigger click 2020-05-14 11:50:57 +01:00
Łukasz Mierzwa
80bbc58090 fix(ui): use react-popper-tooltip instead of react-tippy 2020-05-14 11:14:45 +01:00