Commit Graph

43 Commits

Author SHA1 Message Date
Łukasz Mierzwa
0fce699894 fix(ui): rewrite most configuration UI with hooks 2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
5bb3b92a70 feat(ui): animate toggle icon on changes 2020-04-22 11:12:55 +01:00
Łukasz Mierzwa
fd08799a42 fix(ui): ensure that react-select input gets correct color 2020-04-01 21:03:38 +01:00
Łukasz Mierzwa
8f7ef4081b fix(ui): more descriptive multi-grid title 2020-03-31 11:12:42 +01:00
Łukasz Mierzwa
2cd96abef7 feat(ui): add configuration UI for enabling multi-grid 2020-03-31 09:16:55 +01:00
Łukasz Mierzwa
c12f218b4e fix(ui): reformat code using prettier v2 2020-03-25 21:43:39 +00:00
Łukasz Mierzwa
8795f1d132 fix(tests): update snapshots 2020-03-25 15:43:29 +00:00
Łukasz Mierzwa
cdd74396e8 fix(tests): correctly fail mock requests 2019-12-20 21:57:52 +00:00
Łukasz Mierzwa
a17be5bc38 fix(ui): rename auto value label 2019-11-30 14:37:57 +00:00
Łukasz Mierzwa
10ec1a84fc fix(ui): left side of a select needs radius 2019-11-29 22:04:58 +00:00
Łukasz Mierzwa
cc4da6d16b feat(ui): follow browser preferences when setting theme 2019-11-29 22:00:41 +00:00
Łukasz Mierzwa
a7b409e661 fix(ui): reduce bundle size 2019-11-29 15:58:16 +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
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
794607919a feat(ui): experimental dark theme
Very ugly, might be buggy, but need to start somewhere
2019-10-28 18:38:12 +00:00
Łukasz Mierzwa
a5255d5d16 chore(ui): use pure css instead of react-truncate 2019-10-27 15:27:04 +00:00
Łukasz Mierzwa
16cb976e81 fix(ci): update snapshots after font-awesome upgrade 2019-10-10 16:08:22 +01:00
Łukasz Mierzwa
1038b63b25 fix(ui): allow overflow for dropdowns inside accordion 2019-10-03 11:58:51 +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
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
e166d10b23 chore(tests): update snapshots after dependency upgrade 2019-08-18 14:38:36 +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
716644494f chore(ui): upgrade all 3rd party dependencies 2019-08-01 21:43:55 +01:00
Łukasz Mierzwa
8439a56cc9 chore(ui): update snapshots after package-lock upgrades 2019-07-14 23:04:27 +01:00
Łukasz Mierzwa
92a7c8c847 fix(ui): migrate to react-select v3 2019-05-27 16:50:30 +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
Renovate Bot
abd85362a5 fix(deps): update dependency react-select to v2.4.3 2019-04-17 10:21:03 +01:00
Łukasz Mierzwa
b1c89858e8 feat(ui): allow configuring grid size 2019-04-14 23:05:11 +01:00
Łukasz Mierzwa
2509704190 feat(ui): allow configuring default collapse state for alert groups 2019-04-03 14:56:59 -07:00
Łukasz Mierzwa
3974315ccc feat(ui): add UI toggle for changing autohide settings
This adds a checkbox in the settings form to control if navbar autohide is on or off

Fixes #530
2019-03-15 14:57:27 +00:00
Łukasz Mierzwa
3bd6ebbf3a feat(ui): use grid sorting settings from the API as defaults 2019-02-20 22:24:54 +00:00
Łukasz Mierzwa
da6368288a feat(ui): allow sorting alert grid
This adds the ability for user to sort the grid of alerts via selected attribute.
UI configuration is provided to setup if timestamps or labels should be used to sort alerts.
2019-02-15 17:23:37 +00:00
Łukasz Mierzwa
e3c43453ea chore(ui): use react-scripts 2.0 support for sass 2018-10-03 09:34:39 +01:00
Łukasz Mierzwa
4d64b0b3ea chore(tests): drop console mock, fix all tests that throw console errors 2018-09-08 21:11:15 +01:00
Łukasz Mierzwa
096b3985a4 chore(tests): migrate tests to enzyme 2018-09-06 22:37:05 +01:00
Łukasz Mierzwa
464e92e76d refactor(tests): switch to enzyme
enzyme does everything skin-deep does and more, should cover more use cases
2018-08-23 20:52:39 +01:00
Łukasz Mierzwa
39f0fd3708 feat(tests): more test coverage for the main modal 2018-08-23 15:12:59 +01:00
Łukasz Mierzwa
6a23edf579 fix(ui): use correct paths for imports 2018-07-24 10:32:30 +02:00
Łukasz Mierzwa
78e2108164 feat(ui): allow configuring default number of alerts to display per group 2018-07-20 18:44:51 +02:00