Commit Graph
266 Commits
Author SHA1 Message Date
David Lechner 7ebca7a13a upgrade react-redux 2021-01-08 13:09:14 -06:00
David Lechner d377ba0bb4 upgrade react-dropzone 2021-01-08 13:09:14 -06:00
David Lechner 87d4d1e20f add eslint dev dependency
fixes warnings

    warning " > eslint-plugin-import@2.22.1" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0".
    warning " > @typescript-eslint/parser@4.12.0" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0 || ^7.0.0".
    warning "@typescript-eslint/eslint-plugin > @typescript-eslint/experimental-utils@4.12.0" has unmet peer dependency "eslint@*".
    warning " > eslint-config-prettier@7.1.0" has unmet peer dependency "eslint@>=7.0.0".
    warning " > eslint-plugin-prettier@3.3.1" has unmet peer dependency "eslint@>=5.0.0".
    warning " > eslint-plugin-react@7.22.0" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7".
2021-01-08 13:09:14 -06:00
David Lechner fd24291706 upgrade ace 2021-01-08 13:09:14 -06:00
David Lechner a6a4132151 upgrade ace 2021-01-08 13:09:14 -06:00
David Lechner d7567233af upgrade xterm 2021-01-08 13:09:14 -06:00
David Lechner 4592c144e7 upgrade eslint and prettier 2021-01-08 13:09:14 -06:00
David Lechner 8856e1d3d3 upgrade blueprintsjs 2021-01-08 13:09:14 -06:00
David Lechner 0a4046eb09 Merge pull request #221 from pybricks/dependabot/npm_and_yarn/react-ace-9.2.1
Bump react-ace from 9.2.0 to 9.2.1
2021-01-08 12:36:34 -06:00
dependabot[bot] 0218687571 Bump react-ace from 9.2.0 to 9.2.1
Bumps [react-ace](https://github.com/securingsincity/react-ace) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/securingsincity/react-ace/releases)
- [Changelog](https://github.com/securingsincity/react-ace/blob/main/CHANGELOG.md)
- [Commits](https://github.com/securingsincity/react-ace/compare/v9.2.0...v9.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-08 18:16:26 +00:00
David Lechner d84dbc0ad6 Merge pull request #217 from pybricks/dependabot/add-v2-config-file
Create Dependabot config file
2021-01-08 12:15:04 -06:00
dependabot-preview[bot] 46a0605da8 Create Dependabot config file 2021-01-08 18:12:08 +00:00
David Lechner b64525f237 Merge pull request #216 from pybricks/dlech
firmware update
2021-01-08 11:38:23 -06:00
David Lechner a3d568d4b6 Pybricks firmware v3.0.0a13 2021-01-08 11:12:31 -06:00
David Lechner ae996453e8 drop polyfill for chromimum < v85
This removes the polyfill for using older chrome browsers before the
writeWithResponse and writeWithoutResponse APIs were added.
2020-12-21 13:05:47 -06:00
David Lechner 9071b17637 Merge pull request #215 from pybricks/dlech
fix timeout when firmware size is 10x packet size
2020-12-18 14:20:56 -06:00
David Lechner 223947a16e Merge branch 'master' into dlech 2020-12-18 14:17:37 -06:00
David Lechner 32f2120ec6 fix timeout when firmware size is 10x packet size
When the firmware blob is exactly a multiple of 10 times the packet
size, the last checksum request causes the reply to the last program
request to be missed (there is only a response from the hub to the very
last program request). The program response is received, then the
checksum response is received. Since the saga is waiting for the
checksum response first, the program response is discarded.

Fix by breaking out of the loop when the firmware has been fully
transferred before making the checksum request.

Fixes: pybricks/support#178
2020-12-18 14:09:54 -06:00
David Lechner c1a0a2db0c Merge pull request #214 from littldr/fix_broken_topbar_after_iframe_click
remove stickiness of toolbar to avoid breaking the layout
2020-12-13 16:36:12 -06:00
Andreas Litt de237b13f9 remove stickiness of toolbar to avoid breaking the layout
clicking on a link with a URI fragment (e.g. https://docs.pybricks.com/en/latest/parameters.html#pybricks.parameters.Port)
inside the documentation iframe breaks the layout.
The browser seems to force the parent frame to scroll to the position as well.
As the toolbar is fixed, the rest of the content is scrolled under it.
Rerendering after the link click fixes the layout (at least if done manually).
But a more elegant solutions is to remove the absolute positioning of the toolbar.
It is not really necessary to pin it, as the rest of the layout always
spans over the complete width and height of the browser window.
2020-12-13 21:58:08 +01:00
David Lechner 1c33f51041 Merge pull request #213 from littldr/clarify_how_to_contribute
Clarify how to contribute and point out github registry pitfall
2020-12-13 13:31:21 -06:00
Andreas Litt 838d0c88b7 Clarify how to contribute and point out github registry pitfall 2020-12-13 20:03:31 +01:00
David Lechner effca9e81b Merge pull request #212 from pybricks/dlech
pybricks-micropython v3.0.0a12
2020-12-11 16:58:12 -06:00
David Lechner 9ccf5f8eb4 pybricks-micropython v3.0.0a12 2020-12-11 16:53:44 -06:00
David Lechner 2d58456ff3 Merge pull request #211 from pybricks/dlech
Add keyboard shortcuts to action buttons
2020-12-10 21:41:53 -06:00
David Lechner 0cf3aad910 Add keyboard shortcuts to action buttons
Just run and stop button have keys assigned for now.
2020-12-10 21:37:21 -06:00
David Lechner 4a433b9e27 Merge pull request #210 from pybricks/dlech
add snippets for primehub and inventor hub
2020-12-10 17:16:23 -06:00
David Lechner 113243828f add snippets for primehub and inventor hub 2020-12-10 16:59:37 -06:00
David Lechner e358c8e5c0 Merge pull request #209 from pybricks/dlech
All CTRL+V in terminal
2020-12-10 16:34:07 -06:00
David Lechner 98feab2555 All CTRL+V in terminal
Fixes https://github.com/pybricks/support/issues/172
2020-12-10 16:28:43 -06:00
David Lechner 20ca3d1377 Merge pull request #208 from pybricks/dlech-patch-1
Create dependabot.yml
2020-12-10 15:36:39 -06:00
David Lechner 235a61a4c2 Create dependabot.yml 2020-12-10 15:31:22 -06:00
David Lechner 1571b8c37c Merge pull request #207 from pybricks/dlech
fix terminal losing focus after opening context menu
2020-12-10 15:23:18 -06:00
David Lechner a515754a11 Merge branch 'master' into dlech 2020-12-10 15:17:50 -06:00
David Lechner 91fbea13f4 fix terminal losing focus after opening context menu
Fixes https://github.com/pybricks/support/issues/170
2020-12-10 15:14:39 -06:00
dependabot-preview[bot] 8b74d38c87 [Security] Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 14:54:34 -06:00
David Lechner d0de569a64 yarn upgrade 2020-12-02 16:25:23 -06:00
David Lechner 2b71b22ffe github: unset CI for yarn build
Work around https://github.com/facebook/create-react-app/issues/9987
2020-11-20 22:11:07 -06:00
David Lechner 6852d56316 fix service worker after update to create-react-app 4
https://github.com/facebook/create-react-app/issues/9776
2020-11-20 22:11:07 -06:00
David Lechner 4ee50072a0 Update firmware to v3.0.0a11
Also take advantage of new helper functions in firmware package.
2020-11-20 21:08:53 -06:00
David Lechner 71ad9c1b1b Update to create-react-app 4
- had to update eslint deps
- ran into https://github.com/palantir/blueprint/issues/4112
- had to move beta.svg out of static/
- had to fix prettier formatting changes
- ran into https://github.com/facebook/jest/issues/7780
2020-11-20 21:08:53 -06:00
dependabot-preview[bot] b9175543fd Bump @types/web-bluetooth from 0.0.8 to 0.0.9
Bumps [@types/web-bluetooth](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-bluetooth) from 0.0.8 to 0.0.9.
- [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-11-09 10:16:26 -06:00
David Lechner 6e36a37008 Pybricks firmware v3.0.0a10 2020-11-09 10:10:41 -06:00
David Lechner a410f4806b yarn upgrade 2020-11-09 10:10:41 -06:00
David Lechner d69d76b548 use double-quotes on eslint glob
It doesn't work on Windows with single quotes.
2020-10-09 20:41:52 -05:00
David Lechner 4922f4e82e use mkdirp package for cross-platform
mkdir -p causes an error on windows
2020-10-09 20:41:52 -05:00
David Lechner c6c6f49e97 yarn upgrade 2020-10-09 20:41:52 -05:00
Laurens Valk 5561de530b Rename CPlusHub to TechnicHub 2020-10-09 20:26:52 -05:00
David Lechner 124a959527 pybricks-micropython firmware v3.0.0a8 2020-09-04 16:21:56 -05:00
David Lechner 1d3094e3df yarn upgrade 2020-09-04 16:21:56 -05:00