Commit Graph

504 Commits

Author SHA1 Message Date
Łukasz Mierzwa
96cd8a856b chore(ui): replace Silence usage with ManagedSilence 2019-10-26 17:36:31 +01: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
1266458505 chore(ui): change alert background on hover 2019-10-22 22:40:22 +01:00
Łukasz Mierzwa
93f9add875 chore(ci): move upstream error storybook to the AlertGrid view 2019-10-16 10:34:23 +01:00
Łukasz Mierzwa
540d6c4264 chore(ui): fade grid placeholder on first render 2019-10-14 21:33:26 +01:00
Łukasz Mierzwa
1606948c33 fix(ui): use consistent margin on filter elements 2019-10-14 21:10:45 +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
87754cebf2 chore(ui): reduce padding for the filter input 2019-10-10 09:21:25 +01:00
Łukasz Mierzwa
48b906b887 chore(ui): use mug-hot icon for empty grid 2019-10-08 21:24:41 +01:00
Łukasz Mierzwa
64aa544be1 chore(ui): tweak filter input css 2019-10-08 21:19:54 +01:00
Łukasz Mierzwa
903752a5ed fix(ui): align labels in the overview modal
Moves the left column labels to the top, since the right side will have progress bars
at the bottom which makes them taller
2019-10-08 09:47:08 +01:00
Łukasz Mierzwa
010449c2b3 feat(ui): show an icon when the grid is empty
Makes it clear that there are no alerts, especially with hidden navbar
2019-10-07 23:26:03 +01:00
Łukasz Mierzwa
93aacb6ab6 feat(ui): add a border around bright labels 2019-10-07 21:17:21 +01:00
Łukasz Mierzwa
b1bc331711 feat(ui): change the background of filter input on hover 2019-10-07 19:46:18 +01:00
Łukasz Mierzwa
8384cbd27c fix(ui): better display of warnings in the help tab 2019-10-07 19:18:18 +01:00
Łukasz Mierzwa
49325fcca5 fix(tests): always use UTC timestamps in UI tests 2019-10-05 11:31:18 +01:00
Łukasz Mierzwa
68b3793ef3 fix(ui): add a test for react-moment 2019-10-05 11:16:47 +01:00
Łukasz Mierzwa
1038b63b25 fix(ui): allow overflow for dropdowns inside accordion 2019-10-03 11:58:51 +01:00
Łukasz Mierzwa
ff7d83c211 fix(ui): reset grid size on settings change 2019-10-02 21:15:23 +01:00
Łukasz Mierzwa
9b78c96e1e fix(ui): better handling of window resize events 2019-10-02 19:32: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
456cbf0904 fix(ui): prevent grid resize loops
Fixes #721
2019-09-23 22:40:52 +01:00
Łukasz Mierzwa
c24ebe1124 fix(tests): update snapshots after font-awesome bump 2019-09-19 14:00:32 +01:00
Łukasz Mierzwa
8a6244d8e8 fix(ui): set lower minimum height for Percy snapshots 2019-09-18 13:27:40 +01:00
Łukasz Mierzwa
77ea39afcc chore(ui): pass upgrade screen reload timer as props
Makes it easier to test
2019-09-18 12:12:19 +01:00
Łukasz Mierzwa
cacc954b92 fix(ui): allow sort label dropdown to overflow accordian container 2019-09-17 21:29:11 +01:00
Łukasz Mierzwa
4f3a0c2e63 feat(ui): use accordion layout for main modal 2019-09-16 21:35:39 +01:00
Łukasz Mierzwa
2444e9a66a feat(ui): add Accordion component 2019-09-16 21:35:39 +01:00
Łukasz Mierzwa
465373ab2d fix(ci): force default font for percy 2019-09-13 12:35:11 +01:00
Łukasz Mierzwa
6200328afc chore(ci): set different alert start for storybook snapshots 2019-09-10 18:35:31 +01:00
Łukasz Mierzwa
f16676f283 fix(ui): revert style changes for upgrade screen
It's more noisy with the background
2019-09-10 12:07:54 +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
c0b00fbdd1 feat(tests): add storybook for visual testing of components 2019-09-09 21:21:12 +01:00
Łukasz Mierzwa
f781af3165 fix(ui): improve readability of error / upgrade messages 2019-09-09 20:33:35 +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
548623fef4 chore(ui): flash counter badge on value change 2019-08-17 11:03:40 +01:00
Łukasz Mierzwa
a36fd55627 fix(ui): generate correct group URL
current filters got appended to the group url, fix it by stripping query args away
2019-08-14 19:18:12 +01:00
Łukasz Mierzwa
3f89c54d68 fix(ui): ensure that progress bar height is always enforced 2019-08-09 18:51:39 +01:00
Łukasz Mierzwa
1b3c15a8eb fix(tests): add missing test coverage 2019-08-08 15:45:01 +01:00
Łukasz Mierzwa
548be9e861 feat(ui): pass sort parameters when fetching alerts 2019-08-08 15:45:01 +01:00