dependabot[bot]
ea720f90d6
build(deps): bump @fortawesome/free-solid-svg-icons
...
Bumps [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-11 21:23:37 +00:00
dependabot[bot]
e0c8f946c8
build(deps): bump @fortawesome/fontawesome-svg-core
...
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-11 19:53:17 +00:00
dependabot[bot]
023fc9e0c9
build(deps-dev): bump @commitlint/travis-cli from 7.2.0 to 7.2.1 in /ui
...
Bumps [@commitlint/travis-cli](https://github.com/marionebl/commitlint ) from 7.2.0 to 7.2.1.
- [Release notes](https://github.com/marionebl/commitlint/releases )
- [Changelog](https://github.com/marionebl/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/marionebl/commitlint/compare/v7.2.0...v7.2.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-11 18:54:35 +00:00
Łukasz Mierzwa
ba3a572604
feat(ui): add tooltips to silence matcher counters
2018-10-11 12:23:22 +01:00
Łukasz Mierzwa
a0cca7f049
chore(ui): tweak affected alerts preview
2018-10-11 11:50:16 +01:00
Łukasz Mierzwa
96acb5bbfe
fix(ui): fix silence form reset callbacks
...
resetProgress() should only be called *after* form is hidden, doing it before will cause it to re-render with UserInput stage which will trigger autocomplete requests
2018-10-11 10:25:31 +01:00
Łukasz Mierzwa
3fb4feb731
feat(ui): allow passing extra props down to modal transition
2018-10-11 10:24:35 +01:00
dependabot[bot]
39d5775158
build(deps): bump @sentry/browser from 4.1.0 to 4.1.1 in /ui
...
Bumps [@sentry/browser](https://github.com/getsentry/raven-js ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/getsentry/raven-js/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/raven-js/compare/4.1.0...4.1.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-10 22:37:10 +00:00
Łukasz Mierzwa
8d7561cee6
feat(ui): paginate long preview lists
2018-10-10 22:41:05 +01:00
dependabot[bot]
59eb0a3649
build(deps): bump @sentry/browser from 4.0.6 to 4.1.0 in /ui
...
Bumps [@sentry/browser](https://github.com/getsentry/raven-js ) from 4.0.6 to 4.1.0.
- [Release notes](https://github.com/getsentry/raven-js/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/raven-js/compare/4.0.6...4.1.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-10 12:12:27 +00:00
Łukasz Mierzwa
909d5a13b3
fix(ui): don't try to enable scrolling on unmounted modal
...
when we call enableBodyScroll() .modal instance is already gone, which causes crashes on touch enabled devices
2018-10-09 19:44:20 +01:00
dependabot[bot]
b794b55e3d
build(deps): bump @fortawesome/free-regular-svg-icons
...
Bumps [@fortawesome/free-regular-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-09 07:41:48 +00:00
dependabot[bot]
c615f415d6
build(deps): bump @fortawesome/free-solid-svg-icons
...
Bumps [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-09 07:02:45 +00:00
dependabot[bot]
f969f9a0ed
build(deps): bump @fortawesome/fontawesome-svg-core
...
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-09 06:11:36 +00:00
Łukasz Mierzwa
7a9168a606
fix(tests): drop broken test
...
Throwing errors in CI, not very useful, drop it for now
2018-10-08 23:32:50 +01:00
Łukasz Mierzwa
66d9bba680
feat(ui): allow deleting silences (with preview)
2018-10-08 23:15:27 +01:00
Łukasz Mierzwa
01c108fd41
refactor(ui): move label list preview to a dedicated component
...
This will be reused in delete confirmation modal
2018-10-08 23:02:39 +01:00
Łukasz Mierzwa
f03887b56c
feat(api): add @silence_id filter
...
This allows to filter alerts by silence ID, only matches silenced alerts
2018-10-08 23:02:38 +01:00
Łukasz Mierzwa
7adf1bbfd5
refactor(ui): move common modal code to a dedicated component
2018-10-08 21:54:22 +01:00
Łukasz Mierzwa
8bd27f8ff7
feat(ui): add tooltips to clickable components
2018-10-07 13:14:45 +01:00
Łukasz Mierzwa
483bef8729
feat(ui): add a tooltip component
2018-10-07 13:14:45 +01:00
Łukasz Mierzwa
89bcafda3c
fix(ui): reset silenceID to null when creating silence from group
2018-10-07 10:29:11 +01:00
Łukasz Mierzwa
6b08fc88cc
refactor(ui): drop alert count from silence preview
...
This will be confusing since we deduplicate receivers, drop the count and more info
2018-10-06 19:26:35 +01:00
Łukasz Mierzwa
6d44e9bb02
feat(ui): preview affected alerts before submitting silence
2018-10-06 17:04:20 +01:00
Łukasz Mierzwa
cfb56c65ea
refactor(ui): rename SilencePreview to PayloadPreview
2018-10-06 13:42:19 +01:00
Łukasz Mierzwa
8b8a7fb813
feat(ui): silence match preview should use selected Alertmanagers
...
Counter should use selected Alertmanager instances, rather than match all alerts from all instances
2018-10-06 13:34:37 +01:00
Łukasz Mierzwa
57017fa7b9
feat(ui): show number of hits for each matcher in silence form
2018-10-06 12:54:42 +01:00
Łukasz Mierzwa
e6b9041b01
refactor(ui): split silence modal files into submodules
...
Too many files in a single dir
2018-10-06 09:26:08 +01:00
Łukasz Mierzwa
fb5c38b528
fix(ui): set high z-index on react-select dropdown menu
...
It's currently 1 which is the same as buttons on the calendar picker used in the silence form, dropdown needs to have higher value
2018-10-05 22:44:17 +01:00
Łukasz Mierzwa
a20334aa59
chore(ui): add link icon to Alertmanager link in alert menu
2018-10-05 20:21:36 +01:00
dependabot[bot]
c7c8bbb5d6
build(deps-dev): bump @commitlint/travis-cli from 7.1.2 to 7.2.0 in /ui
...
Bumps [@commitlint/travis-cli](https://github.com/marionebl/commitlint ) from 7.1.2 to 7.2.0.
- [Release notes](https://github.com/marionebl/commitlint/releases )
- [Changelog](https://github.com/marionebl/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/marionebl/commitlint/compare/v7.1.2...v7.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-10-05 15:46:18 +00:00
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