Ł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
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
dced537adb
feat(tests): add missing navbar test for resize events
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
35d95b46e6
feat(tests): navbar shallow render tests using skin-deep
2018-08-23 08:20:20 +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
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
cbe90557bb
fix(ui): fix history menu after popper update
2018-08-10 15:49:04 +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
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
Łukasz Mierzwa
0f2ebbcbc7
refactor(ui): split settings into dedicated classes
2018-07-20 11:30:40 +02:00
Łukasz Mierzwa
19b0fe2190
fix(ui): fix fetch indicator margin
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
3aa1d868c8
feat(ui): configurable refresh interval
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
be3c8ef0c0
feat(ui): allow saving custom filter set as default
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
c9de37bdf2
fix(ui): only call focus on form clicks, avoid focus on filter badge clicks
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
39c1050715
fix(ui): dropdown width should depend on screen size
...
To better fit on small screens
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
c3fbb1a6e8
feat(ui): modal window with filters help
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
2b213ada8d
fix(ui): cleanup css clases used
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
2b1a9cd601
fix(ui): tweak margins and padding for navbar elements
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
cec210ae2b
fix(ui): use an icon instead of a TODO for main menu
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
e0bcae50dd
fix(ui): correct clases used for navbar
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
542e45e5ac
feat(ui): handle outside clicks in dropdowns
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
e8fcaf1e27
feat(ui): filter history menu
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
a3ba2d8041
fix(ui): more readable fetch errors
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
a4a20ea3ef
feat(ui): new UI written in React
2018-07-19 23:38:11 +02:00