David Lechner and 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 and 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 and David Lechner
27b8b1e428
editor: fix iOS keyboard button position
2022-12-21 19:44:11 -06:00
David Lechner and 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 and 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 and 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 and GitHub
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 and GitHub
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 and 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 and David Lechner
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 and David Lechner
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 and David Lechner
b6575c5724
firmware/alerts: Add button to install USB driver.
2022-12-20 12:09:04 -06:00
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
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
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
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
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 and 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 and 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 and 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 and 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
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] and David Lechner
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
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
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
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 and David Lechner
f4598db3a4
use console.error instead of console.log for unexpected errors
2022-12-17 14:04:12 -06:00
David Lechner and David Lechner
b8a1c70536
editor: remove console.log
...
This was from debugging and was missed.
2022-12-17 14:04:12 -06:00
David Lechner and 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
David Lechner and David Lechner
ee466ac904
yarn: update react-complex-tree to v2.0.0
...
Includes fixes for breaking changes.
2022-12-17 12:05:52 -06:00
Laurens Valk
8b3fa29f65
firmware/installPybricksDialog/translations: Copy edit.
...
This was missed earlier.
2022-12-17 10:31:40 +01:00
David Lechner and David Lechner
a5bbe243b8
yarn: upgrade react and react-dom and dedupe
2022-12-16 18:44:27 -06:00
David Lechner and David Lechner
0cb585b3e7
Revert "yarn: update react-complex-tree to v2.0.0"
...
This reverts commit f0434b50ed .
This requires react >= v18
2022-12-16 18:12:23 -06:00
David Lechner and David Lechner
f560370b51
explorer: fix file tree label
2022-12-16 17:54:36 -06:00
David Lechner and David Lechner
f0434b50ed
yarn: update react-complex-tree to v2.0.0
2022-12-16 17:54:36 -06:00
David Lechner and David Lechner
8d05a73770
editor: fix aria labels on tablist and tabpanel
2022-12-16 17:54:36 -06:00
David Lechner and David Lechner
0b84b825b6
fileStorage/hooks: fix deps on useFileStorageUuid
...
This way if the path changes, we get the correct result.
2022-12-16 17:54:36 -06:00
David Lechner and David Lechner
78b962d397
fileStorage/hooks: fix deps on useFileStoragePath
...
This way, if uuid changes, we get the correct result.
2022-12-16 17:54:36 -06:00
David Lechner and David Lechner
b38c302d7a
activities: fix aria-label on tablist
...
For some reason the compiler didn't give an error even though aria-label
was not a valid property.
2022-12-16 17:54:36 -06:00
David Lechner and David Lechner
017fe81c43
status-bar: code completion status button role
2022-12-16 17:54:36 -06:00
David Lechner and David Lechner
7b8970e90f
toolbar: add label for a11y
2022-12-16 17:54:36 -06:00