Commit Graph

1459 Commits

Author SHA1 Message Date
Ł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
9de7e9a738 Merge pull request #126 from prymitive/silence-preview
feat(ui): preview affected alerts before submitting silence
2018-10-06 17:34:21 +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
4b5efe3373 Merge pull request #125 from prymitive/fix-select-menu
fix(ui): set high z-index on react-select dropdown menu
2018-10-05 23:20:33 +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
b60e2c854f Merge pull request #124 from prymitive/am-link
chore(ui): add link icon to Alertmanager link in alert menu
v0.13
2018-10-05 20:52:43 +01:00
Łukasz Mierzwa
a20334aa59 chore(ui): add link icon to Alertmanager link in alert menu 2018-10-05 20:21:36 +01:00
Łukasz Mierzwa
b83c0bc415 Merge pull request #123 from prymitive/dependabot/npm_and_yarn/ui/@commitlint/travis-cli-7.2.0
build(deps-dev): bump @commitlint/travis-cli from 7.1.2 to 7.2.0 in /ui
2018-10-05 19:38:20 +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
Łukasz Mierzwa
3a29cc6f44 Merge pull request #122 from prymitive/dependabot/npm_and_yarn/ui/enzyme-3.7.0
build(deps-dev): bump enzyme from 3.6.0 to 3.7.0 in /ui
2018-10-05 12:55:42 +01: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
Łukasz Mierzwa
0b22cacf18 Merge pull request #121 from prymitive/dependabot/npm_and_yarn/ui/enzyme-adapter-react-16-1.6.0
build(deps-dev): bump enzyme-adapter-react-16 from 1.5.0 to 1.6.0 in /ui
2018-10-05 12:21:17 +01: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
Łukasz Mierzwa
02a2e15849 Merge pull request #120 from prymitive/dependabot/npm_and_yarn/ui/body-scroll-lock-2.5.10
build(deps): bump body-scroll-lock from 2.5.8 to 2.5.10 in /ui
2018-10-05 11:43:45 +01: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
f7130e79f2 Merge pull request #119 from prymitive/fetch
fix(ui): polyfill fetch()
2018-10-05 11:09:30 +01: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
833336288c Merge pull request #112 from prymitive/babel-polyfill-2
fix(ui): add polyfill for es2015+ features for older browsers
2018-10-04 20:57:55 +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
0bab532c33 Merge pull request #118 from prymitive/modal-animation
chore(ui): better modal animation, based on bootstrap code
2018-10-04 20:11:06 +01:00
Łukasz Mierzwa
66588d10d3 chore(ui): better modal animation, based on bootstrap code 2018-10-04 19:39:29 +01:00
Łukasz Mierzwa
8ec0bea3b0 Merge pull request #117 from prymitive/dependabot/npm_and_yarn/ui/react-resize-detector-3.1.3
build(deps): bump react-resize-detector from 3.1.2 to 3.1.3 in /ui
2018-10-04 19:39:10 +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
Łukasz Mierzwa
df6da7d000 Merge pull request #116 from prymitive/dependabot/npm_and_yarn/ui/react-scripts-2.0.4
build(deps): bump react-scripts from 2.0.3 to 2.0.4 in /ui
2018-10-04 18:58:22 +01: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
Łukasz Mierzwa
02319e816b Merge pull request #108 from prymitive/dependabot/npm_and_yarn/ui/body-scroll-lock-2.5.8
build(deps): bump body-scroll-lock from 2.5.7 to 2.5.8 in /ui
2018-10-04 15:18:30 +01: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
167894984d Merge pull request #114 from prymitive/dependabot/npm_and_yarn/ui/react-select-2.1.0
build(deps): bump react-select from 2.0.0 to 2.1.0 in /ui
2018-10-03 19:05:27 +01: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
ae8e29b3b1 Merge pull request #113 from prymitive/dependabot/dep/github.com/spf13/pflag-1.0.3
build(deps): bump github.com/spf13/pflag from 1.0.2 to 1.0.3
2018-10-03 17:55:56 +01:00
dependabot[bot]
c5666fd241 build(deps): bump github.com/spf13/pflag from 1.0.2 to 1.0.3
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](https://github.com/spf13/pflag/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-03 16:13:33 +00:00
Łukasz Mierzwa
5d1d2e56d6 Merge pull request #111 from prymitive/cra2
chore(ui): upgrade to react-scripts 2.0
2018-10-03 11:51:49 +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
9e88f3bc0f fix(ci): restore nvmrc, we still need to manage nodejs versions 2018-10-03 10:56:25 +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
01805cacc5 Merge pull request #110 from prymitive/cleanups
chore(api): use Go 1.11.1 on Travis CI
2018-10-03 09:15:48 +01:00
Łukasz Mierzwa
ddd9a5b517 chore(yarn): add a yarnrc to enforce add --exact 2018-10-03 08:48:33 +01:00
Łukasz Mierzwa
0bcc8d3ce8 chore(deps): not using greenkeeper anymore 2018-10-02 23:35:26 +01:00
Łukasz Mierzwa
1b76072e05 chore(api): use Go 1.11.1 on Travis CI 2018-10-02 23:34:34 +01:00
Łukasz Mierzwa
4bcb44a9d7 chore(docs): drop greenkeeper badge 2018-10-02 23:34:01 +01:00