Łukasz Mierzwa
e286cf2f1c
fix(ui): remove dead check
2018-09-02 19:58:36 +01:00
Łukasz Mierzwa
38b0cb1557
fix(ui): remove dead code
2018-09-02 19:21:50 +01:00
Łukasz Mierzwa
b5112880a5
fix(tests): add missing coverage cases for LabelNameInput
2018-09-02 19:12:59 +01:00
Łukasz Mierzwa
48f9176cf9
fix(tests): add missing coverage cases for AlertManagerInput
2018-09-02 19:02:23 +01:00
Łukasz Mierzwa
9644809054
fix(tests): add missing coverage cases for FilerInput
2018-09-02 18:57:44 +01:00
Łukasz Mierzwa
e0d4917566
fix(ui): remove dead code
...
isSelected doesn't seem to get trigger in any way
2018-09-02 18:27:36 +01:00
Łukasz Mierzwa
bbbcb497a5
fix(tests): format options correctly
2018-09-02 18:21:22 +01:00
Łukasz Mierzwa
5e0c766f44
fix(tests): use diffable html instead tree snapshots
2018-09-02 18:14:00 +01:00
Łukasz Mierzwa
2ee69f9c08
fix(tests): add missing HistoryLabels tests
2018-09-02 18:09:46 +01:00
Łukasz Mierzwa
bd4e549b27
fix(tests): cover regex matches in silence tests
2018-09-02 18:02:58 +01:00
Łukasz Mierzwa
a95b919872
fix(tests): add missing linkify test coverage
2018-09-02 17:59:51 +01:00
Łukasz Mierzwa
2bb0f2ffb0
fix(ui): fix the logic for deciding when to show @alertmanager labels in the footer, add a test
2018-09-02 17:50:34 +01:00
Łukasz Mierzwa
ba6ed7f9ff
fix(tests): add test coverage for missed branches in AlertGrid
2018-09-02 16:50:50 +01:00
Łukasz Mierzwa
dc31861bab
feat(tests): add GroupMenu tests
2018-09-01 23:47:37 +01:00
Łukasz Mierzwa
9332c5e4b2
feat(tests): add Alert tests
2018-09-01 22:58:15 +01:00
Łukasz Mierzwa
7e2f1fb446
feat(tests): add annotation tests
2018-09-01 21:59:18 +01:00
Łukasz Mierzwa
1e37a2f130
feat(tests): add GroupFoote snapshot test
2018-09-01 21:23:48 +01:00
Łukasz Mierzwa
2dbbef2f3e
fix(ui): UI doesn't need to calculate which annotation is hidden by default, backend provides this information
2018-09-01 21:20:22 +01:00
Łukasz Mierzwa
4dfd044cc3
feat(tests): add Silence component tests
2018-09-01 19:36:01 +01:00
Łukasz Mierzwa
1550025336
fix(ui): don't hardcode matchers
2018-09-01 10:17:38 +01:00
Łukasz Mierzwa
879276e017
feat(tests): add AlertGroup tests
2018-08-31 23:25:05 +01:00
Łukasz Mierzwa
4b9b1556c9
feat(tests): add AlertGrid test coverage
2018-08-31 21:43:06 +01:00
Łukasz Mierzwa
572f58ea04
fix(ui): no need to wrap this
2018-08-31 21:18:51 +01:00
Łukasz Mierzwa
b1a347592d
feat(tests): add tests for Grid component
2018-08-31 21:00:00 +01:00
Łukasz Mierzwa
eac502df49
fix(tests): add missing MultiSelect coverage
2018-08-31 20:16:49 +01:00
Łukasz Mierzwa
9384fdd42b
fix(ui): pass custom elements and classes instead of overriding default styles
...
Highlight component now takes extra props for wrapping matched part of suggestion, pass span with bold text class to mark it as bold instead of overwriting default mark element with highlight class in css
2018-08-30 23:19:44 +01:00
Łukasz Mierzwa
6952650eeb
feat(tests): add test coverage for FaviconBadge
2018-08-30 22:15:42 +01:00
Łukasz Mierzwa
2858e54663
fix(ui): fix favico.js import src/Components/FaviconBadge/index.js
...
It was failed in tests with *, works well without it
2018-08-30 22:11:01 +01:00
Łukasz Mierzwa
a7e900bd63
feat(tests): more test coverage for MultiSelect
2018-08-30 21:58:02 +01:00
Ł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
2d64feed17
fix(tests): add missing test coverage for FilterInput
2018-08-30 21:23:40 +01:00
Łukasz Mierzwa
e1bb3d6548
refactor(ui): store suggestion fetch result so we can use it in tests
2018-08-30 21:09:43 +01:00
Łukasz Mierzwa
13130f187a
fix(ui): override styles used by new react-autosuggest
2018-08-30 21:09:10 +01:00
Łukasz Mierzwa
268a5bbcc1
fix(ui): drop useless check
...
This check doesn't seem to get trigger, can't simulate 'enter' method in any way
2018-08-30 20:15:19 +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