npm install
Note: you will need to have installed NodeJS v18 or later
npm run start
We are using Commitizen and Commitlint to provide meaningful commits
We are using Prettier to keep code in a standard way.
# Format the files exists
$ npm run format
When you are ready to commit, run
$ npm run commit
We use the follow structure
type(scope): subject
Dial has only 3 actions that we can catch from it. Turn Left
, Turn Right
and Click
.
Horizontal screens
Vertical screens
Circular screens
Keyboard screen
Based on the gesture, we need to use them into each state in a specific way. For instance, when the state is showing barometer
, we have the three gestures available. On the other hand, when state is showing scale
, we just have available the gesture double tare.
Note: double tare gesture comes from an extra hardware element.
We react to different button events coming from controller. We have mapped every button to a keyboard event for testing. See SocketProviderValue.ts.