Commit Graph

153 Commits

Author SHA1 Message Date
Łukasz Mierzwa
756539d744 fix(ui): use publicURI for alertmanager requests in the silence form 2018-09-11 21:03:54 +01:00
Łukasz Mierzwa
f7d5c8a614 fix(tests): add missing props to SilenceModalContent 2018-09-10 22:27:07 +01:00
Łukasz Mierzwa
d7c00213ff refactor(ui): reorder alert action menu to make it look nicer with the header 2018-09-09 22:55:21 +01:00
Łukasz Mierzwa
ebf1dcd43a fix(ui): silence form needs to be reset every time it's hidden 2018-09-09 22:55:21 +01:00
Łukasz Mierzwa
53a83a0b33 fix(ui): silence expiry progress bar should be updated every 30s 2018-09-09 22:55:21 +01:00
Łukasz Mierzwa
2fa7c8fab9 fix(ui): reset silence form duration on every mount 2018-09-09 20:51:05 +01:00
Łukasz Mierzwa
acd04833da chore(ui): replace favicon after project rename 2018-09-09 15:25:59 +01:00
Łukasz Mierzwa
9c16ffa447 chore(project): rename from unsee to karma
Fixes prymitive/unsee#23
2018-09-09 14:12:26 +01:00
Łukasz Mierzwa
a3b906cb20 refactor(tests): use diffable HTML for all snapshot tests 2018-09-09 11:12:00 +01:00
Łukasz Mierzwa
d2a2945418 fix(ui): hide selected option in suggestion dropdown 2018-09-09 11:07:36 +01:00
Łukasz Mierzwa
26abcc632b fix(ui): pass unique class to alert action button, so clicking it doesn't trigger click outside handler 2018-09-08 23:35:21 +01:00
Łukasz Mierzwa
7da2c66200 feat(ui): add source links in the alert action menu 2018-09-08 23:28:10 +01:00
Łukasz Mierzwa
525cd250b5 fix(tests): use async for fetches instead of setTimeout 2018-09-08 21:28:19 +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
a4557cfc49 feat(ui): add alert menu with actions specific to that alert 2018-09-08 21:11:15 +01:00
Łukasz Mierzwa
01f3c25160 fix(ui): initialize timeNow so it's always set on initial render 2018-09-08 19:43:46 +01:00
Łukasz Mierzwa
e526095f6e fix(ui): annotation should have same hover style as other elements using badge class 2018-09-08 19:15:40 +01:00
Łukasz Mierzwa
0a966275b4 feat(ui): refresh offset badges on silence start/end tabs in the silence form 2018-09-08 11:51:11 +01:00
Łukasz Mierzwa
69229c079c feat(ui): save last used silence author to local storage
Silence form should default to last used author email so there's no need to re-type it all the time
2018-09-08 11:03:07 +01:00
Łukasz Mierzwa
6d4b3d6746 fix(tests): use diffable html for annotation snapshot test 2018-09-07 19:23:17 +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
ff25e30121 feat(ui): render validation error as placeholders if form failed to validate 2018-09-04 21:52:44 +01:00
Łukasz Mierzwa
3cb3ed6990 feat(ui): validate silence form data before submiting 2018-09-04 14:22:15 +01:00
Ł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