Commit Graph
12 Commits
Author SHA1 Message Date
Matteo Piccina 588e6ae09b Implement multiple actions (double tap, triple tap) (#349)
* Implement double tap and new actions array in config

* Update native widgets to use new actions parameter

* Refactor new actions parameter moving it to main definition
Renamed old action and longAction to legacy

* Fix tests

* Remove unused code

* Readd test for legacyAction

* Implement triple tap

* Add new actions explanation

* Add support for multiple actions and same trigger
2020-08-03 11:53:39 +01:00
Fedor Zaytsev 642f0807bb Changeable icons for AppleScriptTouchBarItem & tests (#276)
* Implemented changable icons for AppleScriptTouchBarItem

AppleScriptTouchBarItem now allow to specify any number of icons which can be changed from the script. You cannot change icon from touch event. To change icon, you need to return array from your script with 2 values - title and icn name. More info in readme

* Fixed tests

Some tests started to fail after implementing alternativeIcons field for appleScriptBarItem
2020-02-29 11:23:40 +00:00
Mark Rickert 855ddea44e Tests relative file paths and images. 2019-11-06 14:48:26 -07:00
toxblh 5b6b6dfa56 Revert "fixed tests"
This reverts commit 7c9dd26eb0.
2019-05-15 16:39:32 +01:00
toxblh 7c9dd26eb0 fixed tests 2019-05-09 22:19:21 +01:00
toxblh b718b1c9dd Style format 2019-01-24 00:04:30 +03:00
Serg 3ec2422181 add couple more tests 2018-05-09 14:07:37 +07:00
Serg a3c7fa7464 replace garbage in the app with garbage in the tests (until apple fix that), enable coverage 2018-05-09 13:34:32 +07:00
Serg b761551384 fix imports 2018-05-07 09:04:33 +07:00
Serg 651258b01f fix building test target, add one more test 2018-05-06 17:13:31 +07:00
Serg d0efdef8c2 initial json parsing 2018-04-10 14:13:20 +07:00
toxblh 32232fcbb1 First progress.
1. Have similar template brightness/space/volume/time
2. Volume buttons work but without visual a status in macos
3. Brightness don't work, but should :)
4. Time don't work

Soon will be:
1. Work time
2. Set in strip the app for popover
3. Need find how simulate real buttons for brightness and volume
2018-03-17 03:52:48 +00:00