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
dependabot-preview[bot]
5b6d9d37a6
Bump react-ace from 9.1.2 to 9.1.3
...
Bumps [react-ace](https://github.com/securingsincity/react-ace ) from 9.1.2 to 9.1.3.
- [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.1.2...v9.1.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-24 15:46:33 -05:00
David Lechner
11bec2eb59
pybricks-micropython firmware v3.0.0a7
2020-08-22 10:16:54 -05:00
David Lechner
03acff8db7
yarn upgrade
2020-08-22 10:16:54 -05:00
dependabot-preview[bot]
0e3d06b7b2
Bump react-ace from 9.1.1 to 9.1.2
...
Bumps [react-ace](https://github.com/securingsincity/react-ace ) from 9.1.1 to 9.1.2.
- [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.1.1...v9.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-10 15:17:28 -05:00
David Lechner
1ac032497b
update to pybricks-micropython v3.0.0a6
2020-08-05 16:34:22 -05:00
dependabot-preview[bot]
6f0b0d5061
Bump @blueprintjs/core from 3.30.0 to 3.30.1
...
Bumps [@blueprintjs/core](https://github.com/palantir/blueprint/tree/HEAD/packages/core ) from 3.30.0 to 3.30.1.
- [Release notes](https://github.com/palantir/blueprint/releases )
- [Changelog](https://github.com/palantir/blueprint/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/palantir/blueprint/commits/@blueprintjs/core@3.30.1/packages/core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-03 12:23:12 -05:00
dependabot-preview[bot]
55457701a5
Bump eslint-plugin-react from 7.20.3 to 7.20.5
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.20.3 to 7.20.5.
- [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.20.3...v7.20.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-08-03 11:34:40 -05:00
dependabot-preview[bot]
1ceb59a459
Bump react-redux from 7.2.0 to 7.2.1
...
Bumps [react-redux](https://github.com/reduxjs/react-redux ) from 7.2.0 to 7.2.1.
- [Release notes](https://github.com/reduxjs/react-redux/releases )
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reduxjs/react-redux/compare/v7.2.0...v7.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-27 10:03:37 -05:00
dependabot-preview[bot]
1f45a32dc3
Bump typescript from 3.9.6 to 3.9.7
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 11:48:44 -05:00
dependabot-preview[bot]
10005c7211
Bump @blueprintjs/core from 3.29.0 to 3.30.0
...
Bumps [@blueprintjs/core](https://github.com/palantir/blueprint/tree/HEAD/packages/core ) from 3.29.0 to 3.30.0.
- [Release notes](https://github.com/palantir/blueprint/releases )
- [Changelog](https://github.com/palantir/blueprint/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/palantir/blueprint/commits/@blueprintjs/core@3.30.0/packages/core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 09:51:40 -05:00
David Lechner
68021545c5
Add Clear command to terminal context menu
...
Fixes pybricks/support#103
2020-07-17 20:40:00 -05:00
David Lechner
5c3727b3ce
Update @types/web-bluetooth
...
Now includes writeValueWithResponse and writeValueWithoutResponse
2020-07-15 13:17:40 -05:00
David Lechner
70d98511c2
Add screenshot to README
2020-07-15 13:01:56 -05:00
David Lechner
dff453af7b
firmware v3.0.0a5
2020-07-15 13:01:56 -05:00
David Lechner
4adb0763ec
yarn upgrade
2020-07-15 13:01:56 -05:00
David Lechner
6d998b9736
remove encoding snippets
2020-07-15 13:01:56 -05:00
David Lechner
a1d5fd531a
fix indentation of cityhub snippet
2020-07-15 13:01:56 -05:00
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
9cfc7c5bd1
wait for feedback more often during flashing
...
There have been some reports of firmware flashing not working with a
checksum timeout error, meaning that we probably overflowed a buffer
on the Bluetooth chip from sending data too fast.
We don't have info of the Bluetooth firmware so we are just guessing
here.
2020-07-02 21:37:00 -05:00