Commit Graph
1566 Commits
Author SHA1 Message Date
dependabot[bot]anddependabot-fix 6592625324 build(deps-dev): bump @typescript-eslint/parser from 5.30.7 to 5.31.0 (#1005)
* build(deps-dev): bump @typescript-eslint/parser from 5.30.7 to 5.31.0

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.30.7 to 5.31.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.31.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>

* [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-26 16:24:51 +00:00
dependabot[bot]anddependabot-fix dc669edcce build(deps): bump sass from 1.53.0 to 1.54.0 (#1004)
* build(deps): bump sass from 1.53.0 to 1.54.0

Bumps [sass](https://github.com/sass/dart-sass) from 1.53.0 to 1.54.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.53.0...1.54.0)

---
updated-dependencies:
- dependency-name: sass
  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-25 17:09:35 +00:00
268131922d build(deps): bump @blueprintjs/select from 4.5.0 to 4.5.1 (#1003)
* build(deps): bump @blueprintjs/select from 4.5.0 to 4.5.1

Bumps [@blueprintjs/select](https://github.com/palantir/blueprint/tree/HEAD/packages/select) from 4.5.0 to 4.5.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/select@4.5.1/packages/select)

---
updated-dependencies:
- dependency-name: "@blueprintjs/select"
  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-25 16:55:19 +00:00
dependabot[bot]anddependabot-fix c8e22ee770 build(deps): bump webpack from 5.73.0 to 5.74.0 (#1002)
* build(deps): bump webpack from 5.73.0 to 5.74.0

Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.74.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.74.0)

---
updated-dependencies:
- dependency-name: webpack
  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-25 16:19:45 +00:00
David Lechner de6c58ed77 Merge pull request #1001 from pybricks/dlech
small fixes
2022-07-22 16:31:06 -05:00
David Lechner 934330272f alerts/sagas: avoid reentrancy for dismiss
This fixes react complaining about calling setState from an invalid
context.
2022-07-22 15:29:11 -05:00
David Lechner e6782cb291 index: avoid more non-serializable dev tool errors 2022-07-22 15:07:10 -05:00
David Lechner 9d1f3651c5 alerts/actions: fix alertsShowAlert action with props 2022-07-22 14:45:47 -05:00
David Lechner e3430260f9 firmware/alerts/NoDfuHub: fix translation key 2022-07-22 14:03:33 -05:00
David Lechner 958a79b2ea Merge pull request #1000 from pybricks/dlech
i18n: use automatic type inference of translation keys
2022-07-22 13:54:44 -05:00
David Lechner d6df128860 i18n: use automatic type inference of translation keys
Finally figured out a way to make typescript strongly type translation
keys so we can avoid the tedium of creating enums of translation keys.
2022-07-22 13:48:50 -05:00
dependabot[bot]anddependabot-fix 3e10096b6e build(deps-dev): bump eslint-plugin-functional from 4.2.1 to 4.2.2 (#999)
* build(deps-dev): bump eslint-plugin-functional from 4.2.1 to 4.2.2

Bumps [eslint-plugin-functional](https://github.com/jonaskello/eslint-plugin-functional) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/jonaskello/eslint-plugin-functional/releases)
- [Changelog](https://github.com/jonaskello/eslint-plugin-functional/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonaskello/eslint-plugin-functional/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-functional
  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-22 16:37:12 +00:00
dependabot[bot]anddependabot-fix 74be608b28 build(deps): bump @svgr/webpack from 6.3.0 to 6.3.1 (#998)
* build(deps): bump @svgr/webpack from 6.3.0 to 6.3.1

Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: "@svgr/webpack"
  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-22 16:22:20 +00:00
David Lechner d357aade44 Merge pull request #997 from pybricks/dlech
dfu firmware flashing
2022-07-22 10:57:33 -05:00
David Lechner 61a3f58e54 Merge remote-tracking branch 'origin/master' into dlech 2022-07-22 10:51:12 -05:00
David Lechner e063627c73 yarn: update blueprints packages 2022-07-22 10:50:39 -05:00
David Lechner 6d07713eb5 firmware: implement flashing via USB DFU 2022-07-21 18:36:32 -05:00
David Lechner 28f63d5d85 utils/math: add crc32 function
This matches the STM32 hardware CRC.
2022-07-21 14:27:27 -05:00
dependabot[bot]anddependabot-fix c105deea39 build(deps): bump @blueprintjs/popover2 from 1.4.2 to 1.4.3 (#994)
* build(deps): bump @blueprintjs/popover2 from 1.4.2 to 1.4.3

Bumps [@blueprintjs/popover2](https://github.com/palantir/blueprint/tree/HEAD/packages/core) from 1.4.2 to 1.4.3.
- [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.3/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-21 16:22:36 +00:00
David Lechner bb6f86ff18 firmware/installPybricksDialog: add bootloader discrimination
Also fix license not showing for newer hubs.
2022-07-20 18:51:45 -05:00
David Lechner 709c3c554b bump @pybricks/firmware to 5.0.0
This contains a breaking change where main.py is now optional so we
have to handle that case.
2022-07-20 18:01:35 -05:00
David Lechner 1d2c55eba6 ble/alerts: move old firmware from notifications
also add button to open new install firmware dialog
2022-07-20 17:26:08 -05:00
David Lechner 25a0ce7633 Merge remote-tracking branch 'origin/master' into dlech 2022-07-20 17:25:32 -05:00
dependabot[bot]anddependabot-fix 9642a1f1b5 build(deps): bump @pybricks/firmware from 4.16.1 to 4.17.0 (#993)
* build(deps): bump @pybricks/firmware from 4.16.1 to 4.17.0

Bumps [@pybricks/firmware](https://github.com/pybricks/pybricks-micropython/tree/HEAD/npm/firmware) from 4.16.1 to 4.17.0.
- [Release notes](https://github.com/pybricks/pybricks-micropython/releases)
- [Changelog](https://github.com/pybricks/pybricks-micropython/blob/master/npm/firmware/CHANGELOG.md)
- [Commits](https://github.com/pybricks/pybricks-micropython/commits/HEAD/npm/firmware)

---
updated-dependencies:
- dependency-name: "@pybricks/firmware"
  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-20 21:31:41 +00:00
David Lechner 0721a24ef8 firmware/installPybricksDialog: fix some layout issues 2022-07-20 15:24:36 -05:00
David Lechner af8a31d50c firmware: add select picker for selecting custom main.py 2022-07-20 14:25:40 -05:00
David Lechner 85deb42f76 firmware: add multi-step dialog 2022-07-20 12:32:17 -05:00
dependabot[bot]anddependabot-fix d7dedf1d41 build(deps): bump @types/web-bluetooth from 0.0.14 to 0.0.15 (#992)
* build(deps): bump @types/web-bluetooth from 0.0.14 to 0.0.15

Bumps [@types/web-bluetooth](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-bluetooth) from 0.0.14 to 0.0.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/web-bluetooth)

---
updated-dependencies:
- dependency-name: "@types/web-bluetooth"
  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-20 16:39:27 +00:00
360f0acb0a build(deps): bump @svgr/webpack from 6.2.1 to 6.3.0 (#988)
* build(deps): bump @svgr/webpack from 6.2.1 to 6.3.0

Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v6.2.1...v6.3.0)

---
updated-dependencies:
- dependency-name: "@svgr/webpack"
  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>
Co-authored-by: David Lechner <david@pybricks.com>
2022-07-19 18:15:04 +00:00
dependabot[bot]anddependabot-fix 9edd6a9f60 build(deps): bump @types/jest from 28.1.5 to 28.1.6 (#989)
* build(deps): bump @types/jest from 28.1.5 to 28.1.6

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 28.1.5 to 28.1.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- 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-19 17:34:45 +00:00
dependabot[bot]anddependabot-fix 6717d6f22e build(deps): bump @babel/core from 7.18.6 to 7.18.9 (#991)
* build(deps): bump @babel/core from 7.18.6 to 7.18.9

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.6 to 7.18.9.
- [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.18.9/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>

* [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-19 17:21:27 +00:00
dependabot[bot]anddependabot-fix 0a4c734578 build(deps): bump @testing-library/user-event from 14.2.6 to 14.3.0 (#990)
* build(deps): bump @testing-library/user-event from 14.2.6 to 14.3.0

Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.2.6 to 14.3.0.
- [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.6...v14.3)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  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-19 17:09:12 +00:00
dependabot[bot]anddependabot-fix 09ee09be18 build(deps-dev): bump @typescript-eslint/parser from 5.30.6 to 5.30.7 (#987)
* build(deps-dev): bump @typescript-eslint/parser from 5.30.6 to 5.30.7

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.30.6 to 5.30.7.
- [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.7/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-19 16:55:33 +00:00
dependabot[bot]anddependabot-fix 8fa0b67412 build(deps): bump jest-mock-extended from 2.0.6 to 2.0.7 (#986)
* build(deps): bump jest-mock-extended from 2.0.6 to 2.0.7

Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases)
- [Commits](https://github.com/marchaos/jest-mock-extended/compare/2.0.6...2.0.7)

---
updated-dependencies:
- dependency-name: jest-mock-extended
  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-19 16:42:30 +00:00
dependabot[bot]anddependabot-fix 15ca362f45 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.30.6 to 5.30.7 (#985)
* 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.6 to 5.30.7.
- [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.7/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-19 16:29:45 +00: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
d5244da7ca build(deps-dev): bump eslint from 8.19.0 to 8.20.0 (#984)
* build(deps-dev): bump eslint from 8.19.0 to 8.20.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.19.0 to 8.20.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.19.0...v8.20.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  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>
Co-authored-by: David Lechner <david@pybricks.com>
2022-07-18 18:56:26 +00:00
David Lechner 2017f6bd91 Merge remote-tracking branch 'origin/master' into dlech 2022-07-18 13:30:30 -05:00
dependabot[bot]anddependabot-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