David Lechner
7a7eba407f
add tests for bootloader protocol errors
2020-05-26 21:20:08 -05:00
David Lechner
3e4ea382e5
move images out of public/static folder
...
This way, we get compile error if there problem with images. Also allows
images to be optimized.
2020-05-26 21:20:08 -05:00
David Lechner
865d37a138
make big icons match small icons
2020-05-26 21:20:08 -05:00
David Lechner
8045332dde
remove react logo
2020-05-26 21:20:08 -05:00
David Lechner
a8f959c6eb
Show popup notifications for serviceWorker
...
These need more user-friendly handling, but this will suffice for now.
2020-05-26 21:20:08 -05:00
dependabot-preview[bot]
a92334f723
Bump react-ace from 8.1.0 to 9.0.0
...
Bumps [react-ace](https://github.com/securingsincity/react-ace ) from 8.1.0 to 9.0.0.
- [Release notes](https://github.com/securingsincity/react-ace/releases )
- [Changelog](https://github.com/securingsincity/react-ace/blob/master/CHANGELOG.md )
- [Commits](https://github.com/securingsincity/react-ace/compare/v8.1.0...v9.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-26 10:47:30 -05:00
dependabot-preview[bot]
7eac8572ab
Bump xterm-addon-fit from 0.3.0 to 0.4.0
...
Bumps [xterm-addon-fit](https://github.com/xtermjs/xterm.js ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.3...0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-26 10:41:14 -05:00
David Lechner
33861d970b
Package firmware in app
...
- includes firmware .zip for movehub and cplushub
- firmware flash button no longer opens file dialog
- now connects first, then choses firmware based on connected device
- drag and drop of custom firmware still works
2020-05-25 21:31:35 -05:00
David Lechner
5160d29c7e
change to @pybricks/mpy-cross-v4
...
This package is associated with the pybricks/pybricks-micropython repository.
2020-05-25 21:31:35 -05:00
David Lechner
df34cd4ae5
Ignore CTRL+S in editor
...
Some programmers have the habbit of always pressing
CTRL+S which opens the browsers save as dialog and
interrupts workflow. We already automatically save
the current file, so we can just ignore they keypress.
2020-05-25 21:31:35 -05:00
David Lechner
2854ab422b
Rename BLE connect actions
...
This matches the naming patter used in other files.
2020-05-24 20:00:13 -05:00
dependabot-preview[bot]
83ab040f64
Bump eslint-plugin-react from 7.19.0 to 7.20.0
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-24 20:00:13 -05:00
David Lechner
f54f267762
simplify bootloader saga tests
2020-05-22 20:54:53 -05:00
David Lechner
6645a81d1c
catch all message decode errors
2020-05-22 20:54:53 -05:00
David Lechner
d0a5c9e78a
remove @types/jszip
...
jszip ships with type definitions so a separate package is not needed
2020-05-22 20:54:53 -05:00
dependabot-preview[bot]
8aeae25971
Bump @types/react from 16.9.34 to 16.9.35
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.34 to 16.9.35.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-22 20:24:30 -05:00
dependabot-preview[bot]
b49feb50eb
Bump @typescript-eslint/eslint-plugin from 2.30.0 to 2.34.0
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 2.30.0 to 2.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/eslint-plugin )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-22 20:19:19 -05:00
dependabot-preview[bot]
e38244e6d7
Bump @testing-library/jest-dom from 4.2.4 to 5.8.0
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 4.2.4 to 5.8.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v4.2.4...v5.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-22 20:14:06 -05:00
dependabot-preview[bot]
8aca9ee929
Bump @types/react-dom from 16.9.7 to 16.9.8
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 16.9.7 to 16.9.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-22 20:04:55 -05:00
David Lechner
dd9d789e9a
license
2020-05-22 19:54:48 -05:00
David Lechner
2a0cba80b8
remove incorrect use of ThunkDispatch
2020-05-22 19:54:48 -05:00
David Lechner
1898787eb5
add open and save button
...
Chrome has an annoying warning when downloading .py files, e.g https://stackoverflow.com/q/34130774/1976323
Workaround is to enable the "Ask where to save each file before downloading" setting.
2020-05-22 19:54:48 -05:00
David Lechner
ac6c798148
Fix city hub bootloader compatibility
...
The city hub requires that certain messages are write with response and
others are write without response, otherwise it will cause BlueZ to
disconnect because it does not follow proper BLE protocol.
2020-05-22 19:54:48 -05:00
David Lechner
21208344be
Add error notification for service error
...
On Linux/BlueZ, sometimes the services are not enumerated properly and
the user has to remove the Bluetooth device from BlueZ, then it should
work correctly.
2020-05-22 19:54:48 -05:00
dependabot-preview[bot]
416c5b16e2
Bump bootstrap from 4.4.1 to 4.5.0
...
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v4.4.1...v4.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-22 15:38:24 -05:00
dependabot-preview[bot]
669f7838b2
Bump @testing-library/user-event from 10.3.2 to 10.3.4
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 10.3.2 to 10.3.4.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v10.3.2...v10.3.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-21 21:33:04 -05:00
David Lechner
154907a201
fix package name
2020-05-21 21:27:47 -05:00
David Lechner
6ef0dee20c
test utils/web-bluetooth
2020-05-21 21:27:47 -05:00
David Lechner
c979d21255
use describe in math tests
...
just for better organization
2020-05-21 21:27:47 -05:00
David Lechner
ae21501aa2
test sumComplement32
2020-05-21 21:27:47 -05:00
David Lechner
858cf26e5e
smoother firmware flash progress
...
This waits for the OS to give a reply about the request being sent before updating progress. Before, we were just updating progress when requests were queued rather than actually sent.
2020-05-21 21:27:47 -05:00
David Lechner
ed5bd4728a
add id to bootloader request actions
...
This will be used to match didRequest to a requst to avoid issues with messages being queued concurrently
2020-05-21 21:27:47 -05:00
David Lechner
0d57338d71
add bootloader message serialization test
2020-05-21 21:27:47 -05:00
David Lechner
9b06bc7bd1
add basic tests for bootloader message encoder
...
Doesn't test errors yet
2020-05-21 21:27:47 -05:00
David Lechner
3b22c0377f
add tests for bootloader message decoder
...
also fix errors found by test
2020-05-21 21:27:47 -05:00
dependabot-preview[bot]
c665ba9d1f
Bump xterm from 4.5.0 to 4.6.0
...
Bumps [xterm](https://github.com/xtermjs/xterm.js ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.5.0...4.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-21 11:09:40 -05:00
dependabot-preview[bot]
36cca07a19
Bump @types/web-bluetooth from 0.0.5 to 0.0.6
...
Bumps [@types/web-bluetooth](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-bluetooth ) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/web-bluetooth )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-21 10:19:18 -05:00
David Lechner
23566a7d4a
Check Web Bluetooth capabilities
...
This adds/improves checks for the various Web Bluetooth capabilities
that we are using and notifies the user when capabilities are missing.
2020-05-20 21:31:51 -05:00
David Lechner
3ae2fb2eef
wire up firmware flash progress
...
Also turn off logging and longer checksum interval to improve performance
94K movehub fw flashes in about 1:45
2020-05-20 19:57:23 -05:00
David Lechner
7ba99d62bb
github: make lftp verbose
...
also move the install to a separate step so it is easier to read the logs
2020-05-20 16:58:50 -05:00
David Lechner
1a57031dd7
github: drop cache
...
this doesn't seem to speed things up much, so let's remove it for now
2020-05-20 16:58:50 -05:00
David Lechner
19d9d9c29f
github: rename CI test job ID
...
This conflicts with the ID in build-dev.yml
2020-05-20 16:46:35 -05:00
David Lechner
0171255be9
fix lint error
2020-05-20 16:30:39 -05:00
David Lechner
8a90acde8b
add script for code coverage
...
It is not easy to remember --watchAll=false
https://github.com/facebook/create-react-app/issues/6888
2020-05-20 16:30:39 -05:00
dependabot-preview[bot]
9257053905
Bump @testing-library/user-event from 7.2.1 to 10.3.2
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 7.2.1 to 10.3.2.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Commits](https://github.com/testing-library/user-event/compare/v7.2.1...v10.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 15:06:04 -05:00
dependabot-preview[bot]
69a0175d5f
Bump @testing-library/react from 9.5.0 to 10.0.4
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 9.5.0 to 10.0.4.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v9.5.0...v10.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 15:00:06 -05:00
David Lechner
90817a1ae7
github: add CI for pull requests
...
and hacks to get tests working
2020-05-20 14:52:45 -05:00
dependabot-preview[bot]
cde8d6b764
Bump @types/jest from 24.9.1 to 25.2.3
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 24.9.1 to 25.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 13:19:32 -05:00
dependabot-preview[bot]
83460fd786
Bump node-sass from 4.14.0 to 4.14.1
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.14.0...v4.14.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-20 13:19:01 -05:00
David Lechner
01374b6890
update for react-dropzone API change
2020-05-20 13:08:34 -05:00