David Lechner
e5154013c3
v2.1.0-beta.2
v2.1.0-beta.2
2022-12-26 09:39:06 -06:00
David Lechner
212a3c85ff
package.json: update @pybricks/firmware@6.6.0
2022-12-26 09:36:24 -06:00
dependabot[bot]
6071bfe59d
build(deps): bump @testing-library/dom from 8.19.0 to 8.19.1 ( #1407 )
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 8.19.0 to 8.19.1.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases )
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v8.19.0...v8.19.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 06:15:06 +00:00
David Lechner
578a6afeab
Merge pull request #1406 from pybricks/dlech
...
v2.1.0-beta.1
2022-12-23 11:10:32 -06:00
David Lechner
90b7c2256e
v2.1.0-beta.1
v2.1.0-beta.1
2022-12-23 10:54:04 -06:00
dependabot[bot] and David Lechner
b33677a162
build(deps): bump @babel/core from 7.20.5 to 7.20.7 ( #1405 )
...
* build(deps): bump @babel/core from 7.20.5 to 7.20.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.20.5 to 7.20.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.20.7/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* yarn dedupe
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com >
2022-12-23 16:17:35 +00:00
dependabot[bot]
fc395415c7
build(deps): bump canvas from 2.10.2 to 2.11.0 ( #1404 )
...
Bumps [canvas](https://github.com/Automattic/node-canvas ) from 2.10.2 to 2.11.0.
- [Release notes](https://github.com/Automattic/node-canvas/releases )
- [Changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/node-canvas/compare/v2.10.2...v2.11.0 )
---
updated-dependencies:
- dependency-name: canvas
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-23 06:12:36 +00:00
David Lechner
d5bcb8c758
package: bump @pybricks/python-program-analysis to v2.0.0
...
This includes fixes for parsing additional Python syntax features
added since Python 3.4 that are implemented by MicroPython.
2022-12-22 18:01:27 -06:00
David Lechner
bb2fa3ae1d
package: switch to @pybricks/python-program-analysis
...
The package we were using was only for Python 3.4 and didn't include
async/await which broke imports in any script that used async/await.
Fixes: https://github.com/pybricks/support/issues/873
2022-12-22 13:21:02 -06:00
David Lechner
a77acc1001
firmware/bootloaderInstructions: hide video from tests
...
The video element makes a bunch of noise (console.error) in tests.
2022-12-22 13:21:02 -06:00
David Lechner
f083ad84ef
pybricksMicropython/lib: log parser errors
...
This makes it easier for users to diagnose errors.
Issue: https://github.com/pybricks/support/issues/873
2022-12-22 13:21:02 -06:00
Laurens Valk
44512c9533
firmware/bootloaderInstructions: Clarify hold button text.
2022-12-22 10:20:37 -06:00
David Lechner
48b99cb3a5
public/manifest: change display to "standalone"
...
"fullscreen" is for immersive apps like games (and is only available
on Android currently which is why we didn't notice the app going
fullscreen on desktop).
Fixes: https://github.com/pybricks/support/issues/867
2022-12-21 20:27:21 -06:00
David Lechner
b255a145e3
components/ViewHeightSensor: remove view height sensor
...
This appears to no longer be necessary for correct app height on Android.
2022-12-21 19:44:11 -06:00
David Lechner
27b8b1e428
editor: fix iOS keyboard button position
2022-12-21 19:44:11 -06:00
David Lechner
fc695b5b88
package: update xterm to v5.1.0
...
This updates xterm and the fit addon. (the dependabot update for v5.1.0
alone broke scrolling but it seems to be fixed with the fit addon update).
2022-12-21 16:28:17 -06:00
David Lechner
64b6251c1a
terminal: add audio/visual feedback when no user program
...
Characters typed into the terminal are only sent to the hub when a user
program is running. This provides audio and visual feedback to indicate
to the user that keystrokes have no effect when the user program is not
running.
2022-12-21 16:28:17 -06:00
David Lechner
808e6c0e85
firmware/bootloaderInstructions: use ol count attribute
...
Using styles for changing list starting numbers doesn't have good
cross-browser support. We can set the start count using the start
attribute of the ol element instead.
Issue: https://github.com/pybricks/support/issues/868
2022-12-21 16:28:17 -06:00
David Lechner
8c801adda5
Merge pull request #1397 from pybricks/dlech
...
v2.0.1
2022-12-21 13:43:44 -06:00
David Lechner
ef81bb2341
v2.0.1
v2.0.1
2022-12-21 13:27:33 -06:00
David Lechner
23db8f4d9b
terminal: fix input handler loop getting stuck
...
When no hub is connected, the terminal input handler loop would get
stuck waiting for didWrite or didFailToWrite which would never come
because handleWriteUart in ble/sagas only runs when a hub is connected.
This is fixed by only dispatching a write action if a user program is
running on the hub. By using this state, it also fixes characters being
buffered before the user program starts, e.g.
- connect hub
- type into terminal - no echo
- start the repl
- previously typed characters are echoed after the repl prompt
Now, anything typed before the user program is just ignored.
Fixes: https://github.com/pybricks/support/issues/865
Also properly fixes https://github.com/pybricks/support/issues/303
2022-12-21 12:40:47 -06:00
David Lechner
a12ae333f6
yarn: revert xterm to 5.0.0
...
xterm v5.1.0 broke scrolling so we lock in v5.0.0 for now.
2022-12-21 12:40:47 -06:00
David Lechner
2f4811e742
Merge pull request #1396 from pybricks/dlech
...
v2.0.0
2022-12-20 15:54:20 -06:00
David Lechner
49e9606321
v2.0.0
v2.0.0
2022-12-20 15:39:26 -06:00
David Lechner
358e893ec6
package: update @pybricks/firmware to v3.2.0
2022-12-20 15:39:26 -06:00
David Lechner
b366f777ca
tree-wide: fix version comparison
...
We were using satisfies in a few places where we should have just been
using a comparison operator.
2022-12-20 15:39:26 -06:00
David Lechner
25231012f6
firmware: consolidate back/next button props
...
This reduces duplicate code and fixes "Back" not being translated on
the last step.
2022-12-20 12:28:06 -06:00
David Lechner
56dbf57e25
firmware/dfuWindowsDriverInstallDialog: update notListed text
...
https://github.com/pybricks/pybricks-code/pull/1394#discussion_r1053615293
2022-12-20 12:16:49 -06:00
David Lechner
0c1fd4d30b
firmware/dfuWindowsDriverInstallDialog: add Back button translation
2022-12-20 12:15:54 -06:00
David Lechner
dd322b5aac
tree-wide: use noopener instead of noreferrer for target="_blank"
...
This will allow us to see when users click links to the pybricks.com
website from the app.
2022-12-20 12:09:04 -06:00
Laurens Valk
7277ddb1bd
firmware/dfuWindows: Split properties step.
...
There may be one of three situations, so split to a bullet list.
Also update a few other strings.
2022-12-20 12:09:04 -06:00
Laurens Valk
a7a0f5221b
firmware/alerts: Show correct instructions for Linux.
...
Also link to pybricks website for udev rules instead.
2022-12-20 12:09:04 -06:00
Laurens Valk
b6575c5724
firmware/alerts: Add button to install USB driver.
2022-12-20 12:09:04 -06:00
dependabot[bot]
ef2d01aefa
build(deps): bump @pybricks/ide-docs from 2.6.0 to 2.7.0 ( #1395 )
...
Bumps [@pybricks/ide-docs](https://github.com/pybricks/pybricks-api/tree/HEAD/npm/ide-docs ) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/pybricks/pybricks-api/releases )
- [Changelog](https://github.com/pybricks/pybricks-api/blob/master/npm/ide-docs/CHANGELOG.md )
- [Commits](https://github.com/pybricks/pybricks-api/commits/@pybricks/ide-docs/v2.7.0/npm/ide-docs )
---
updated-dependencies:
- dependency-name: "@pybricks/ide-docs"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 17:26:09 +00:00
dependabot[bot]
60286c16b7
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #1393 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.46.1 to 5.47.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 06:58:36 +00:00
dependabot[bot]
61d9ea1bdb
build(deps): bump xterm from 5.0.0 to 5.1.0 ( #1392 )
...
Bumps [xterm](https://github.com/xtermjs/xterm.js ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/5.0.0...5.1.0 )
---
updated-dependencies:
- dependency-name: xterm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 06:35:05 +00:00
dependabot[bot]
b99ee78a0c
build(deps-dev): bump @typescript-eslint/parser from 5.46.1 to 5.47.0 ( #1391 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.46.1 to 5.47.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 06:22:55 +00:00
dependabot[bot]
080a15b35d
build(deps): bump sass from 1.57.0 to 1.57.1 ( #1390 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.57.0 to 1.57.1.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.57.0...1.57.1 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 06:12:18 +00:00
David Lechner
45082163f0
github/workflows: add concurrency groups
...
This will cancel any ongoing workflows when we update a pull request.
2022-12-19 15:17:31 -06:00
David Lechner
5d3c74b777
firmware/dfuWindowsDriverInstallDialog: move instructions in app
...
This replaces the link for Windows DFU USB driver installation
instructions with a new in-app dialog containing the instructions.
Fixes: https://github.com/pybricks/support/issues/858
2022-12-19 15:17:31 -06:00
David Lechner
601b111ec4
config/licenses: drop fedorIndutnyLicense
...
We no longer have any dependencies from this author.
2022-12-19 15:17:31 -06:00
David Lechner
7b9509dbf0
utils/tree-renderer: drop react-complex-tree workaround
...
This bug was fixed in react-complex-tree v2.0.1.
2022-12-19 15:17:31 -06:00
dependabot[bot] and David Lechner
5afaa12df9
build(deps): bump react-aria from 3.21.0 to 3.22.0 ( #1385 )
...
* build(deps): bump react-aria from 3.21.0 to 3.22.0
Bumps [react-aria](https://github.com/adobe/react-spectrum ) from 3.21.0 to 3.22.0.
- [Release notes](https://github.com/adobe/react-spectrum/releases )
- [Commits](https://github.com/adobe/react-spectrum/compare/react-aria@3.21.0...react-aria@3.22.0 )
---
updated-dependencies:
- dependency-name: react-aria
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* config/licenses: add generic MIT for @swc/helpers
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com >
2022-12-19 16:14:38 +00:00
dependabot[bot]
cff9c61cde
build(deps): bump dotenv-expand from 9.0.0 to 10.0.0
...
Bumps [dotenv-expand](https://github.com/motdotla/dotenv-expand ) from 9.0.0 to 10.0.0.
- [Release notes](https://github.com/motdotla/dotenv-expand/releases )
- [Changelog](https://github.com/motdotla/dotenv-expand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/motdotla/dotenv-expand/compare/v9.0.0...v10.0.0 )
---
updated-dependencies:
- dependency-name: dotenv-expand
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-19 09:36:48 -06:00
dependabot[bot]
31e83277f0
build(deps): bump sass from 1.56.2 to 1.57.0 ( #1388 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.56.2 to 1.57.0.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.56.2...1.57.0 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 06:35:18 +00:00
dependabot[bot]
bd853dbf50
build(deps): bump react-complex-tree from 2.0.0 to 2.0.1 ( #1386 )
...
Bumps [react-complex-tree](https://github.com/lukasbach/react-complex-tree/tree/HEAD/packages/core ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/lukasbach/react-complex-tree/releases )
- [Commits](https://github.com/lukasbach/react-complex-tree/commits/2.0.1/packages/core )
---
updated-dependencies:
- dependency-name: react-complex-tree
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 06:25:44 +00:00
dependabot[bot]
99439da46f
build(deps-dev): bump eslint from 8.29.0 to 8.30.0 ( #1387 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.29.0 to 8.30.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.29.0...v8.30.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 06:15:59 +00:00
David Lechner
f4598db3a4
use console.error instead of console.log for unexpected errors
2022-12-17 14:04:12 -06:00
David Lechner
b8a1c70536
editor: remove console.log
...
This was from debugging and was missed.
2022-12-17 14:04:12 -06:00
David Lechner
9d71bb4734
eslint: enable react-hooks checks
...
Also fix all errors, which can lead to subtile bugs.
Mostly fixings deps and refactoring to make typescript happy.
2022-12-17 13:56:01 -06:00