Commit Graph

27 Commits

Author SHA1 Message Date
Ł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
Łukasz Mierzwa
78e2108164 feat(ui): allow configuring default number of alerts to display per group 2018-07-20 18:44:51 +02:00
Łukasz Mierzwa
0f2ebbcbc7 refactor(ui): split settings into dedicated classes 2018-07-20 11:30:40 +02:00
Łukasz Mierzwa
3aa1d868c8 feat(ui): configurable refresh interval 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
fe621443b7 feat(ui): add tabs to the modal 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
c3fbb1a6e8 feat(ui): modal window with filters help 2018-07-19 23:38:11 +02:00