Commit Graph

714 Commits

Author SHA1 Message Date
Łukasz Mierzwa
d4a8d27857 chore(ui): use a different icon for retry 2020-07-24 11:59:08 +01:00
Łukasz Mierzwa
020213b32a fix(ui): fix modal animations 2020-07-24 11:59:08 +01:00
Łukasz Mierzwa
867532cde9 fix(ui): cleanup conditions 2020-07-23 11:28:46 +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
42e6678b68 fix(ui): use exact equal 2020-07-19 20:54:27 +01:00
Łukasz Mierzwa
e8f93602fd chore(tests): rewrite storybook stories as typescript 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
a046f5a16f chore(ui): move scss files from components dir 2020-07-19 13:20:41 +01:00
Łukasz Mierzwa
cc0455f181 fix(ui): migrate idle timer to use hooks 2020-07-19 12:47:31 +01:00
Łukasz Mierzwa
369a855f50 fix(ui): fix storybook stories 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa
8febb0241c fix(ui): use types instead of objects 2020-07-17 11:58:41 +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
0e803c3b99 chore(ui): migrate more code to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa
ab96f0213c chore(ui): migrate Settings store 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
82dce0d676 chore(ui): tweak animations 2020-07-14 08:27:38 +01:00
Łukasz Mierzwa
aa737d2cd4 fix(ui): replace current filters when clicking on silence id filter 2020-07-13 17:59:57 +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
a373f210f5 fix(tests): always use toDiffableHtml for snapshots 2020-07-06 19:10:58 +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
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
b1cf816e24 feat(ui): show modal with list of inhibiting alerts 2020-06-30 23:53:56 +01:00
Łukasz Mierzwa
6f1fb98248 feat(ui): add @finterprint filter to the help section 2020-06-30 23:53:56 +01:00
Łukasz Mierzwa
b183da0215 chore(ui): tweak silence form style 2020-06-30 18:45:58 +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
2d3458b688 feat(ui): allow sharing pre-filled silence form via a link
Fixes #1820
2020-06-29 13:25:03 +01:00
Łukasz Mierzwa
e966c404e3 fix(tests): mock current time in tests 2020-06-27 12:02:47 +01:00
Łukasz Mierzwa
09972e6c57 fix(ui): fix outline on focused history dropdown 2020-06-26 13:20:30 +01:00
Łukasz Mierzwa
af22547cba feat(ui): always use current filters as default silence matchers 2020-06-26 12:19:34 +01:00
Łukasz Mierzwa
bdf835ac71 feat(ui): show simplified status for single cluster silence submits 2020-06-25 20:05:12 +01:00
Łukasz Mierzwa
aab937adb8 fix(ui): use string formatted rgba label colors 2020-06-25 18:28:49 +01:00
Łukasz Mierzwa
78c1def776 fix(ui): handle canceled get requests in silence form 2020-06-25 15:58:11 +01:00
Łukasz Mierzwa
f42f5d0f9d fix(ui): reset failed ack button after 20s
If acking an alert fails we render failure icon, but there's no way to try again. Reset button after 20s.
2020-06-25 13:09:32 +01:00
Łukasz Mierzwa
d8a5b8dff1 fix(ui): move silence request state off component
Fixes #1878
2020-06-25 10:44:50 +01:00
Łukasz Mierzwa
d913232869 fix(ui): avoid updates on silence components re-rerenders
Fixes #1878
2020-06-23 15:12:56 +01:00
Łukasz Mierzwa
def52f4fab fix(ui): resume updates before editing filters
Fixes #1869
2020-06-21 12:43:00 +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
f1e5974cdb fix(ui): tweak DateFromNow output 2020-06-17 20:58:07 +01:00
Łukasz Mierzwa
6a7cc1c72f feat(ui): drop moment.js to reduce bundle size 2020-06-17 18:57:13 +01:00
Łukasz Mierzwa
fdc6e1b789 chore(ui): move moment poller to a dedicated component 2020-06-16 18:43:29 +01:00
Łukasz Mierzwa
83e802dd9b fix(ui): migrate to react-hotkeys-hook 2020-06-15 19:47:21 +01:00