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
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
a5bbe243b8
yarn: upgrade react and react-dom and dedupe
2022-12-16 18:44:27 -06:00
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
f560370b51
explorer: fix file tree label
2022-12-16 17:54:36 -06:00
David Lechner
f0434b50ed
yarn: update react-complex-tree to v2.0.0
2022-12-16 17:54:36 -06:00
David Lechner
8d05a73770
editor: fix aria labels on tablist and tabpanel
2022-12-16 17:54:36 -06:00
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
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
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
017fe81c43
status-bar: code completion status button role
2022-12-16 17:54:36 -06:00
David Lechner
7b8970e90f
toolbar: add label for a11y
2022-12-16 17:54:36 -06:00
David Lechner
9e62259845
toolbar/ActionButton: use aria-disabled
...
Since buttons are only styled as disabled, we need to use aria-disabled
to tell screen readers that the button is disabled.
2022-12-16 17:54:36 -06:00
David Lechner
dc27d45f20
editor: hide welcome logo from screen readers
...
The welcome logo/animation is just for fun/looks so screen readers
don't need to know about it.
2022-12-16 17:54:36 -06:00
David Lechner
eb4dff4972
explorer: focus file tree when empty area clicked
...
This adds an event listener to catch focus events when clicking the
empty area below the file list. Users intuitively expect this to focus
the file list.
Fixes: https://github.com/pybricks/support/issues/856
2022-12-16 17:54:36 -06:00
David Lechner
d00297f53b
app: drop focus-within styling
...
This ended up causing dual focus rings which goes against ARIA recommendations.
2022-12-16 17:54:36 -06:00
David Lechner
a7c6f7abb1
toolbar: fix not focusing first button
...
This was missed in 85deb42f when the flash button was removed.
2022-12-16 17:54:36 -06:00
David Lechner
2810088889
app: add empty alternate to icons in scss
...
We are using font icons, so we don't want screen readers to try to read
them.
2022-12-16 17:54:36 -06:00
David Lechner
9944725be6
app: use aria landmark roles
...
This add use of the main and complementary roles (via semantic html
elements main and aside) to make it easy for assistive technologies
to jump to the major components of the app.
2022-12-16 17:54:36 -06:00
David Lechner
10079a4d14
terminal: exclude from keyboard tab focus
...
Since the terminal "steals" the tab key, we don't want to include it
in the keyboard tab list. It is still mouse focusable and we will
implement an landmark role for the terminal for assistive technologies.
2022-12-16 17:54:36 -06:00
David Lechner
b7a9c20cfe
app: remove use of deprecated iframe frameborder property
...
The recommended way to do this is to use style sheets instead.
2022-12-16 17:54:36 -06:00
David Lechner
303e768168
toolbar/ActionButton: improve focus ring visibility
...
Since the button and the focus ring are both blue, we need a gap in
order to have enough contrast to see the focus ring.
2022-12-16 17:54:36 -06:00
David Lechner
b85945ab1d
installPybricksDialog: fix heart icon
...
Use actual icon instead of unicode character. This way it renders the
same on all OSes.
2022-12-16 17:54:36 -06:00
Laurens Valk
1664a9d342
index.html: Add open graph tags.
2022-12-16 12:23:53 -06:00
Laurens Valk
a7f354a0d0
index.html: Update meta content.
...
Fixes https://github.com/pybricks/support/issues/845
2022-12-16 12:23:53 -06:00
Laurens Valk
6bc4dbbe99
toolbar/buttons: Copy edit.
2022-12-15 14:59:36 -06:00