Commit Graph

30 Commits

Author SHA1 Message Date
László Monda
2676e0c671 Add explanatory text for the device configuration. Remove the "Save device binary configuration" button. Add "Upload device configuration" button that doesn't work yet. 2017-10-15 23:03:34 +02:00
László Monda
f2250b699c Rearrange user configuration related buttons and update the description of the reset configuration button. 2017-10-15 19:17:21 +02:00
László Monda
bff97f02d7 Change "Loading Agent..." to "Loading keyboard configuration..." 2017-10-15 16:05:47 +02:00
Róbert Kiss
69101d73a8 build: upgrade @angular => 4.4.5 (#451) 2017-10-15 14:52:24 +02:00
László Monda
4c55ca80ca Add separator line that will be displayed between the keyboard halves. 2017-10-15 02:12:50 +02:00
Róbert Kiss
a4056a8b8b feat(device): Add confirmation question before reset the configuration (#449)
* feat(device): Add confirmation question before reset the configuration

* feat(device): text change

* style: fix ts-lint error
2017-10-14 16:49:13 +02:00
Róbert Kiss
6b46c85ca6 feat(device): Add save config buttons to the Device settings page (#447)
* feat(device): Add save config buttons to the Device settings page

* feat(device): Set danger style to the reset user-config buttone
2017-10-14 16:04:50 +02:00
Róbert Kiss
737897b40e feat(agent): Add loading screen (#444)
* feat(uhk-message): Add spin animation

* feat(agent): Add loading page

* fix device connected / disconnected events
2017-10-14 01:22:44 +02:00
Róbert Kiss
7baf9ad009 fix(user-config): Layer switcher key behaviour on non-base layers (#440)
* refactor(user-config): Optimize imports

* feat(user-config): Clone SwitchLayerAction to destination layer

* fix(user-config): Fix Keymap SwitchLayerAction normalization

* test(user-config): Remove spy callThrough

* build: Add uhk-common test runner

* build: delete test serialization files

* fix(user-config): Add missing "type": "basic" properties to the user-config.json

* test(user-config): Add KeyMacroAction tests

* fix(user-config): Delete SwitchLayerAction from non destination layer

* fix(user-config): Keymap normalize delete SwitchLayerActions from non base layers

* ci: turn of uhk-web tests

* ci: turn off karma watch mode in uhk-web test
2017-10-13 12:25:57 +02:00
Róbert Kiss
46b97a9b62 feat(user-config): Add ISO key scancode (#441)
close: #437
2017-10-11 22:22:34 +02:00
László Monda
421f406cae Fix the layer switcher keys of all keymaps. 2017-10-10 01:51:40 +02:00
József Farkas
50e0b64f6e Upgrade to ngrx v4 (#378)
* Update ngrx to v4

* package.json files

* release: Remove zadic references from release script

* fix(user-config): Fix user-config loading

* build: Lock package dependencies

* build: fix app version

* ci: remove build:test step

* fix(user-config): Revert switch-keymap-action modifications

* test(user-config): xit keystroke-action test

* fix(user-config): Fix user config loading

* fix(user-config): Fix user config loading
2017-10-08 18:31:16 +02:00
Róbert Kiss
ba1fff788d feat(device): Reset user configuration on device (#435) 2017-10-08 00:23:46 +02:00
Róbert Kiss
23af522a48 fix(user-config): Fix user configuration savings (#433)
* test(user-config): Fix saveAs functionality

* feat(user-config): Add 2 space indent when save user-config to json file

* refactor(user-config): Move user config savings into user config effect

* build: Remove unused package
2017-10-07 16:19:32 +02:00
Attila Csanyi
0ad261e7fd update npm lock file (#425) (#426) 2017-09-27 22:14:27 +02:00
Róbert Kiss
9294bede50 feat(config): Read / write hardware configuration area (#423)
* add write-hca.js

* refactor: Move config serializer into the uhk-common package

* refactor: Move getTransferBuffers into the uhk-usb package

* refactor: delete obsoleted classes

* build: add uhk-usb build command

* refactor: move eeprom transfer to uhk-usb package

* fix: Fix write-hca.js

* feat: load hardware config from the device and

* style: fix ts lint errors

* build: fix rxjs dependency resolve

* test: Add jasmine unit test framework to the tet serializer

* fix(user-config): A "type": "basic", properties to the "keystroke" action types

* feat(usb): set chmod+x on write-hca.js

* feat(usb): Create USB logger

* style: Fix type

* build: Add chalk to dependencies.

Chalk will colorize the output
2017-09-26 16:57:27 +00:00
László Monda
e99fb08cc2 Add Dvorak, Colemak, Workman, One-handed, Keyboard+mouse, and egghead.io keymaps. 2017-09-17 23:50:17 +02:00
Róbert Kiss
8f85254b5c fix(tooltip): Uncomment JQuery tooltip codes (#420) 2017-09-17 13:26:11 +00:00
Róbert Kiss
73ce1dfa67 fix(keymap): Should not automatically capitalize keymap name (#421) 2017-09-17 12:51:14 +00:00
Róbert Kiss
96e968729d feat(device): Read user config from eeprom (#413)
* feat(device): Read user config from eeprom

* read data from eeprom

* fix user config serialization

* fix device connected detection

* not allow override default config is eeprom is empty

* add error handling to eeprom parsing

* colorize log output

* add USB[T] feature

* add class name to USB[T] log

* remove redundant error log msg

* Add USB[T] to Apply user config
2017-09-17 12:45:20 +00:00
Róbert Kiss
901a5eb5d1 refactor: Add UhkHidDevice wrapper that unified the USB communication (#414)
* refactor: Add UhkHidDevice wrapper that unified the USB communication

* fix(log): Hack Replace console.debug to console.log
2017-09-13 22:58:41 +00:00
Róbert Kiss
8d7269a998 feat(device): Add 'Save to keyboard' button (#402)
* feat(device): Add 'Save to keyboard' button

Created a 'Progress Button' that have 2 state in progress or not.
Able to set different text for different state:
- baseText for normal state
- progressText for in progress state
close: #377

* fix 'Save to keyboard' button visibility in web version

* remove success notification when save to keyboard success

* feat(notifier): Turn off auto hide of the notifier

* feat(device): Show saved state of 'Save to keyboard button'

* style: Format import in app.component.ts

* feat(device): Auto hide 'Save to Keyboard' button

* fix(device): Fix saving animation

* fix(device): Fix saving animation

* fix(device): Fix tslint
2017-09-10 23:22:54 +00:00
Attila Csanyi
c135aed7c9 Issue 388 - Device node (#397)
* Issue 388 - Device node (first version before review) (#388)

* fix: style linting issues

* review: revert the same padding size of the level 1 components on the sidebar

* feat(uhk-icon): Create uhk-icon set and fix USB device icon visibility in electron

* style: Use semicolon in js files
2017-09-10 22:56:03 +02:00
Attila Csanyi
accdf5facd Remove excess space above the UHK (#409)
* Issue 323 - Remove excess space above the UHK (#323)

* revert back specific width of keyboard slider to be able to visible in the electron app

* fix: showing the whole keyboard on big screen

* fix: satisfy very small screens (no overflow of other keyboard left side) and increase the place where keyboard can fit (tested near 2000px width)

* Revert "fix: satisfy very small screens (no overflow of other keyboard left side) and increase the place where keyboard can fit (tested near 2000px width)"

This reverts commit 376604d24a.
2017-09-09 01:03:56 +02:00
Attila Csanyi
c73ecdbde9 Issue - 141 - Validate macro actions (#141) (#395)
* Issue - 141 - Validate macro actions (#141)

* review: refactor validation logic based on each macro tab component emitted event

* review: mouse key macro invalid if any of the X, Y fields are empty

* review: apply review comments for shorthand if conditions and imports
2017-08-29 00:52:40 +02:00
Róbert Kiss
ee93466a08 build: Fix reflection and minification conflict (#399)
The minification change the class name so constructor.name not give back the correct class name.
Introduced getName() method in KeyAction and MacroAction Abstract class
2017-08-27 02:38:55 +02:00
Róbert Kiss
be3e116130 build: Configure AOT (#394)
* build: Configure AOT

* build: Fix appveyor ENV settings
2017-08-26 00:56:28 +02:00
Róbert Kiss
015d110c2b fix(keymap): Hide horizontal scrollbar (#392)
close #391
2017-08-20 19:22:22 +02:00
Róbert Kiss
b2466f01aa fix(keymap): Add new keymap scrolling (#390)
close #389
2017-08-20 15:37:06 +02:00
Róbert Kiss
0f558e4132 refactore: create feature modules (#387)
* add @angular/cli to the project

* increase nodejs version -> 8.2.1

* add lerna

* merge web and shared module

* move electron module into packages as uhk-agent

Electron agent functionality is not working

* delete symlinker

* convert private properties to public of component if used in html

* revert uhk-message.component

* fix component path

* fix the correct name of the uhk-message.component.scss

* building web and electron module

* delete uhk-renderer package

* handle device connect disconnect state

* add privilege detection

* fix set privilege functionality

* turn back download keymap functionality

* add bootstrap, select2 js and fix null pointer exception

* turn back upload data to keyboard

* fix send keymap

* fix test-serializer

* add missing package.json

* merging

* fix appveyor build

* fix linting

* turn back electron storage service

* commit the missing electron-datastorage-repository

* update node to 8.3.0 in .nvmrc and log node version in appveyor build

* set exact version number in appveyor build

* vertical align privilege and missing device components

* set back node version to 8 in appveyor

* move node-usb dependency from usb dir to root

maybe it is fix the appveyor build

* revert usb to root

* fix electron builder script

* fix electron builder script

* turn off electron devtools

* remove CTRL+U functionality

* fix CTRL+o

* fix lint error

* turnoff store freeze

* start process when got `Error: EPERM: operation not permitted` error

* move files from root usb dir -> packages/usb
2017-08-19 20:02:17 +02:00