dependabot-preview[bot]
8431e0b965
Bump @testing-library/user-event from 10.4.1 to 11.0.1
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 10.4.1 to 11.0.1.
- [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.4.1...v11.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-06-04 11:40:48 -05:00
dependabot-preview[bot]
85ff2ed52d
Bump @shopify/react-i18n from 3.0.2 to 4.0.0
...
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n ) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/Shopify/quilt/releases )
- [Changelog](https://github.com/Shopify/quilt/blob/master/packages/react-i18n/CHANGELOG.md )
- [Commits](https://github.com/Shopify/quilt/commits/@shopify/react-i18n@4.0.0/packages/react-i18n )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-06-04 11:34:31 -05:00
David Lechner
ff1747df51
disable serviceWorker
...
This is just temporary, but making it work is not a priority right now.
2020-06-04 11:28:13 -05:00
David Lechner
6b3d1464bb
Update @pybricks/firmware to v2.0.0
...
This is compatible with mpy-cross ABI v5.
2020-06-04 11:28:13 -05:00
David Lechner
c975613e1c
rename bootloader to lwp3-bootloader
...
we will probably have DFU bootloader in the future
2020-06-04 11:28:13 -05:00
David Lechner
d873ad2520
rename readme to contributing and expand it a bit
2020-06-04 11:28:13 -05:00
Laurens Valk
bbad88a502
Bump @pybricks/mpy-cross to v5
2020-06-04 13:21:18 +02:00
dependabot-preview[bot]
f30b6a31c7
Bump @types/redux-logger from 3.0.7 to 3.0.8
...
Bumps [@types/redux-logger](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/redux-logger ) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/redux-logger )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-06-01 11:28:20 -05:00
dependabot-preview[bot]
12643e3685
Bump @types/react-transition-group from 4.2.4 to 4.4.0
...
Bumps [@types/react-transition-group](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-transition-group ) from 4.2.4 to 4.4.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-transition-group )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-06-01 11:06:59 -05:00
Laurens Valk
5190ee3878
app: fix docs not hiding on small viewports
...
This broke when the nested containers were dropped.
Also change breakpoint from medium to large, so that docs only show in large viewports.
2020-06-01 13:20:30 +02:00
Laurens Valk
aa334c2d82
app: drop nested container
...
This achives the responsive editor height without a nested container.
2020-06-01 13:07:14 +02:00
Laurens Valk
2ee64e3711
app: update button icons
2020-05-29 10:24:05 -05:00
Laurens Valk
d04958bb01
app: configure environment color
...
Blue will be reserved for the buttons, not the borders
2020-05-29 10:24:05 -05:00
Laurens Valk
c302b8aa91
app: remove duplicate padding due nested row/col
2020-05-29 10:24:05 -05:00
Laurens Valk
f8fa09d866
app: show docs
...
Show only on large viewports, hide it on small viewports.
2020-05-29 10:24:05 -05:00
Laurens Valk
67de6c3af9
app: fill vertically & horizontally
...
Do not use a fixed height for the editor, but responsively scale to the remaining available height.
Also fill horizontally for a responsive layout. This gives us room to add left or right columns with docs or settings.
2020-05-29 10:24:05 -05:00
David Lechner
297faafc27
convert mpy to saga
...
- unit tests depend on bug fix in @pybricks/mpy-cross-v4
- removes last use of redux-thunk
2020-05-27 20:57:22 -05:00
David Lechner
0d30e113da
use i18n for buttons
2020-05-27 20:57:22 -05:00
David Lechner
24acab901c
remove use of thunk action in ble and hub
...
This is a step towards moving these to sagas
2020-05-27 20:57:22 -05:00
David Lechner
99fd62100d
rename open and save as buttons
2020-05-27 20:57:22 -05:00
David Lechner
9d789c13e1
add test for util.assert
2020-05-27 20:57:22 -05:00
David Lechner
59c14a3ad7
add test for util.hex
2020-05-27 20:57:22 -05:00
David Lechner
5da915851c
strongly type MessageId
...
This way we can add tests to ensure proper mapping in .json
2020-05-27 20:57:22 -05:00
David Lechner
c373b3abc5
begin rework of notifications
...
The notification reducer should decide when to display notifications rather than having notifications scattered throughout the code.
Also start using translations so that user-visible strings are not scattered in code.
2020-05-26 21:20:08 -05:00
David Lechner
ec05ad38aa
Add error logger service
2020-05-26 21:20:08 -05:00
David Lechner
6e4b22f841
Add common top-level Action type
...
This makes for better type inference.
2020-05-26 21:20:08 -05:00
David Lechner
6713afe198
Add util funciton to format as hex
2020-05-26 21:20:08 -05:00
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