Łukasz Mierzwa
1860394743
feat(tests): add missing tests for main modal
2018-08-27 15:19:36 +01:00
Łukasz Mierzwa
26fac070b2
feat(tests): filter input tests
2018-08-24 18:44:54 +01:00
Łukasz Mierzwa
13b364a0d4
feat(tests): test handleClickOutside() behaviour
2018-08-24 17:04:30 +01:00
Łukasz Mierzwa
d7088b5093
feat(tests): add history menu item click test
2018-08-24 09:48:03 +01:00
Łukasz Mierzwa
713ff7f779
feat(tests): add history action buttons tests
2018-08-24 09:40:15 +01:00
Łukasz Mierzwa
648a85ef28
feat(tests): add history dropdown menu tests
2018-08-23 23:59:54 +01:00
Łukasz Mierzwa
5b253c2adc
fix(ui): labels in the history menu should render with whatever matcher was used for the filter
2018-08-23 23:59:32 +01:00
Łukasz Mierzwa
29847a97d4
feat(tests): add history dropdown visibility test
2018-08-23 21:46:43 +01:00
Łukasz Mierzwa
464e92e76d
refactor(tests): switch to enzyme
...
enzyme does everything skin-deep does and more, should cover more use cases
2018-08-23 20:52:39 +01:00
Łukasz Mierzwa
3713703331
feat(tests): more test coverage for the history dropdown
2018-08-23 19:19:20 +01:00
Łukasz Mierzwa
39f0fd3708
feat(tests): more test coverage for the main modal
2018-08-23 15:12:59 +01:00
Ł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
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
86815c95dd
feat(test): more test coverage for labels
2018-08-21 20:22:08 +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
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
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
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