Commit Graph

405 Commits

Author SHA1 Message Date
dependabot[bot]
45fcea6713 build(deps): bump mobx-react from 5.3.1 to 5.3.2 in /ui
Bumps [mobx-react](https://github.com/mobxjs/mobx-react) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/mobxjs/mobx-react/releases)
- [Changelog](https://github.com/mobxjs/mobx-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mobxjs/mobx-react/compare/5.3.1...5.3.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-18 16:38:02 +00:00
dependabot[bot]
4f31a40131 build(deps): bump mobx from 5.5.0 to 5.5.1 in /ui
Bumps [mobx](https://github.com/mobxjs/mobx) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/mobxjs/mobx/releases)
- [Changelog](https://github.com/mobxjs/mobx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mobxjs/mobx/compare/5.5.0...5.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-18 15:30:47 +00:00
dependabot[bot]
eb82d853ce build(deps): bump react-moment from 0.8.1 to 0.8.2 in /ui
Bumps [react-moment](https://github.com/headzoo/react-moment) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/headzoo/react-moment/releases)
- [Commits](https://github.com/headzoo/react-moment/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-18 14:21:48 +00:00
dependabot[bot]
91a0febeec build(deps): bump react-datepicker from 1.6.0 to 1.7.0 in /ui
Bumps [react-datepicker](https://github.com/Hacker0x01/react-datepicker) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](https://github.com/Hacker0x01/react-datepicker/compare/v1.6.0...v1.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-17 10:36:31 +00:00
Łukasz Mierzwa
a85f3810aa fix(ui): move ul to a dedicated div to prevent bottom border
The way list-group-flush is styled any extra element on the ul level seems to be causing top/bottom borders to show up, move it under a dedicated div to prevent that from happening, with list-group-flush we want borders only between label set elements
2018-10-16 18:43:16 +01:00
dependabot[bot]
76c9c8d0e5 build(deps): bump mobx-react from 5.2.8 to 5.3.1 in /ui
Bumps [mobx-react](https://github.com/mobxjs/mobx-react) from 5.2.8 to 5.3.1.
- [Release notes](https://github.com/mobxjs/mobx-react/releases)
- [Changelog](https://github.com/mobxjs/mobx-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mobxjs/mobx-react/compare/5.2.8...5.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-16 09:42:16 +00:00
Łukasz Mierzwa
cd29ae431e refactor(ui): use flex instead of float in alert group header 2018-10-15 19:05:49 +01:00
Łukasz Mierzwa
8bc2c83de3 refactor(ui): change label style to make the value more visible
Fixes #18
2018-10-15 19:05:49 +01:00
dependabot[bot]
8682c1ea03 build(deps-dev): bump node-sass from 4.9.3 to 4.9.4 in /ui
Bumps [node-sass](https://github.com/sass/node-sass) from 4.9.3 to 4.9.4.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.9.3...v4.9.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-15 08:00:59 +00:00
dependabot[bot]
5764136a18 build(deps): bump react-scripts from 2.0.4 to 2.0.5 in /ui
Bumps [react-scripts](https://github.com/facebook/create-react-app) from 2.0.4 to 2.0.5.
- [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.4...v2.0.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-14 19:11:05 +00:00
Łukasz Mierzwa
bbd9edab26 refactor(ui): speed up updates with large number of alerts
Comparing group dicts with large number of alerts is expensive, doing it per group and using hash checks will speed up updates, especially when alerts don't change often
2018-10-14 12:09:38 +01:00
dependabot[bot]
2cedb13a52 build(deps): bump @fortawesome/free-regular-svg-icons
Bumps [@fortawesome/free-regular-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 22:00:18 +00:00
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