Commit Graph

28 Commits

Author SHA1 Message Date
Łukasz Mierzwa
d703fb66aa fix(ui): remove dead code
This function isn't used by react-style, it doesn't match any valid function names, there's singleValue but we don't want break-word on that, it default to truncating too long text
2018-08-30 21:58:02 +01:00
Łukasz Mierzwa
24097ce041 fix(ui): always require a label
All code using Duration component is passing label prop, no need to make it optional
2018-08-29 23:52:43 +01:00
Łukasz Mierzwa
c6acd70f0d feat(tests): add tests covering special minute value adjustement logic 2018-08-29 23:38:40 +01:00
Łukasz Mierzwa
ec16a1cbce fix(ui): fix duration minute decrease handling
Negative adjustment needs a different logic than positive one
2018-08-29 23:38:14 +01:00
Łukasz Mierzwa
e7b17f5326 feat(tests): add more tests for DateTimeSelect 2018-08-29 23:07:31 +01:00
Łukasz Mierzwa
3b680d9217 feat(tests): export internal components so we can unit test them directly 2018-08-29 22:32:14 +01:00
Łukasz Mierzwa
edba052ecd feat(tests): add basic tests for DateTimeSelect 2018-08-29 21:17:31 +01:00
Łukasz Mierzwa
241cd2fa08 feat(tests): add test coverage for AlertManagerInput 2018-08-29 21:17:31 +01:00
Łukasz Mierzwa
dcff54f1ae feat(tests): add tests for SilenceSubmitProgress 2018-08-29 21:17:31 +01:00
Łukasz Mierzwa
fdb01d39f1 fix(ui): fix typos and make code more testable 2018-08-29 21:17:31 +01:00
Łukasz Mierzwa
d8496418fc feat(tests): add test coverage for SilenceMatch 2018-08-27 17:28:21 +01:00
Łukasz Mierzwa
65aa0ac30b feat(tests): add tests for SilenceSubmitController 2018-08-27 17:14:54 +01:00
Łukasz Mierzwa
1d5c33b686 fix(ui): remove debug logs 2018-08-27 17:14:37 +01:00
Łukasz Mierzwa
ba4a38e87e feat(tests): test coverage for label inputs 2018-08-27 17:06:15 +01:00
Łukasz Mierzwa
b2a0e27cbe fix(tests): add tests for matcher delete button visibility 2018-08-27 15:19:36 +01:00
Łukasz Mierzwa
fcfb4d805a feat(tests): more test coverage for SilenceModal 2018-08-27 15:19:36 +01:00
Łukasz Mierzwa
a65c812669 fix(ui): remove duplicated actions 2018-08-27 15:19:36 +01:00
Łukasz Mierzwa
a99b453337 feat(tests): add tests for SilencePreview 2018-08-27 15:19:36 +01:00
Łukasz Mierzwa
3dfeb7e360 feat(tests): add tests for the root SilenceModal component 2018-08-27 15:19:36 +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
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
4c7706aeba fix(ui): tweak duration minute change buttons logic 2018-08-15 20:47:34 +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
18344959d7 feat(ui): allow silencing alerts
This adds a modal dialog for silencing alerts
2018-08-10 17:38:27 +01:00