Commit Graph

362 Commits

Author SHA1 Message Date
dependabot[bot]
c260b4e6ee build(deps-dev): bump enzyme from 3.6.0 to 3.7.0 in /ui
Bumps [enzyme](https://github.com/airbnb/enzyme) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/airbnb/enzyme/releases)
- [Changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/enzyme/compare/enzyme@3.6.0...enzyme@3.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-05 11:22:47 +00:00
dependabot[bot]
c97172f728 build(deps-dev): bump enzyme-adapter-react-16 from 1.5.0 to 1.6.0 in /ui
Bumps [enzyme-adapter-react-16](https://github.com/airbnb/enzyme) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/airbnb/enzyme/releases)
- [Changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/enzyme/compare/v1.5.0...enzyme-adapter-react-16@1.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-05 10:46:16 +00:00
dependabot[bot]
c3414c2199 build(deps): bump body-scroll-lock from 2.5.8 to 2.5.10 in /ui
Bumps [body-scroll-lock](https://github.com/willmcpo/body-scroll-lock) from 2.5.8 to 2.5.10.
- [Release notes](https://github.com/willmcpo/body-scroll-lock/releases)
- [Commits](https://github.com/willmcpo/body-scroll-lock/compare/v2.5.8...v2.5.10)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-05 10:11:33 +00:00
Łukasz Mierzwa
19642a553f fix(ui): use more compatible body style setter
This works on Firefox 33, style[] syntax is only supported for FF >=35
2018-10-05 08:22:54 +01:00
Łukasz Mierzwa
721be6c825 fix(ui): polyfill fetch()
This allows it to run on all browsers from the browserslist config
2018-10-04 22:10:44 +01:00
Łukasz Mierzwa
82f7fbcc49 fix(ui): add polyfill for es2015+ features for older browsers 2018-10-04 20:11:32 +01:00
Łukasz Mierzwa
66588d10d3 chore(ui): better modal animation, based on bootstrap code 2018-10-04 19:39:29 +01:00
dependabot[bot]
bcaa8c524f build(deps): bump react-resize-detector from 3.1.2 to 3.1.3 in /ui
Bumps [react-resize-detector](https://github.com/maslianok/react-resize-detector) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/maslianok/react-resize-detector/releases)
- [Commits](https://github.com/maslianok/react-resize-detector/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-04 18:00:34 +00:00
dependabot[bot]
1f4cd5e4a8 build(deps): bump react-scripts from 2.0.3 to 2.0.4 in /ui
Bumps [react-scripts](https://github.com/facebook/create-react-app) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/create-react-app/compare/react-scripts@2.0.3...react-scripts@2.0.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-04 16:13:24 +00:00
dependabot[bot]
bbcc47d47a build(deps): bump body-scroll-lock from 2.5.7 to 2.5.8 in /ui
Bumps [body-scroll-lock](https://github.com/willmcpo/body-scroll-lock) from 2.5.7 to 2.5.8.
- [Release notes](https://github.com/willmcpo/body-scroll-lock/releases)
- [Commits](https://github.com/willmcpo/body-scroll-lock/compare/v2.5.7...v2.5.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-03 18:07:30 +00:00
Łukasz Mierzwa
350823c16b chore(tests): update snapshots for react-select 2.1 version bump 2018-10-03 18:19:55 +01:00
dependabot[bot]
b972db9604 build(deps): bump react-select from 2.0.0 to 2.1.0 in /ui
Bumps [react-select](https://github.com/JedWatson/react-select) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/.sweet-changelogs.js)
- [Commits](https://github.com/JedWatson/react-select/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-03 18:19:55 +01:00
Łukasz Mierzwa
7243cfc149 fix(ui): don't use a for elements without href 2018-10-03 11:14:45 +01:00
Łukasz Mierzwa
4e3635bc98 fix(tests): reset mocks between tests
Ensures that tests don't rely on previous tests mocking things
2018-10-03 10:16:31 +01:00
Łukasz Mierzwa
093dce1a58 fix(tests): new jsdom mocks localStorage, no need to provide a mock
This also needs to be mocked a little different: https://github.com/facebook/jest/issues/6798#issuecomment-412871616
2018-10-03 10:16:31 +01:00
Łukasz Mierzwa
699e2bafa8 fix(ui): fixing tests that stopped working with rca 2.0 2018-10-03 09:34:39 +01:00
Łukasz Mierzwa
e3c43453ea chore(ui): use react-scripts 2.0 support for sass 2018-10-03 09:34:39 +01:00
Łukasz Mierzwa
8089461fff chore(ui): upgrade to react-scripts 2.0 2018-10-03 09:34:32 +01:00
Łukasz Mierzwa
d1a101a416 chore(ui): migrate from npm to yarn
Everyone seems to support it, doesn't have same lock file generation issues, let's try it
2018-10-02 23:02:50 +01:00
Łukasz Mierzwa
af6c166259 feat(ui): allow editing exiting silences
Fixes #87
2018-10-01 21:26:51 +01:00
Łukasz Mierzwa
090d73350c refactor(colors): move font color selection to the fronted
Right now backend sends both background and font color information, refactor to send background color and background brightness level (needed to pick font color) and let UI apply font color. Needed to implement #18
2018-09-30 13:50:21 +01:00
Łukasz Mierzwa
32f3ed4f60 fix(ui): break long words in annotations 2018-09-30 13:40:29 +01:00
Łukasz Mierzwa
bb3cf2e3c1 chore(tests): drop onchanges, not used frequently, not needed 2018-09-30 10:00:13 +01:00
Łukasz Mierzwa
455cb288ca fix(tests): alert.alertmanager doesn't have uri key 2018-09-30 09:23:43 +01:00
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