Łukasz Mierzwa
c12f218b4e
fix(ui): reformat code using prettier v2
2020-03-25 21:43:39 +00:00
Łukasz Mierzwa
564f3c402d
chore(ui): refactor fetch retry config and tests
2019-12-28 18:23:51 +00:00
Łukasz Mierzwa
0804aa475b
feat(ui): change fetch indicator color to red when requests are failing
2019-12-25 15:41:26 +00:00
Łukasz Mierzwa
54550bacf9
feat(ui): try to detect if API requests are intercepted by an auth proxy
2019-12-21 18:34:23 +00:00
Łukasz Mierzwa
77e23e295c
fix(ui): retry all fetch GET calls
2019-12-20 20:25:59 +00:00
Łukasz Mierzwa
d978a0f783
fix(tests): update tests to match jest-fetch-mock-3.x behaviour
2019-12-18 11:34:25 +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
a7b409e661
fix(ui): reduce bundle size
2019-11-29 15:58:16 +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
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
655f244f1b
refactor(ui): use button instead of a badge for filter elements
2019-04-30 14:08:36 +01:00
Łukasz Mierzwa
ebde58a281
feat(ui): add colored second display style for titlebar
...
This enables second mode for titlebar styling - enabling it will cause the background to be set to the same color as the alerts, but only if all alerts in a group are in the same state.
2019-04-19 21:09:37 +01:00
Łukasz Mierzwa
e2be71d458
feat(ui): collapse alert groups on mobile by default
2019-04-01 21:00:51 -07:00
Łukasz Mierzwa
1093b38164
feat(ui): use not-equal operator when user alt+clicks on a label
...
When user clicks on a label we apply a foo=bar filter, this change allows to add a foo!=bar filter by holding Alt key when clicking.
Fixes #485
2019-03-01 19:44:08 +00:00
Łukasz Mierzwa
6b4fce05e5
refactor(ui): cleanup label color/style selection
...
Merge into a single function since both className & style are tied together and as such are better of if selected using a single logic. Fixes some minor UI glitches like ellipsis color on truncated labels with custom color
2018-10-26 19:13:37 +01:00
Łukasz Mierzwa
66d9bba680
feat(ui): allow deleting silences (with preview)
2018-10-08 23:15:27 +01:00
Łukasz Mierzwa
18344959d7
feat(ui): allow silencing alerts
...
This adds a modal dialog for silencing alerts
2018-08-10 17:38:27 +01:00
Łukasz Mierzwa
a4a20ea3ef
feat(ui): new UI written in React
2018-07-19 23:38:11 +02:00