Commit Graph

55 Commits

Author SHA1 Message Date
Ł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
Łukasz Mierzwa
4e3635bc98 fix(tests): reset mocks between tests
Ensures that tests don't rely on previous tests mocking things
2018-10-03 10:16:31 +01:00
Łukasz Mierzwa
e3c43453ea chore(ui): use react-scripts 2.0 support for sass 2018-10-03 09:34:39 +01:00
Łukasz Mierzwa
1b4f611406 feat(ui): animate modals 2018-09-22 15:20:40 +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
23071282e4 fix(ui): add body-scroll-lock to prevent body scrolling when modal is open on touch devices 2018-09-04 23:42:49 +01:00
Łukasz Mierzwa
1860394743 feat(tests): add missing tests for main modal 2018-08-27 15:19:36 +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
bd99ef8b51 feat(tests): add test coverage for the main modal 2018-08-23 14:32:23 +01:00
Łukasz Mierzwa
3e47879744 refactor(ui): render main modal window under document.body via a portal 2018-08-16 19:31:41 +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
1a9d13f6a5 fix(ui): fix navbar layout after bootstrap 4.1.3 upgrade
Bootstrap 4.1.3 introduced some changes that caused issues with browser rendering of the input bar, drop autosize component as it's not needed and add classes to ensure that we order elements correctly and that the input can grow correctly if needed
2018-07-28 18:58:48 +02:00
Łukasz Mierzwa
bc3bc4f930 feat(ui): show version information in the settings modal 2018-07-24 18:02:19 +02:00
Łukasz Mierzwa
6a23edf579 fix(ui): use correct paths for imports 2018-07-24 10:32:30 +02:00