Commit Graph

1029 Commits

Author SHA1 Message Date
Łukasz Mierzwa
bd99ef8b51 feat(tests): add test coverage for the main modal 2018-08-23 14:32:23 +01:00
Łukasz Mierzwa
35d95b46e6 feat(tests): navbar shallow render tests using skin-deep 2018-08-23 08:20:20 +01:00
Łukasz Mierzwa
74662aed86 refactor(ui): change multi select background color to 'dark' 2018-08-22 21:04:36 +01:00
Łukasz Mierzwa
b4cbb0d8d5 feat(tests): all label classes are now tested 2018-08-22 19:32:05 +01:00
Łukasz Mierzwa
7d5e957453 refactor(tests): dedup some code, add more label test coverage 2018-08-22 16:22:07 +01:00
Łukasz Mierzwa
210da0a5ba refactor(tests): use jest-mock-console for mocking console calls 2018-08-22 15:46:03 +01:00
Łukasz Mierzwa
99f5f3999e refactor(tests): use jest-fetch-mock for mocking fetch() calls 2018-08-22 15:34:58 +01:00
Łukasz Mierzwa
56a2a147ca feat(test): add BaseLabel tests 2018-08-22 12:27:07 +01:00
Łukasz Mierzwa
4069467435 fix(ui): don't use new lines for rgba() style values 2018-08-22 12:22:42 +01:00
Łukasz Mierzwa
992158d714 feat(test): basic tests for Fetcher component 2018-08-21 23:06:14 +01:00
Łukasz Mierzwa
2e36eff52e fix(ui): all components should use alertStore.fetchWithThrottle() 2018-08-21 20:39:32 +01:00
Łukasz Mierzwa
467364f383 refactor(ui): lower throttle to 300ms 2018-08-21 20:39:09 +01:00
Łukasz Mierzwa
86815c95dd feat(test): more test coverage for labels 2018-08-21 20:22:08 +01:00
Łukasz Mierzwa
faedbf96e3 feat(test): more test coverage for AlertStore module 2018-08-21 19:02:38 +01:00
Łukasz Mierzwa
9fe6494830 feat(test): add mock modules for fetch() and console 2018-08-21 18:43:37 +01:00
Ł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