338 Commits

Author SHA1 Message Date
greenkeeper[bot]
552bdd64ea chore(package): update lockfile ui/package-lock.json 2018-09-28 20:43:20 +01:00
greenkeeper[bot]
7abdb0b7ad fix(package): update @sentry/browser to version 4.0.6 2018-09-28 20:43:20 +01:00
Łukasz Mierzwa
bfa021aabf fix(ui): don't let multiple exceptions set multiple timers
As reported via #77 countdown timer might be updated more often than 1s since we don't protect against multiple setInterval() calls, add a check
2018-09-28 00:02:10 +01:00
greenkeeper[bot]
79513fa174 chore(package): update lockfile ui/package-lock.json 2018-09-27 23:00:53 +01:00
greenkeeper[bot]
af1389595b fix(package): update mobx to version 5.5.0 2018-09-27 13:01:19 +00:00
Łukasz Mierzwa
b279a8a4e5 feat(ci): lint commit messages on Travis 2018-09-26 21:41:19 +01:00
greenkeeper[bot]
36a9a190ef chore(package): update lockfile ui/package-lock.json 2018-09-26 19:48:40 +01:00
greenkeeper[bot]
b8886a6999 fix(package): update react-transition-group to version 2.5.0 2018-09-26 19:48:40 +01:00
Łukasz Mierzwa
38302ef02f fix 2018-09-26 19:17:06 +01:00
greenkeeper[bot]
69ef0cb8ac chore(package): update lockfile ui/package-lock.json 2018-09-26 11:51:57 +00:00
greenkeeper[bot]
abd22e29d9 fix(package): update react-moment to version 0.8.1 2018-09-26 11:50:05 +00:00
greenkeeper[bot]
73c8a25686 chore(package): update lockfile ui/package-lock.json 2018-09-25 21:01:59 +01:00
greenkeeper[bot]
9a8e875623 fix(package): update @sentry/browser to version 4.0.5 2018-09-25 21:01:59 +01:00
Łukasz Mierzwa
83aa8b9649 feat(tests): strict validation for props 2018-09-24 15:28:25 +01:00
Łukasz Mierzwa
79d4da8faa chore(ui): replace node-sass-chokidar with node-sass
node-sass-chokidar is a wrapper around node-sass, use node-sass directly
2018-09-23 22:40:37 +01:00
Łukasz Mierzwa
ce92c89076 fix(ui): switch to fade animation on navbar, hook to correct show event 2018-09-23 19:17:33 +01:00
Łukasz Mierzwa
843118176f fix(ui): better navbar hiding when idle
Don't destroy navbar since modals are mounted on it + update visibility after transition so animations work as expected
2018-09-23 12:23:29 +01:00
Łukasz Mierzwa
bdbffd151f feat(ui): use different idle value for desktop and mobile
Very simple version, no resize handling, but it will cover 95% cases
2018-09-22 20:59:46 +01:00
Łukasz Mierzwa
cc01e07726 feat(ui): animate navbar show/hide 2018-09-22 20:18:34 +01:00
Łukasz Mierzwa
9e72198efe feat(ui): animate dropdown menus 2018-09-22 15:20:40 +01:00
Łukasz Mierzwa
285e1e98ac feat(ui): add a dropdown animation 2018-09-22 15:20:40 +01:00
Łukasz Mierzwa
1b4f611406 feat(ui): animate modals 2018-09-22 15:20:40 +01:00
Łukasz Mierzwa
cff4528567 refactor(ui): move animations to a dedicated component 2018-09-22 12:59:44 +01:00
greenkeeper[bot]
f9b8daab90 chore(package): update lockfile ui/package-lock.json 2018-09-21 19:29:51 +01:00
greenkeeper[bot]
6041e06a34 fix(package): update react-autosuggest to version 9.4.2 2018-09-21 19:29:51 +01:00
greenkeeper[bot]
9df326d36d chore(package): update lockfile ui/package-lock.json 2018-09-21 18:46:46 +01:00
greenkeeper[bot]
d498710b7e fix(package): update @sentry/browser to version 4.0.4 2018-09-21 06:49:57 +00:00
Łukasz Mierzwa
3ab98ecca4 chore(tests): better sentry tests with real package instead of a mock 2018-09-20 16:09:08 +01:00
greenkeeper[bot]
d39e893010 chore(package): update lockfile ui/package-lock.json 2018-09-20 15:07:50 +01:00
greenkeeper[bot]
6aa26dfc2b fix(package): update @sentry/browser to version 4.0.3 2018-09-20 15:07:50 +01:00
Łukasz Mierzwa
9ba495bbe7 feat(ui): pause fetching when alert/group menu is open
This will prevent whack-a-mole when user clicks on an action menu and then grid re-renders moving it around
2018-09-20 14:25:13 +01:00
Łukasz Mierzwa
08f7e6a9fa refactor(ui): prevent concurrent fetches
Refactor the timer so instead of calling fetch directly every  seconds we call it every 1 second, check if we could & should fetch (fetch isn't already/still in progress and  seconds passed since last fetch) and if needed call fetch.
This will also allow us to pause fetches when user is interacting with alerts so there's no whack-a-mole with buttons
2018-09-20 11:34:13 +01:00
greenkeeper[bot]
1120c62da0 chore(package): update lockfile ui/package-lock.json 2018-09-19 21:47:16 +01:00
greenkeeper[bot]
0c54d01e40 fix(package): update mobx to version 5.1.2 2018-09-19 21:47:16 +01:00
Łukasz Mierzwa
22a48301e8 feat(sentry): add ErrorBoundary to capture exceptions
* switch to new Sentry client lib
* Add ErrorBoundary as a wrapper around App to capture errors and display exception page with auto refresh
* rename all instances of Raven to Sentry
2018-09-19 21:08:22 +01:00
greenkeeper[bot]
6d2ae6b739 chore(package): update lockfile ui/package-lock.json 2018-09-18 22:39:38 +01:00
greenkeeper[bot]
fcb96ae8b1 fix(package): update react-dom to version 16.5.2 2018-09-18 21:32:30 +00:00
greenkeeper[bot]
edb76253ff fix(package): update react to version 16.5.2 2018-09-18 21:31:12 +00:00
Łukasz Mierzwa
052d54c9fe fix(ui): render correct link after adding new silence to Alertmanager 2018-09-18 21:48:25 +01:00
Łukasz Mierzwa
f55345437a chore(tests): make it more obvious that silence should use am.uri, not am.publicURI 2018-09-18 21:27:45 +01:00
Łukasz Mierzwa
f049b97ba1 fix(ui): silence ID link doesn't point to the right URI 2018-09-18 21:25:12 +01:00
Łukasz Mierzwa
9822bce87c feat(ui): colo fetch indicator with text-success when response is being processed
This add a visual indicator of the progress, helpful for big responses or slow connections
2018-09-18 19:49:43 +01:00
Łukasz Mierzwa
54a71bfa68 feat(ui): hide navbar after 3 minutes with no activity 2018-09-17 20:23:47 +01:00
Łukasz Mierzwa
32b7e494fd chore(ui): make link annotations look more like links and less like labels 2018-09-16 21:47:11 +01:00
Łukasz Mierzwa
03a223ae00 feat(ui): reload app on version change 2018-09-16 21:21:23 +01:00
Łukasz Mierzwa
66d64081c0 feat(ui): track version changes and mark it with upgradeNeeded 2018-09-16 21:21:06 +01:00
Łukasz Mierzwa
58779a2404 fix(ui): sort alert groups by id before slicing
This is a short term fix to reduce potential re-ordering of alert groups on the grid. This needs to be controlled by user.
2018-09-16 18:57:27 +01:00
Łukasz Mierzwa
7c55510d63 Revert "chore(ui): use transform positioning for grid elements"
This reverts commit bc72041222.

Breaks alert action menu, it gets hidden under next alert group div.
2018-09-16 18:30:41 +01:00
Łukasz Mierzwa
abdce3bec6 Revert "chore(ui): avoid full grid repack on new alerts"
This reverts commit d896fa72b2.

This causes issues with grid rendering - when alert is removed space it was using is not reclaimed.
2018-09-15 23:29:51 +01:00
greenkeeper[bot]
7187933684 chore(package): update lockfile ui/package-lock.json 2018-09-15 14:39:13 +01:00