415 Commits

Author SHA1 Message Date
Łukasz Mierzwa
a1b4423d22 fix(tests): use partial matching when testing raven parameters
.toHaveBeenCalledWith({}) uses strict equality test, entired passed object must match, we only care about dsn and release arguments so only fail if those are missing or mismatched
2018-10-24 20:22:42 +01:00
dependabot[bot]
b0a4b63432 build(deps): bump @sentry/browser from 4.1.1 to 4.2.1 in /ui
Bumps [@sentry/browser](https://github.com/getsentry/raven-js) from 4.1.1 to 4.2.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.1...4.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-24 19:13:19 +00:00
Łukasz Mierzwa
fa6f4b270a chore(ui): update snapshots for react-select 2.1.1 2018-10-24 18:05:14 +01:00
dependabot[bot]
afba7eae8e build(deps): bump react-select from 2.1.0 to 2.1.1 in /ui
Bumps [react-select](https://github.com/JedWatson/react-select) from 2.1.0 to 2.1.1.
- [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-24 18:05:14 +01:00
dependabot[bot]
7e2446d0a1 build(deps): bump react-dom from 16.5.2 to 16.6.0 in /ui
Bumps [react-dom](https://github.com/facebook/react) from 16.5.2 to 16.6.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/compare/v16.5.2...v16.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-24 06:10:45 +00:00
dependabot[bot]
e931241e2f build(deps): bump react from 16.5.2 to 16.6.0 in /ui
Bumps [react](https://github.com/facebook/react) from 16.5.2 to 16.6.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/compare/v16.5.2...v16.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 23:47:31 +00:00
dependabot[bot]
9840fb07c6 build(deps): bump mobx from 5.5.1 to 5.5.2 in /ui
Bumps [mobx](https://github.com/mobxjs/mobx) from 5.5.1 to 5.5.2.
- [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.1...5.5.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 09:58:46 +00:00
dependabot[bot]
d29ab4bd5d build(deps): bump mobx-react from 5.3.4 to 5.3.5 in /ui
Bumps [mobx-react](https://github.com/mobxjs/mobx-react) from 5.3.4 to 5.3.5.
- [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.4...5.3.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 09:21:17 +00:00
dependabot[bot]
56dfc0dbdc build(deps): bump mobx-react from 5.3.3 to 5.3.4 in /ui
Bumps [mobx-react](https://github.com/mobxjs/mobx-react) from 5.3.3 to 5.3.4.
- [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.3...5.3.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-19 15:03:35 +00:00
dependabot[bot]
6016531453 build(deps): bump mobx-react from 5.3.2 to 5.3.3 in /ui
Bumps [mobx-react](https://github.com/mobxjs/mobx-react) from 5.3.2 to 5.3.3.
- [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.2...5.3.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-19 09:07:52 +00:00
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