David Lechner
85deb42f76
firmware: add multi-step dialog
2022-07-20 12:32:17 -05:00
David Lechner
b70777178c
editor/sagas: avoid console noise in tests
2022-07-18 14:54:44 -05:00
David Lechner
cabd53ac49
ble/actions: drop fail to connect reason
...
This is not longer used and can be removed.
2022-07-18 14:51:42 -05:00
David Lechner
c0215aa3ec
ble/sagas: move console logging to saga
2022-07-18 14:46:04 -05:00
David Lechner
d3be7775b2
ble/alerts: move missing service from notifications
2022-07-18 14:43:30 -05:00
David Lechner
2017f6bd91
Merge remote-tracking branch 'origin/master' into dlech
2022-07-18 13:30:30 -05:00
dependabot[bot] and dependabot-fix
3d60f93fd5
build(deps): bump @testing-library/user-event from 14.2.5 to 14.2.6 ( #983 )
...
* build(deps): bump @testing-library/user-event from 14.2.5 to 14.2.6
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 14.2.5 to 14.2.6.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v14.2.5...v14.2.6 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-18 16:27:31 +00:00
David Lechner
5a77686e27
ble/alerts/NoGatt: move gatt message from notifications
2022-07-15 18:26:48 -05:00
David Lechner
bfdd7e728b
lwp3-bootloader/sagas-ble: remove obsolete comment
2022-07-15 18:05:48 -05:00
David Lechner
a86967573c
ble: add 1 second delay after connecting
...
This might help with some people that have connection issues where the
OS is still busy enumerating the device when we are trying to read
characteristics.
2022-07-15 18:05:48 -05:00
David Lechner
662a1ae097
ble/sagas: rework connect saga
...
This gets rid of a bunch of try/catch and repeated code.
2022-07-15 18:05:48 -05:00
David Lechner
bbe7eb4df3
ble: avoid aliases for UUID constants
2022-07-15 18:05:48 -05:00
David Lechner
15ecdf998d
ble/sagas: use alerts for unexpected error instead of notifications
2022-07-15 13:47:37 -05:00
David Lechner
ef0cd6507d
ble/alerts: move bluetooth not available from notifications
2022-07-15 13:19:31 -05:00
David Lechner
f86a9ad051
ble/alerts: move and improve no web bluetooth message
2022-07-15 13:16:53 -05:00
David Lechner
b2b173e103
utils/os: add Linux and iOS
...
Also update to navigator.userAgentData to avoid warnings from chromium.
2022-07-15 12:37:36 -05:00
dependabot[bot] and dependabot-fix
de39cc7d34
build(deps): bump browserslist from 4.21.1 to 4.21.2 ( #981 )
...
* build(deps): bump browserslist from 4.21.1 to 4.21.2
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.21.1 to 4.21.2.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.21.1...4.21.2 )
---
updated-dependencies:
- dependency-name: browserslist
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-15 16:54:46 +00:00
David Lechner
e9f9aca3ef
ble/sagas: don't spam console in tests
2022-07-15 11:42:44 -05:00
dependabot[bot] and dependabot-fix
039ad03a22
build(deps): bump @testing-library/user-event from 14.2.3 to 14.2.5 ( #982 )
...
* build(deps): bump @testing-library/user-event from 14.2.3 to 14.2.5
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 14.2.3 to 14.2.5.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v14.2.3...v14.2.5 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-15 16:41:33 +00:00
David Lechner
ecd32e61b9
ble/actions: namespace actions
...
This way we don't have to use aliases when importing.
2022-07-15 11:16:23 -05:00
David Lechner
25e86c2f60
ble/sagas: flatten tests
...
This removes much of the nesting in tests to make the code easier to
read. Also we can now add more coverage for all of the skipped error
paths.
2022-07-14 20:44:24 -05:00
David Lechner
af2386178d
ble/sagas: add basic test
...
This gets about 50% coverage of the ble sagas.
2022-07-14 18:15:34 -05:00
dependabot[bot] and dependabot-fix
8fec7d4eb5
build(deps): bump @testing-library/user-event from 14.2.1 to 14.2.3 ( #980 )
...
* build(deps): bump @testing-library/user-event from 14.2.1 to 14.2.3
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 14.2.1 to 14.2.3.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v14.2.1...v14.2.3 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-14 16:20:35 +00:00
dependabot[bot] and dependabot-fix
b3ac06e9ef
build(deps): bump jest and @types/jest ( #979 )
...
* build(deps): bump jest and @types/jest
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ). These dependencies needed to be updated together.
Updates `jest` from 28.1.2 to 28.1.3
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v28.1.3/packages/jest )
Updates `@types/jest` from 28.1.4 to 28.1.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: "@types/jest"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-13 17:08:10 +00:00
90db0846b3
build(deps): bump jest-environment-jsdom from 28.1.2 to 28.1.3 ( #977 )
...
* build(deps): bump jest-environment-jsdom from 28.1.2 to 28.1.3
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 28.1.2 to 28.1.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v28.1.3/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
Co-authored-by: David Lechner <david@pybricks.com >
2022-07-13 16:53:33 +00:00
dependabot[bot] and dependabot-fix
5708c4f5bb
build(deps): bump jest-resolve from 28.1.1 to 28.1.3 ( #976 )
...
* build(deps): bump jest-resolve from 28.1.1 to 28.1.3
Bumps [jest-resolve](https://github.com/facebook/jest/tree/HEAD/packages/jest-resolve ) from 28.1.1 to 28.1.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v28.1.3/packages/jest-resolve )
---
updated-dependencies:
- dependency-name: jest-resolve
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-13 16:26:23 +00:00
dependabot[bot] and dependabot-fix
8564ec2a1b
build(deps-dev): bump @typescript-eslint/parser from 5.30.5 to 5.30.6 ( #974 )
...
* build(deps-dev): bump @typescript-eslint/parser from 5.30.5 to 5.30.6
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.30.5 to 5.30.6.
- [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.30.6/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-12 18:11:10 +00:00
dependabot[bot] and dependabot-fix
503f31e22e
build(deps): bump tailwindcss from 3.1.5 to 3.1.6 ( #975 )
...
* build(deps): bump tailwindcss from 3.1.5 to 3.1.6
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss ) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.5...v3.1.6 )
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-12 17:56:19 +00:00
dependabot[bot] and dependabot-fix
2c8d2a581d
build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.30.5 to 5.30.6 ( #973 )
...
* build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.30.5 to 5.30.6.
- [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.30.6/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-12 16:27:24 +00:00
dependabot[bot] and dependabot-fix
27a9f07f26
build(deps): bump postcss-loader from 7.0.0 to 7.0.1 ( #972 )
...
* build(deps): bump postcss-loader from 7.0.0 to 7.0.1
Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader ) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases )
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/postcss-loader/compare/v7.0.0...v7.0.1 )
---
updated-dependencies:
- dependency-name: postcss-loader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-11 18:19:13 +00:00
David Lechner
daf2e6878f
Merge pull request #971 from pybricks/dependabot/npm_and_yarn/jest-watch-typeahead-2.0.0
...
build(deps): bump jest-watch-typeahead from 1.1.0 to 2.0.0
2022-07-11 12:55:03 -05:00
dependabot-fix
75a6dc3ebf
[dependabot skip] Fix yarn.lock
2022-07-11 17:47:31 +00:00
dependabot[bot]
685dc5fc9d
build(deps): bump jest-watch-typeahead from 1.1.0 to 2.0.0
...
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead ) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/jest-community/jest-watch-typeahead/releases )
- [Changelog](https://github.com/jest-community/jest-watch-typeahead/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/jest-watch-typeahead/compare/v1.1.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: jest-watch-typeahead
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-11 17:46:38 +00:00
dependabot[bot] and dependabot-fix
4915afe2d1
build(deps): bump browser-fs-access from 0.30.2 to 0.31.0 ( #970 )
...
* build(deps): bump browser-fs-access from 0.30.2 to 0.31.0
Bumps [browser-fs-access](https://github.com/GoogleChromeLabs/browser-fs-access ) from 0.30.2 to 0.31.0.
- [Release notes](https://github.com/GoogleChromeLabs/browser-fs-access/releases )
- [Commits](https://github.com/GoogleChromeLabs/browser-fs-access/compare/v0.30.2...v0.31.0 )
---
updated-dependencies:
- dependency-name: browser-fs-access
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-11 17:34:15 +00:00
dependabot[bot] and dependabot-fix
cd85700cac
build(deps): bump @testing-library/dom from 8.14.0 to 8.16.0 ( #969 )
...
* build(deps): bump @testing-library/dom from 8.14.0 to 8.16.0
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 8.14.0 to 8.16.0.
- [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.14.0...v8.16.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-11 16:21:12 +00:00
dependabot[bot] and dependabot-fix
3b8461020f
build(deps): bump tailwindcss from 3.1.4 to 3.1.5 ( #967 )
...
* build(deps): bump tailwindcss from 3.1.4 to 3.1.5
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.4...v3.1.5 )
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-08 16:46:53 +00:00
dependabot[bot] and dependabot-fix
577049c347
build(deps): bump @blueprintjs/popover2 from 1.4.1 to 1.4.2 ( #966 )
...
* build(deps): bump @blueprintjs/popover2 from 1.4.1 to 1.4.2
Bumps [@blueprintjs/popover2](https://github.com/palantir/blueprint/tree/HEAD/packages/core ) from 1.4.1 to 1.4.2.
- [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/popover2@1.4.2/packages/core )
---
updated-dependencies:
- dependency-name: "@blueprintjs/popover2"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-08 16:33:07 +00:00
David Lechner
31eda51f0d
Merge pull request #965 from pybricks/dlech
...
fixes
2022-07-06 18:02:31 -05:00
David Lechner
c3fec0b779
app: drop last focused feature
...
This feature that keeps track of last focused item in the activities
panel broke child dialogs like the about dialog.
Fixes: https://github.com/pybricks/support/issues/682
2022-07-06 17:56:08 -05:00
David Lechner
7232bf6153
add better error message when no files to backup
...
Instead of showing unexpected error, show message explaining that
there are no files to be backed up and how to fix it.
Fixes: https://github.com/pybricks/support/issues/681
2022-07-06 17:56:08 -05:00
David Lechner
1e0d44bbe4
Fixed deleting files that are not open in the editor.
2022-07-06 17:56:08 -05:00
David Lechner
2ed784f4cd
Merge pull request #964 from pybricks/dlech
...
fix error message when flashing firmware
2022-07-06 15:13:55 -05:00
David Lechner
2e555fb9fc
fix error message when flashing firmware
...
We missed a check for MPY ABI v6 compatibility.
v2.0.0-beta.3
2022-07-06 15:06:35 -05:00
dependabot[bot] and dependabot-fix
a6ccf2d673
build(deps-dev): bump @typescript-eslint/parser from 5.30.4 to 5.30.5 ( #962 )
...
* build(deps-dev): bump @typescript-eslint/parser from 5.30.4 to 5.30.5
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.30.4 to 5.30.5.
- [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.30.5/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-07-06 20:06:15 +00:00
David Lechner
07b0ac0ad9
Merge pull request #963 from pybricks/dlech
...
v2.0.0-beta.3
2022-07-06 14:49:05 -05:00
David Lechner
7c623325c7
v2.0.0-beta.3
2022-07-06 14:40:37 -05:00
David Lechner
ed0e6789b7
update to @pybricks/mpy-cross-v6@2.0.0
...
This fixes `mpy-cross.wasm` from the v6 package overwriting the same
file from the v5 package.
2022-07-06 14:34:48 -05:00
David Lechner
c4b0a9a781
add version to docs path
...
This adds the @pybricks/ide-docs package version to the static path.
This should ensure that we don't get a cached older version in the
browser when the ide-docs package is updated.
2022-07-06 14:17:53 -05:00
David Lechner
d548c20062
update Pybricks firmware to v3.2.0b2
2022-07-06 13:23:34 -05:00
David Lechner
90cd4865e8
Add support for MPY ABI v6.
...
Pybricks firmware v3.2.0b2 has updated to MicroPython 1.19 which
includes breaking changes to the MPY binary file format.
2022-07-06 12:51:01 -05:00