David Lechner
ad948dc152
editor: copy python language configuration
...
This copies the language configuration from https://github.com/microsoft/monaco-languages/blob/d7cc098c481059f63d51ce3753975c8ca8ab6030/src/python/python.ts
This fixes a number of editor features, like auto-indent.
Fixes: https://github.com/pybricks/pybricks-code/issues/470
2021-07-08 15:55:50 -05:00
David Lechner
4b0dc90e8d
editor: improve template snippets
...
- fix always being suggested
- add more imports
- reduce duplicated code
Fixes https://github.com/pybricks/pybricks-code/issues/471
2021-07-08 15:55:03 -05:00
dependabot[bot]
e829da130e
build(deps): bump @types/web-bluetooth from 0.0.9 to 0.0.10
...
Bumps [@types/web-bluetooth](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-bluetooth ) from 0.0.9 to 0.0.10.
- [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 >
2021-07-06 11:36:03 -05:00
dependabot[bot]
65d5a90103
build(deps-dev): bump eslint from 7.29.0 to 7.30.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.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 >
2021-07-06 11:26:16 -05:00
dependabot[bot]
4af0beb925
build(deps): bump @craco/craco from 6.1.2 to 6.2.0
...
Bumps [@craco/craco](https://github.com/gsoft-inc/craco ) from 6.1.2 to 6.2.0.
- [Release notes](https://github.com/gsoft-inc/craco/releases )
- [Commits](https://github.com/gsoft-inc/craco/compare/v6.1.2...v6.2.0 )
---
updated-dependencies:
- dependency-name: "@craco/craco"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-06 11:17:30 -05:00
David Lechner
f9d354e988
CHANGELOG: fix typo
2021-07-06 11:03:48 -05:00
dependabot[bot]
52c98c2a41
build(deps): bump web-vitals from 2.0.1 to 2.1.0
...
Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/GoogleChrome/web-vitals/releases )
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md )
- [Commits](https://github.com/GoogleChrome/web-vitals/compare/v2.0.1...v2.1.0 )
---
updated-dependencies:
- dependency-name: web-vitals
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-06 11:02:51 -05:00
David Lechner
fcb68901cb
v1.1.0-beta.2
2021-07-06 10:53:56 -05:00
David Lechner
3d6383ae49
Pybricks firmware v3.1.0a2
2021-07-06 10:53:56 -05:00
David Lechner
4e2902730a
hub: fix buttons not enabled after connection
...
A previous commit broke buttons after connecting since state all state
transitions were changed to be ignored if the current state was
"disconnected". This made it impossible to get into any other state.
This brings back use of the "unknown" state upon initial connection
to provide a path out of the "disconnected" state.
Fixes: 7a5aa75894
2021-07-06 10:53:56 -05:00
David Lechner
d95c550248
editor: change from ace to monaco
...
This replaces the ace editor with the monaco editor. It fixes quite a
few small paper-cut bugs and should be easier to add code completion
to in the future.
Many of the snippets are omitted but can be added back later if needed.
Otherwise, we have tried to preserve the existing look and feel as much
as possible.
2021-07-02 20:59:09 -05:00
David Lechner
c3851e7139
tests: use matchMedia polyfill
...
This makes testing code that uses window.matchMedia() work better since
it mocks it globally.
2021-07-02 20:59:09 -05:00
dependabot[bot]
fbc4ecadbe
build(deps): bump typescript from 4.3.4 to 4.3.5
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.4...v4.3.5 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-01 14:37:51 -05:00
dependabot[bot]
5999a8ca66
build(deps): bump @pybricks/ide-docs from 1.4.0 to 1.5.0
...
Bumps [@pybricks/ide-docs](https://github.com/pybricks/pybricks-api/tree/HEAD/doc/ide ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/pybricks/pybricks-api/releases )
- [Changelog](https://github.com/pybricks/pybricks-api/blob/master/doc/ide/CHANGELOG.md )
- [Commits](https://github.com/pybricks/pybricks-api/commits/@pybricks/ide-docs/v1.5.0/doc/ide )
---
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 >
2021-07-01 14:30:03 -05:00
dependabot[bot]
173a2b0073
build(deps): bump @shopify/react-i18n from 6.0.3 to 6.0.4
...
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n ) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/Shopify/quilt/releases )
- [Changelog](https://github.com/Shopify/quilt/blob/main/packages/react-i18n/CHANGELOG.md )
- [Commits](https://github.com/Shopify/quilt/commits/@shopify/react-i18n@6.0.4/packages/react-i18n )
---
updated-dependencies:
- dependency-name: "@shopify/react-i18n"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-01 14:23:16 -05:00
dependabot[bot]
bfd5ed053d
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 4.28.0 to 4.28.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.1/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 >
2021-07-01 13:54:11 -05:00
dependabot[bot]
38c0e8b960
build(deps): bump @types/react from 16.14.8 to 16.14.10
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.14.8 to 16.14.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-01 13:45:23 -05:00
dependabot[bot]
38f5f1132f
build(deps-dev): bump prettier from 2.3.1 to 2.3.2
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.3.1...2.3.2 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-01 13:37:48 -05:00
dependabot[bot]
631accac75
build(deps): bump @testing-library/dom from 8.0.0 to 8.1.0
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 8.0.0 to 8.1.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.0.0...v8.1.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 >
2021-07-01 13:30:34 -05:00
dependabot[bot]
2295075092
build(deps-dev): bump @typescript-eslint/parser from 4.28.0 to 4.28.1
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.28.0 to 4.28.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.1/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 >
2021-07-01 13:23:50 -05:00
dependabot[bot]
6c9633f30d
build(deps): bump react-dropzone from 11.3.2 to 11.3.4
...
Bumps [react-dropzone](https://github.com/react-dropzone/react-dropzone ) from 11.3.2 to 11.3.4.
- [Release notes](https://github.com/react-dropzone/react-dropzone/releases )
- [Commits](https://github.com/react-dropzone/react-dropzone/compare/v11.3.2...v11.3.4 )
---
updated-dependencies:
- dependency-name: react-dropzone
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-01 13:15:44 -05:00
David Lechner
fab6085e87
CHANGELOG: update for previous release
...
Apparently forgot to do this at release time.
2021-07-01 12:31:55 -05:00
David Lechner
00712e5c72
CHANGELOG: add entry for 7a5aa75
2021-07-01 12:31:55 -05:00
David Lechner
4aba07b1cd
Merge pull request #453 from pybricks/dlech
...
fix run button when hub disconnects during download
2021-07-01 12:05:16 -05:00
David Lechner
7a5aa75894
hub: fix bad hub runtime state when disconnected
...
This fixes a bad hub runtime state when the hub disconnects during a
download. This caused the run button in the UI to be enabled when the
hub was disconnected.
Issue: https://github.com/pybricks/support/issues/378
2021-07-01 11:58:04 -05:00
David Lechner
99166abb96
Merge branch 'master' of github.com:pybricks/pybricks-code into dlech
2021-06-24 12:03:19 -05:00
David Lechner
9f4a41de3b
Merge pull request #447 from pybricks/dependabot/npm_and_yarn/node-sass-6.0.1
...
build(deps): bump node-sass from 6.0.0 to 6.0.1
2021-06-24 11:14:24 -05:00
dependabot[bot]
38c9cbb8fe
build(deps): bump node-sass from 6.0.0 to 6.0.1
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v6.0.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: node-sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-24 16:10:57 +00:00
David Lechner
ed361a48e9
Merge pull request #445 from pybricks/dependabot/npm_and_yarn/testing-library/react-12.0.0
...
build(deps): bump @testing-library/react from 11.2.7 to 12.0.0
2021-06-23 16:42:02 -05:00
dependabot[bot]
72385bc8f0
build(deps): bump @testing-library/react from 11.2.7 to 12.0.0
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.2.7 to 12.0.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.2.7...v12.0.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-23 21:39:02 +00:00
David Lechner
f09e3bcaf2
Merge pull request #426 from pybricks/dependabot/npm_and_yarn/testing-library/user-event-13.1.9
...
build(deps): bump @testing-library/user-event from 12.8.3 to 13.1.9
2021-06-23 16:34:28 -05:00
dependabot[bot]
486cb0c170
build(deps): bump @testing-library/user-event from 12.8.3 to 13.1.9
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.8.3 to 13.1.9.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.8.3...v13.1.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-23 21:30:22 +00:00
David Lechner
af5b1e7af7
Merge pull request #446 from pybricks/dependabot/npm_and_yarn/typescript-4.3.4
...
build(deps): bump typescript from 4.2.4 to 4.3.4
2021-06-23 16:25:56 -05:00
dependabot[bot]
2cb18f74a3
build(deps): bump typescript from 4.2.4 to 4.3.4
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.2.4 to 4.3.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-23 21:23:08 +00:00
David Lechner
0e77791e90
Merge pull request #444 from pybricks/dependabot/npm_and_yarn/shopify/react-i18n-6.0.3
...
build(deps): bump @shopify/react-i18n from 5.4.0 to 6.0.3
2021-06-23 16:12:03 -05:00
dependabot[bot]
efe445a3c4
build(deps): bump @shopify/react-i18n from 5.4.0 to 6.0.3
...
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n ) from 5.4.0 to 6.0.3.
- [Release notes](https://github.com/Shopify/quilt/releases )
- [Changelog](https://github.com/Shopify/quilt/blob/main/packages/react-i18n/CHANGELOG.md )
- [Commits](https://github.com/Shopify/quilt/commits/@shopify/react-i18n@6.0.3/packages/react-i18n )
---
updated-dependencies:
- dependency-name: "@shopify/react-i18n"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-23 21:08:38 +00:00
David Lechner
5af34884ce
Merge pull request #441 from pybricks/dependabot/npm_and_yarn/testing-library/dom-8.0.0
...
build(deps): bump @testing-library/dom from 7.31.2 to 8.0.0
2021-06-23 16:02:59 -05:00
dependabot[bot]
fadb01c5e5
build(deps): bump @testing-library/dom from 7.31.2 to 8.0.0
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 7.31.2 to 8.0.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/v7.31.2...v8.0.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-23 20:59:36 +00:00
David Lechner
1c30726086
Merge pull request #443 from pybricks/dependabot/npm_and_yarn/web-vitals-2.0.1
...
build(deps): bump web-vitals from 1.1.2 to 2.0.1
2021-06-23 15:56:40 -05:00
dependabot[bot]
62f487b211
build(deps): bump web-vitals from 1.1.2 to 2.0.1
...
Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals ) from 1.1.2 to 2.0.1.
- [Release notes](https://github.com/GoogleChrome/web-vitals/releases )
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md )
- [Commits](https://github.com/GoogleChrome/web-vitals/compare/v1.1.2...v2.0.1 )
---
updated-dependencies:
- dependency-name: web-vitals
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-23 20:53:18 +00:00
David Lechner
a555725523
Merge pull request #422 from pybricks/dependabot/npm_and_yarn/node-sass-6.0.0
...
build(deps): bump node-sass from 4.14.1 to 6.0.0
2021-06-23 15:46:38 -05:00
David Lechner
ab0ddd04b5
about/AboutDialog: fix failing test when $REACT_APP_NAME set
...
When the `REACT_APP_NAME` environment variable is set to something other
that "Pybricks Code", it caused the test to fail.
v1.1.0-beta.1
2021-06-23 15:12:07 -05:00
dependabot[bot]
166d6a35af
build(deps): bump node-sass from 4.14.1 to 6.0.0
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.14.1 to 6.0.0.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.14.1...v6.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-23 20:06:23 +00:00
David Lechner
518b6d930c
Merge pull request #440 from pybricks/dlech
...
v1.1.0-beta.1
2021-06-23 15:03:31 -05:00
David Lechner
c108fe8ecc
v1.1.0-beta.1
2021-06-23 14:59:33 -05:00
David Lechner
6d9ce8f1e2
github: override app name for beta releases
...
Also upload everything to beta subdomain (beta subdomain will be used as
"staging" for stable release as well).
2021-06-23 14:57:00 -05:00
David Lechner
944770fa98
public/manifest: use variables for program name
...
This requires a craco hack due to https://github.com/facebook/create-react-app/issues/7953
2021-06-23 14:28:59 -05:00
David Lechner
411e8e64d5
CHANGELOG: update for 7cfd362
2021-06-23 13:16:44 -05:00
Laurens Valk
10b2db2cb2
Bump @pybricks/ide-docs from 1.3.3 to 1.4.0
...
Includes 3.X doc features for next beta release.
2021-06-23 13:15:34 -05:00
David Lechner
98809eff8e
yarn upgrade
2021-06-23 12:40:56 -05:00