Commit Graph

70 Commits

Author SHA1 Message Date
Łukasz Mierzwa
4779f25206 fix(ui): tweak navbar css to better align elements 2019-12-26 21:34:40 +00:00
Łukasz Mierzwa
1a24c253e7 fix(ui): set navbar button class on the right element 2019-12-26 19:53:59 +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
36063f51d6 fix(ui): make warnings on the Help page more readable 2019-11-30 11:39:46 +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
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
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
ae86f9f10c fix(ui): migrate to @silence_ticket filters 2019-11-11 23:24:06 +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
a9a9efdc4d fix(ui): smaller padding for modal tabs 2019-10-27 07:38:55 +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
16cb976e81 fix(ci): update snapshots after font-awesome upgrade 2019-10-10 16:08:22 +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
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
8a6244d8e8 fix(ui): set lower minimum height for Percy snapshots 2019-09-18 13:27:40 +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
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
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
312b718b7a feat(ui): close modal window when user hits the Escape key
Fixes #842
2019-07-31 19:56:57 +01:00
Łukasz Mierzwa
8439a56cc9 chore(ui): update snapshots after package-lock upgrades 2019-07-14 23:04:27 +01:00
Łukasz Mierzwa
0b7386f777 chore(ui): show navbar button indicator on hover 2019-07-10 22:39:17 +01:00
Łukasz Mierzwa
d9c04616bf feat(ui): add indicators on open modal buttons 2019-07-09 23:03:01 +01:00
Łukasz Mierzwa
92a7c8c847 fix(ui): migrate to react-select v3 2019-05-27 16:50:30 +01:00
Łukasz Mierzwa
eb1181cd70 feat(ui): lazy load modals
This uses React code splitting to only load modal content components if they are used - all modal components will be loaded the first time user open a modal, rather than on initial page load
2019-05-11 18:38:54 +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
f03887b56c feat(api): add @silence_id filter
This allows to filter alerts by silence ID, only matches silenced alerts
2018-10-08 23:02:38 +01:00
Łukasz Mierzwa
7adf1bbfd5 refactor(ui): move common modal code to a dedicated component 2018-10-08 21:54:22 +01:00
Łukasz Mierzwa
8bd27f8ff7 feat(ui): add tooltips to clickable components 2018-10-07 13:14:45 +01:00
Łukasz Mierzwa
66588d10d3 chore(ui): better modal animation, based on bootstrap code 2018-10-04 19:39:29 +01:00
Łukasz Mierzwa
7243cfc149 fix(ui): don't use a for elements without href 2018-10-03 11:14:45 +01:00