Commit Graph

31 Commits

Author SHA1 Message Date
Ł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
367c05e1fa fix(tests): use jest.mock for react-intersection-observer 2020-10-28 12:26:51 +00:00
Łukasz Mierzwa
865f36cdcb fix(tests): migrate useFetchDelete mocks to jest.mock 2020-10-28 12:26:51 +00:00
Łukasz Mierzwa
0408e04900 fix(tests): move useFetchGet mocks to __fixtures__ 2020-10-28 12:26:51 +00:00
Łukasz Mierzwa
8e3c50d51a feat(ui): animate silences in silence browser 2020-08-07 19:26:28 +01:00
Łukasz Mierzwa
a24b71166b fix(ui): use atomic update in useFetchGet 2020-07-25 22:14:18 +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
2214904536 fix(ui): pass explicit return type for fetch() calls 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
e55988588c chore(ui): migrate more components to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa
4a16661558 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
f23a8457d4 fix(ui): fix a regression in alert group width calculation 2020-07-07 14:48:42 +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
506177884d fix(ui): check if request was canceled on slow body read 2020-06-27 12:02:47 +01:00
Łukasz Mierzwa
78c1def776 fix(ui): handle canceled get requests in silence form 2020-06-25 15:58:11 +01:00
Łukasz Mierzwa
be882121cd fix(ui): drop useLocalStore from AlertAck 2020-06-08 17:16:01 +01:00
Łukasz Mierzwa
b09dd6f8c9 feat(ui): add a fetch hook for sending requests to any of cluster members 2020-06-08 17:16:01 +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
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
80160baaf7 fix(ui): fix cleanup in useFetchGet hook
Don't try to set the response if request was canceled
2020-05-18 11:26:32 +01:00
Łukasz Mierzwa
40edb80314 fix(ui): use custom component for tooltips 2020-05-16 12:23:00 +01:00
Łukasz Mierzwa
cde4cb19bb fix(ui): fix error handling 2020-05-11 12:49:24 +01:00
Łukasz Mierzwa
65e7f7e33d fix(ui): rewrite AlertManagerInput with hooks 2020-05-11 12:49:24 +01:00
Łukasz Mierzwa
60bdf96be1 feat(ui): use hooks for fetch requests 2020-05-11 12:49:24 +01:00