Commit Graph
288 Commits
Author SHA1 Message Date
David Lechner 3943f149a5 update @shopify/react-i18n
Requires special handling since they are using .esnext file extension
for some reason.
2021-01-08 20:39:15 -06:00
David Lechner 2342023f71 use craco
This lets us modify some config without ejecting create-react-app.

This allows us to target esnext which works around a number of issues
with multi-targeted packages like blueprintsjs and react-i18n.
2021-01-08 18:05:51 -06:00
David Lechner f1588f9b61 Merge pull request #233 from pybricks/dlech
updates
2021-01-08 17:34:27 -06:00
David Lechner 7fc5142924 fix use of private type in i18n 2021-01-08 17:27:47 -06:00
David Lechner c146979429 upgrade typescript 2021-01-08 16:23:42 -06:00
David Lechner f171b4dfe5 Merge pull request #231 from pybricks/dlech
update packages
2021-01-08 15:18:05 -06:00
David Lechner 62350f2e6d update @testing-library/jest-dom 2021-01-08 15:11:02 -06:00
David Lechner 6ffa5b78f9 sort eslint in correct order 2021-01-08 15:07:45 -06:00
David Lechner cb4efe42e3 add prop-types dependency for react-splitter-layout 2021-01-08 15:03:33 -06:00
David Lechner 5a2315cfae Merge pull request #230 from pybricks/dlech
add @testing-library/dom package
2021-01-08 13:56:24 -06:00
David Lechner dd34a2170e Merge branch 'master' into dlech 2021-01-08 13:50:15 -06:00
David Lechner 6fbef7f305 Merge pull request #227 from pybricks/dependabot/npm_and_yarn/testing-library/react-11.2.3
Bump @testing-library/react from 10.4.9 to 11.2.3
2021-01-08 13:45:57 -06:00
David Lechner 17d40d4691 add @testing-library/dom package
peer dependency for @testing-library/user-event
2021-01-08 13:43:06 -06:00
dependabot[bot] 83d8730c59 Bump @testing-library/react from 10.4.9 to 11.2.3
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.9 to 11.2.3.
- [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.4.9...v11.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-08 19:41:14 +00:00
David Lechner 271bd003f9 Merge pull request #229 from pybricks/dlech
upgrade react-scripts
2021-01-08 13:40:21 -06:00
David Lechner ad20a836ed Merge remote-tracking branch 'origin/master' into dlech 2021-01-08 13:35:12 -06:00
David Lechner 6e72b2dc36 Merge pull request #224 from pybricks/dependabot/npm_and_yarn/testing-library/user-event-12.6.0
Bump @testing-library/user-event from 11.4.2 to 12.6.0
2021-01-08 13:34:37 -06:00
David Lechner 0d58a88c5b upgrade react-scripts
reverts 2b71b22
2021-01-08 13:31:33 -06:00
David Lechner 182033100a ignore .eslintcache
https://github.com/facebook/create-react-app/issues/10161
2021-01-08 13:31:11 -06:00
dependabot[bot] 0efd90a370 Bump @testing-library/user-event from 11.4.2 to 12.6.0
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 11.4.2 to 12.6.0.
- [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.2...v12.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-08 19:24:34 +00:00
David Lechner ba225348df Merge pull request #223 from pybricks/dlech
update packages
2021-01-08 13:15:03 -06:00
David Lechner d85229ad41 upgrade some @types 2021-01-08 13:09:14 -06:00
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