Commit Graph
42 Commits
Author SHA1 Message Date
Łukasz Mierzwa 3d4f9251df fix(ui): ensure that all dropdowns are not hidden under swimlanes 2021-08-19 18:24:49 +01:00
Łukasz Mierzwa 9e28da96d1 chore(ui): migrate styles to bootstrap v5 2021-05-18 21:28:28 +01:00
Łukasz Mierzwa 19345cc53a feat(ui): add support for alertmanager v0.22.0 2021-05-15 11:41:01 +01:00
Łukasz Mierzwa b47089cbe8 fix(ui): resolve popper warnings 2021-05-03 19:29:05 +01:00
Łukasz Mierzwa 7638d655a7 fix(ui): fix typescript warnings 2021-04-07 14:17:48 +01:00
Łukasz Mierzwa f68399cc70 feat(ui): allow moving annotations to alert dropdown menu
Fixes #2596
2021-03-06 16:01:50 +00:00
Łukasz Mierzwa fd1922a9e0 fix(ui): re-enable some typscript eslint rules and fix code 2020-07-21 21:46:42 +01:00
Łukasz Mierzwa aa022796b4 fix(ui): resolve eslint reported issues 2020-07-21 17:58:08 +01:00
Łukasz Mierzwa fcc795b7c9 chore(tests): migrate jest tests to typescript 2020-07-21 17:58:08 +01:00
Łukasz Mierzwa e55988588c chore(ui): migrate more components to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa 4a16661558 chore(ui): migrate more components to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa 4d4dd111c1 chore(ui): migrate more code to typescript 2020-07-17 11:58:41 +01:00
Łukasz Mierzwa 82dce0d676 chore(ui): tweak animations 2020-07-14 08:27:38 +01:00
Łukasz Mierzwa b1cf816e24 feat(ui): show modal with list of inhibiting alerts 2020-06-30 23:53:56 +01:00
Łukasz Mierzwa 3ef13a00c0 chore(ui): use @cluster label instead of @alertmanager 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa ca25eb9fbe fix(ui): add custom label for unmatched values in Creatable select 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa cb68a23b90 fix(ui): remove deprecated FetchPost 2020-06-08 17:16:01 +01:00
Łukasz Mierzwa f26329c2c5 fix(ui): refactor fetch tests 2020-06-01 18:59:29 +01:00
Łukasz Mierzwa 6b5b53d51d fix(ui): drop object-hash 2020-05-30 18:12:54 +01:00
Łukasz Mierzwa d860dae3ca fix(ui): reduce webpack bundle size by splitting lodash imports 2020-05-18 17:38:13 +01:00
Łukasz Mierzwa 0f3dabb517 fix(tests): use fetch-mock instead of jest-fetch-mock 2020-05-12 18:01:47 +01:00
Łukasz Mierzwa 60bdf96be1 feat(ui): use hooks for fetch requests 2020-05-11 12:49:24 +01:00
Ł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