Commit Graph
71 Commits
Author SHA1 Message Date
David Lechner 441d517a52 Rework web assembly inclusion
This moves the .wasm file out of the static/js/ folder and into the
source tree. This way we can import it and webpack will pick it up
and version the file with a hash.

This fixes possibly running with an out of date file from the browser
cache and also fixes running offline.

The file extension had to be changed because there is a default rule in
webpack that matches the .wasm extension and causes the following error:

    Failed to compile.

    ./src/sagas/mpy-cross.wasm
    Module parse failed: magic header not detected
    File was processed with these loaders:
    * ./node_modules/file-loader/dist/cjs.js
    You may need an additional loader to handle the result of these loaders.
    Error: magic header not detected

The webpack configuration cannot be modified without ejecting
create-react-app or using something like react-app-rewired, which we
would like to avoid.

Also using ncp to copy file now which fixes building on Windows.
2020-07-03 20:29:19 -05:00
David Lechner e7f9d55bc3 Update firmware to v3.0.0a4 2020-07-02 21:37:00 -05:00
David Lechner a0ec150231 yarn upgrade 2020-07-02 21:37:00 -05:00
David Lechner d44fcad411 yarn upgrade 2020-06-17 16:52:21 -05:00
dependabot-preview[bot] 369a15d604 Bump jszip from 3.4.0 to 3.5.0
Bumps [jszip](https://github.com/Stuk/jszip) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.4.0...v3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:34:07 -05:00
dependabot-preview[bot] c95e7e2493 Bump @testing-library/user-event from 11.4.1 to 11.4.2
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 11.4.1 to 11.4.2.
- [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/v11.4.1...v11.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:05:00 -05:00
dependabot-preview[bot] 3cfbf4856f Bump jest-mock-extended from 1.0.8 to 1.0.9
Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases)
- [Commits](https://github.com/marchaos/jest-mock-extended/compare/1.0.8...1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 07:50:21 -05:00
David Lechner 86ae9ab866 yarn update 2020-06-11 22:53:38 -05:00
David Lechner ba14910dae move ble epic to terminal saga
this is the last epic so removing redux-observable as well
2020-06-10 21:59:34 -05:00
David Lechner 5c3ec89e3b add test for editor saga 2020-06-10 21:59:34 -05:00
David Lechner e09fd8713f convert terminal from epic to saga 2020-06-10 21:59:34 -05:00
Laurens Valk 4c46f11722 pybricks firmware v3.0.0a3 2020-06-09 14:26:29 +02:00
dependabot-preview[bot] c67592a292 Bump @testing-library/react from 10.1.0 to 10.2.1
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.1.0 to 10.2.1.
- [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/v10.1.0...v10.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 21:02:09 -05:00
David Lechner e8ddf09323 add context menu 2020-06-08 20:56:00 -05:00
dependabot-preview[bot] f4ec78f5d6 Bump @shopify/react-i18n from 4.0.0 to 5.0.0
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n) from 4.0.0 to 5.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@5.0.0/packages/react-i18n)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 11:32:41 -05:00
dependabot-preview[bot] 51b0ff91bd Bump @testing-library/user-event from 11.0.1 to 11.2.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 11.0.1 to 11.2.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/v11.0.1...v11.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:01:24 -05:00
dependabot-preview[bot] 839f33c539 Bump typescript from 3.9.3 to 3.9.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.3 to 3.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.3...v3.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 08:50:53 -05:00
David Lechner 100e8342cd pybricks frimware v3.0.0a2 2020-06-07 18:59:02 -05:00
David Lechner d9211b5b10 switch to blueprintjs UI toolkit 2020-06-07 18:59:02 -05:00
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 6b3d1464bb Update @pybricks/firmware to v2.0.0
This is compatible with mpy-cross ABI v5.
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
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 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
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
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 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 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
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
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
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
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
dependabot-preview[bot] abff0e58b9 Bump react-dropzone from 10.2.2 to 11.0.1
Bumps [react-dropzone](https://github.com/react-dropzone/react-dropzone) from 10.2.2 to 11.0.1.
- [Release notes](https://github.com/react-dropzone/react-dropzone/releases)
- [Commits](https://github.com/react-dropzone/react-dropzone/compare/v10.2.2...v11.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 13:08:34 -05:00
dependabot-preview[bot] c4e1aa95c1 Bump @typescript-eslint/parser from 2.30.0 to 2.34.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) 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/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 13:00:01 -05:00
dependabot-preview[bot] 88d9ffa762 Bump @types/react-redux from 7.1.7 to 7.1.9
Bumps [@types/react-redux](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-redux) from 7.1.7 to 7.1.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-redux)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 12:59:20 -05:00
dependabot-preview[bot] 9837fb9e7c Bump react-transition-group from 4.3.0 to 4.4.1
Bumps [react-transition-group](https://github.com/reactjs/react-transition-group) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/reactjs/react-transition-group/releases)
- [Changelog](https://github.com/reactjs/react-transition-group/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reactjs/react-transition-group/compare/v4.3.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 12:58:46 -05:00