Łukasz Mierzwa
83aa8b9649
feat(tests): strict validation for props
2018-09-24 15:28:25 +01:00
Łukasz Mierzwa
ce92c89076
fix(ui): switch to fade animation on navbar, hook to correct show event
2018-09-23 19:17:33 +01:00
Łukasz Mierzwa
843118176f
fix(ui): better navbar hiding when idle
...
Don't destroy navbar since modals are mounted on it + update visibility after transition so animations work as expected
2018-09-23 12:23:29 +01:00
Łukasz Mierzwa
bdbffd151f
feat(ui): use different idle value for desktop and mobile
...
Very simple version, no resize handling, but it will cover 95% cases
2018-09-22 20:59:46 +01:00
Łukasz Mierzwa
cc01e07726
feat(ui): animate navbar show/hide
2018-09-22 20:18:34 +01:00
Łukasz Mierzwa
9e72198efe
feat(ui): animate dropdown menus
2018-09-22 15:20:40 +01:00
Łukasz Mierzwa
9ba495bbe7
feat(ui): pause fetching when alert/group menu is open
...
This will prevent whack-a-mole when user clicks on an action menu and then grid re-renders moving it around
2018-09-20 14:25:13 +01:00
Łukasz Mierzwa
9822bce87c
feat(ui): colo fetch indicator with text-success when response is being processed
...
This add a visual indicator of the progress, helpful for big responses or slow connections
2018-09-18 19:49:43 +01:00
Łukasz Mierzwa
54a71bfa68
feat(ui): hide navbar after 3 minutes with no activity
2018-09-17 20:23:47 +01:00
Łukasz Mierzwa
c2a1468c51
fix(ui): always pass credentials with fetch()
...
Fixes #24
2018-09-15 13:22:26 +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
4d64b0b3ea
chore(tests): drop console mock, fix all tests that throw console errors
2018-09-08 21:11:15 +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
096b3985a4
chore(tests): migrate tests to enzyme
2018-09-06 22:37:05 +01:00
Łukasz Mierzwa
9644809054
fix(tests): add missing coverage cases for FilerInput
2018-09-02 18:57:44 +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
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