Łukasz Mierzwa
e58cdc7d68
fix(ui): import only needed functions from semver
2019-12-18 10:18:29 +00:00
Łukasz Mierzwa
e7d6edc163
chore(ui): change default label color to gray
...
Orange color isn't very readable and stands out on the page, use
more neutral and more readable gray
2019-12-16 21:42:17 +00:00
Łukasz Mierzwa
ccc44b042a
feat(storybook): add more stories
2019-12-12 22:25:39 +00:00
Łukasz Mierzwa
10ec1a84fc
fix(ui): left side of a select needs radius
2019-11-29 22:04:58 +00:00
Łukasz Mierzwa
a7b409e661
fix(ui): reduce bundle size
2019-11-29 15:58:16 +00:00
Łukasz Mierzwa
e95f9bd0b5
fix(storybook): add missing fetch mocks
2019-11-28 12:31:07 +00:00
Łukasz Mierzwa
f9633b49ea
feat(storybook): render both themes in storybook
2019-11-27 12:18:13 +00:00
Łukasz Mierzwa
de43f1ac4a
feat(ui): theme switching
...
This add "proper" dark mode using darkly bootstrap theme
2019-11-27 12:18:13 +00:00
Łukasz Mierzwa
f3e2ed2b00
feat(storybook): add more stories to storybook
2019-11-26 23:36:07 +00:00
Łukasz Mierzwa
aab5b29eb6
fix(ui): avoid duplicating bootstrap styles
...
bootstrap css gets injected multiple time due to how imports are structured, only import variables in component scss
2019-11-21 22:28:26 +00:00
Łukasz Mierzwa
9005d44503
fix(ui): fix css classes used by pagination
2019-11-19 17:12:44 +00:00
Łukasz Mierzwa
94b91c3a47
fix(ui): revert use mode:no-cors for fetch GET requests
...
responses for mode:no-cors requests have no body, which we need
2019-11-14 19:46:21 +00:00
Łukasz Mierzwa
159bcc4e8a
fix(ui): use mode:no-cors for fetch GET requests
...
This should play better with auth middlewares that uses redirects since CORS will no longer break the redirect chain
2019-11-14 16:25:17 +00:00
Łukasz Mierzwa
09f31e172b
fix(ui): follow redirects when fetching alerts from the UI
2019-11-14 13:20:45 +00:00
Łukasz Mierzwa
da66604864
fix(ui): reformat js code
2019-11-09 14:57:50 +00:00
Łukasz Mierzwa
034206eaf8
chore(storybook): use bigger alert counters for silences"
2019-10-30 17:25:12 +00:00
Łukasz Mierzwa
96822e7f66
feat(ui): show matched alert count on silence browser
2019-10-30 17:25:11 +00:00
Łukasz Mierzwa
acae2cb2a5
chore(ui): remove all usage of Provider component
2019-10-30 13:44:18 +00:00
Łukasz Mierzwa
a5255d5d16
chore(ui): use pure css instead of react-truncate
2019-10-27 15:27:04 +00:00
Łukasz Mierzwa
037370a387
chore(ci): mock counters in storybook
2019-10-27 13:49:32 +00:00
Łukasz Mierzwa
50177e75dc
fix(ui): ensure that pagination doesn't set active page to 0
2019-10-27 11:29:55 +00:00
Łukasz Mierzwa
1fbb5120e6
fix(ui): reset pagination if needed
2019-10-27 09:40:23 +00:00
Łukasz Mierzwa
40eedc8156
fix(ui): silence browser controls should switch from row to columns on small screen
2019-10-27 08:03:53 +00:00
Łukasz Mierzwa
392e39e621
fix(ui): don't allow overflow on silence details
2019-10-27 07:51:20 +00:00
Łukasz Mierzwa
5490cb39bb
fix(tests): only debounce user generated requests
2019-10-27 07:35:04 +00:00
Łukasz Mierzwa
166dd6e727
feat(ci): mock silence fetches in storybook
2019-10-27 07:35:04 +00:00
Łukasz Mierzwa
1fe5ced71c
fix(ui): workaround multiple modals conflicting with each other
2019-10-27 07:35:04 +00:00
Łukasz Mierzwa
9e8a30aa22
chore(ui): better pagination handling for large lists
2019-10-27 07:35:04 +00:00
Łukasz Mierzwa
c0f4e4aabb
fix(ui): center text in silence submit result view
2019-10-27 07:35:04 +00:00
Łukasz Mierzwa
6dc2ea985b
feat(ui): paginate silence list
2019-10-27 07:35:04 +00:00
Łukasz Mierzwa
87efb25cd8
feat(ui): add UI for managing all silences
...
This change adds a new view mode in the silence modal that allows to browse and edit any silence found in alertmanager upstream.
Fixes #625
2019-10-26 17:36:12 +01:00
Łukasz Mierzwa
072d700b43
fix(ci): expand silence payload preview on storybook
2019-10-12 10:50:54 +01:00
Łukasz Mierzwa
4554bb2371
feat(ui): show a spinner when alerts are being fetched on the silence preview
2019-10-11 23:39:03 +01:00
Łukasz Mierzwa
2e1e41ff15
fix(ui): tweak css for silence submit errors
2019-10-11 19:21:17 +01:00
Łukasz Mierzwa
1346237777
fix(project): refactor proxy & external_uri handling
...
Fixes #1024
2019-10-11 00:10:58 +01:00
Łukasz Mierzwa
16cb976e81
fix(ci): update snapshots after font-awesome upgrade
2019-10-10 16:08:22 +01:00
Łukasz Mierzwa
2b86aaaedb
chore(tests): update snapshots after font-awesome upgrade
2019-09-29 15:37:05 +01:00
Łukasz Mierzwa
80c30f1879
fix(ui): pass configured alertmanager headers when making requests from the browser
...
Right now configured headers are only set on requests made from the backend to alertmanager API.
With this change fetch() calls in the browser will use those headers if proxy mode is not enabled.
2019-09-26 20:37:23 +01:00
Łukasz Mierzwa
8a6244d8e8
fix(ui): set lower minimum height for Percy snapshots
2019-09-18 13:27:40 +01:00
Łukasz Mierzwa
465373ab2d
fix(ci): force default font for percy
2019-09-13 12:35:11 +01:00
Łukasz Mierzwa
f8b233ae33
feat(ui): more storybooks
2019-09-10 10:25:43 +01:00
Łukasz Mierzwa
6e39196d40
feat(ci): use percy for visual testing
2019-09-09 21:21:12 +01:00
Łukasz Mierzwa
9b00153863
chore(tests): update snapshots after react-datepicker upgrade
2019-09-08 21:34:47 +01:00
Łukasz Mierzwa
0c002e5ce4
fix(tests): update tests for react-datepicker 2.9.3
2019-08-31 00:09:20 +01:00
Łukasz Mierzwa
5856a8421f
chore(tests): add snapshot tests for datetime picker
2019-08-29 16:34:34 +01:00
Łukasz Mierzwa
e166d10b23
chore(tests): update snapshots after dependency upgrade
2019-08-18 14:38:36 +01:00
Łukasz Mierzwa
845f3407d4
fix(ui): reformat ui code with prettier
2019-08-17 12:21:18 +01:00
Łukasz Mierzwa
a3be6e9a7f
fix(ui): cleanup scss variable imports
...
All scss imports needs to use App.scss, otherwise some overrides won't be present, like font swap Lato -> Open Sans
2019-08-03 18:29:27 +01:00
Łukasz Mierzwa
312b718b7a
feat(ui): close modal window when user hits the Escape key
...
Fixes #842
2019-07-31 19:56:57 +01:00
Łukasz Mierzwa
b78c47cb93
fix(ui): don't crash when removing last matcher value
...
Removing last value sets the value that's expected to be a list to null, which breaks some logic, ensure we always have a list there
Fixes #827
2019-07-14 22:15:57 +01:00