Commit Graph

64 Commits

Author SHA1 Message Date
Łukasz Mierzwa
519aab584b feat(ui): add more test coverage for AlertStore 2018-08-20 20:48:32 +01:00
Łukasz Mierzwa
dcc2f0c607 fix(ui): check for duplicated values in AlertStore.filters.replaceFilter 2018-08-20 20:48:32 +01:00
Łukasz Mierzwa
d7512d5ef3 feat(ui): add more tests for AlertStore 2018-08-20 17:10:59 +01:00
Łukasz Mierzwa
4c41d37c21 fix(ui): fix empty string handling in search param parsing code, make it more testable 2018-08-20 17:10:59 +01:00
Łukasz Mierzwa
da945dbe52 fix(ui): tweak css clases so collapsed alert group doesn't have smaller bottom margin 2018-08-17 17:16:41 +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
4427e77684 feat(ui): better autocomplete settings on silence form 2018-08-16 18:02:02 +01:00
Łukasz Mierzwa
a010dba7d0 refactor(ui): tweak style of the back button on silence form 2018-08-16 17:50:59 +01:00
Łukasz Mierzwa
b2dccf5021 fix(ui): fix missing observer decorator on silence modal 2018-08-16 17:46:56 +01:00
Łukasz Mierzwa
48f2c065ab chore(ui): delete left over logo from create-react-app 2018-08-15 22:10:49 +01:00
Łukasz Mierzwa
2eceda44b6 fix(ui): try to fix silence duration layout on small screens 2018-08-15 20:47:34 +01:00
Łukasz Mierzwa
b71612b9a9 feat(ui): add badges with start/end/duration overviews so user doesn't need to click between tabs 2018-08-15 20:47:34 +01:00
Łukasz Mierzwa
80caa12f30 fix(ui): start date should also be validated 2018-08-15 20:47:34 +01:00
Łukasz Mierzwa
4c7706aeba fix(ui): tweak duration minute change buttons logic 2018-08-15 20:47:34 +01:00
Łukasz Mierzwa
41e003ea46 fix(ui): more strict value checking for silence start & end 2018-08-15 20:47:34 +01:00
Łukasz Mierzwa
0aa4acf29b fix(ui): fix tab background color 2018-08-15 19:20:46 +01:00
Łukasz Mierzwa
ee545f9500 fix(ui): render silence modal on the body using portal
This way modal isn't nested under navbar and doesn't get classes from it
2018-08-15 19:20:31 +01:00
Łukasz Mierzwa
f1ac471a9c refactor(ui): refactor silence form
Style silence start & end input to better match old ui, which should improve UX
2018-08-15 11:15:39 +01:00
Łukasz Mierzwa
cb421737dd feat(ui): add favicon.js support
Alert count will be displayed in the favicon, backported feature from old UI
2018-08-12 19:57:48 +01:00
Łukasz Mierzwa
e7b7c8154d fix(ui): group dropdown item should copy rather than open new tab 2018-08-10 19:54:28 +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
9d1f15e85c refactor(ui): use new style method definition to avoid bind() calls in constructor 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa
5d1084b8e7 fix(ui): better close button align on filters 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa
f674fe27ee feat(ui): grow input when focused
When input is not in use (user not typing) reduce input size to minimum, only expand it when it's focused
2018-08-10 17:36:00 +01:00
Łukasz Mierzwa
9baeab3d53 fix(ui): fix rendering fuzzy filter rendering in the history 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa
d8476f389f fix(ui): drop debug logs 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa
cbe90557bb fix(ui): fix history menu after popper update 2018-08-10 15:49:04 +01:00
Łukasz Mierzwa
9f96918c14 fix(ui): fix group menu after popper update 2018-08-10 15:48:48 +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
0158a9f578 chore(package): rebuild css files with Bootstrap/Bootswatch 4.1.3 2018-07-26 17:22:24 +02:00
Łukasz Mierzwa
fcd7ac63b1 feat(ui): reduce vertical padding on filter input icons 2018-07-26 17:21:52 +02:00
Łukasz Mierzwa
1fc661e593 fix(ui): don't enforce min-height on filter input 2018-07-26 17:21:52 +02:00
Łukasz Mierzwa
bc3bc4f930 feat(ui): show version information in the settings modal 2018-07-24 18:02:19 +02:00
Łukasz Mierzwa
4ecf43582d feat(ui): Tweak history dropdown UI 2018-07-24 17:04:25 +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
310e5ad1ea refactor(ui): use object-hash for react array keys instead of JSON.stringify
JSON.stringify can produce huge strings, use hashes instead
2018-07-20 11:56:17 +02:00
Łukasz Mierzwa
fbda7d1f73 fix(ui): make annotation text smaller to better match labels 2018-07-20 11:34:26 +02:00
Łukasz Mierzwa
0f2ebbcbc7 refactor(ui): split settings into dedicated classes 2018-07-20 11:30:40 +02:00
Łukasz Mierzwa
c80bde05b0 chore(ui): drop why-did-you-update
Not that useful with mobx
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
a9223adbed fix(ui): better rendering and life cycle for annotations 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
19b0fe2190 fix(ui): fix fetch indicator margin 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
3aa1d868c8 feat(ui): configurable refresh interval 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
b1d9a9c34c feat(ui): respect annotation visibility settings in the UI 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
be3c8ef0c0 feat(ui): allow saving custom filter set as default 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
ad87e56bdd feat(ui): allow editing filters in place 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
e94a9ca846 feat(ui): link silences to Alertmanager details view 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
c9de37bdf2 fix(ui): only call focus on form clicks, avoid focus on filter badge clicks 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
99a3671e9b feat(ui): read config from index.html and use it to setup Sentry & default filters 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
801e76f9ae refactor(ui): move settings keys in the API response to a namespace 2018-07-19 23:38:11 +02:00