Łukasz Mierzwa
f2c24edff9
fix(ui): check for string className when handling clicks in filter input
...
For SVG elements there might be no className attribute so split() might raise an exception
2019-06-10 23:13:07 +01:00
Łukasz Mierzwa
78660cd374
feat(ui): animate alert counter on changes
2019-05-12 11:09:34 +01:00
Łukasz Mierzwa
884bbe8398
feat(ui): add shadows to dropdown menus
2019-05-09 22:56:27 +01:00
Łukasz Mierzwa
dc00ef86c8
fix(ui): cleanup css classes for labels
2019-05-03 19:14:29 +01:00
Łukasz Mierzwa
655f244f1b
refactor(ui): use button instead of a badge for filter elements
2019-04-30 14:08:36 +01:00
Łukasz Mierzwa
b1c89858e8
feat(ui): allow configuring grid size
2019-04-14 23:05:11 +01:00
Łukasz Mierzwa
e2be71d458
feat(ui): collapse alert groups on mobile by default
2019-04-01 21:00:51 -07:00
Łukasz Mierzwa
3974315ccc
feat(ui): add UI toggle for changing autohide settings
...
This adds a checkbox in the settings form to control if navbar autohide is on or off
Fixes #530
2019-03-15 14:57:27 +00:00
Łukasz Mierzwa
fc334ab4ac
feat(ui): add settings for controlling navbar autohide
...
This allows to control if the navbar should hide on idle or not
2019-03-15 14:57:27 +00:00
Łukasz Mierzwa
b8f15819b8
chore(tests): update snapshots after fontawesome upgrade
2019-01-29 09:03:51 +00:00
Łukasz Mierzwa
e0ddf15d0e
fix(ui): align autocomplete dropdown with the input
2019-01-18 20:08:51 +00:00
Łukasz Mierzwa
7adf1bbfd5
refactor(ui): move common modal code to a dedicated component
2018-10-08 21:54:22 +01:00
Łukasz Mierzwa
8bd27f8ff7
feat(ui): add tooltips to clickable components
2018-10-07 13:14:45 +01:00
Łukasz Mierzwa
19642a553f
fix(ui): use more compatible body style setter
...
This works on Firefox 33, style[] syntax is only supported for FF >=35
2018-10-05 08:22:54 +01:00
Łukasz Mierzwa
7243cfc149
fix(ui): don't use a for elements without href
2018-10-03 11:14:45 +01:00
Łukasz Mierzwa
4e3635bc98
fix(tests): reset mocks between tests
...
Ensures that tests don't rely on previous tests mocking things
2018-10-03 10:16:31 +01:00
Ł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