David Lechner
9f254f035f
i18n: use babel-loader plugin
2022-03-25 15:54:04 -05:00
David Lechner
45d0b4071a
spelling
2022-03-25 15:54:04 -05:00
David Lechner
b16298b08f
explorer/renameFileDialog: isolate
...
This provides more separation between the explorer and the rename file
dialog. This makes writing tests easier and make reading the code easier.
2022-03-25 15:54:04 -05:00
dependabot[bot]
2938bb1584
build(deps): bump typescript from 4.6.2 to 4.6.3
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-25 16:26:18 +00:00
dependabot[bot]
8604b6ea75
build(deps-dev): bump prettier from 2.6.0 to 2.6.1
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.6.0 to 2.6.1.
- [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.6.0...2.6.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-25 16:16:29 +00:00
dependabot[bot]
683977f795
build(deps): bump @testing-library/jest-dom from 5.16.2 to 5.16.3
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.16.2 to 5.16.3.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.2...v5.16.3 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 17:16:16 +00:00
dependabot[bot]
12683176a7
build(deps): bump @testing-library/dom from 8.11.3 to 8.11.4
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 8.11.3 to 8.11.4.
- [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.11.3...v8.11.4 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 16:47:57 +00:00
dependabot[bot]
66930658db
build(deps): bump @types/web-bluetooth from 0.0.13 to 0.0.14
...
Bumps [@types/web-bluetooth](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-bluetooth ) from 0.0.13 to 0.0.14.
- [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 >
2022-03-22 16:31:09 +00:00
David Lechner
549fe88a00
fileStorage/actions: fix duplicate type
2022-03-21 20:19:43 -05:00
dependabot[bot]
db1d6a31ea
build(deps-dev): bump prettier from 2.5.1 to 2.6.0
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.5.1 to 2.6.0.
- [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.5.1...2.6.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-21 16:24:00 +00:00
dependabot[bot]
6d228fcb2e
build(deps): bump canvas from 2.9.0 to 2.9.1
...
Bumps [canvas](https://github.com/Automattic/node-canvas ) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/Automattic/node-canvas/releases )
- [Changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/node-canvas/compare/v2.9.0...v2.9.1 )
---
updated-dependencies:
- dependency-name: canvas
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-21 16:15:26 +00:00
David Lechner
7abdcf85e7
LicenseDialog: make license list keyboard accessible
2022-03-19 21:20:02 -05:00
David Lechner
1802bcf796
explorer: push file name validation to parents
...
This gets rid of the weird unknown state and other problems of trying
to push state from a child back to a parent.
2022-03-19 18:21:00 -05:00
David Lechner
9de4227ec1
explorer: use keyboard accessible tree
2022-03-19 18:21:00 -05:00
David Lechner
d6d5b8826e
yarn: update to blueprintjs 4
2022-03-17 14:13:44 -05:00
David Lechner
38bfaf262b
downgrade react-error-overlay
...
https://github.com/facebook/create-react-app/issues/11880#issuecomment-1005409614
2022-03-17 11:08:31 -05:00
David Lechner
887623c675
app/App: fix SplitterPane escaping container
...
https://stackoverflow.com/a/49210016/1976323
2022-03-17 11:08:31 -05:00
David Lechner
22f0db27da
use FocusStyleManager
...
this is better than the css hack
2022-03-17 11:08:31 -05:00
David Lechner
c3c9a8fd7c
improve dialog accessability
2022-03-17 11:08:31 -05:00
David Lechner
46faff981d
toolbar: add label to buttons
...
This improves accessability by letting us get buttons by the label.
2022-03-16 15:24:48 -05:00
David Lechner
f9c1f7084c
drop FileSaver
...
browser-fs-access already includes fallbacks to the file storage api
so we don't have to provide our own.
2022-03-16 14:59:10 -05:00
David Lechner
6062517dec
fileStorage/sagas: use pythonFileMimeType
...
Missed an instance where text/x-python was hard-coded.
2022-03-16 13:22:42 -05:00
David Lechner
f17e32af61
settings/SettingsDrawer: work around tooltip bug
2022-03-16 13:07:10 -05:00
dependabot[bot]
f1c211dcfe
build(deps): bump @shopify/react-i18n from 6.3.12 to 6.3.13
...
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n ) from 6.3.12 to 6.3.13.
- [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.3.13/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 >
2022-03-16 17:21:36 +00:00
David Lechner
45d4491312
eslintrc: ignore config files
2022-03-16 11:34:34 -05:00
David Lechner
aafdca3991
typo
2022-03-16 10:25:08 -05:00
David Lechner
d72ef77fec
Merge remote-tracking branch 'origin/master' into dlech
2022-03-16 10:21:58 -05:00
David Lechner
cb3f22fc9b
settings/SettingsDrawer: do not focus hub name label
2022-03-15 21:49:34 -05:00
David Lechner
675d01013d
utils/react: drop preventFocusOnClick
...
We can fix this better with css tweaks.
2022-03-15 21:39:24 -05:00
David Lechner
e4b2f735cf
craco/LicensePlugin: add @pybricks/ide-docs
...
This isn't referenced in code, so it isn't picked up automatically.
2022-03-15 20:27:11 -05:00
David Lechner
644ac4cb5e
licenses/LicenseDialog: use Tree instead of ButtonGroup
2022-03-15 20:13:49 -05:00
David Lechner
57cd40d9dd
licenses: finish NonIdealState TODO
2022-03-15 18:49:12 -05:00
David Lechner
d1090d01d6
licenses: replace sagas/reducers with useFetch hook
2022-03-15 18:37:06 -05:00
David Lechner
a4660e979c
settings: switch to useTernaryDarkMode
...
useDarkMode kept reverting back to the system default during development
2022-03-15 17:40:46 -05:00
David Lechner
7726dbe01d
settings: convert hubName to react hook
2022-03-15 17:25:20 -05:00
David Lechner
861ea34d86
settings: convert flashCurrentProgram to react hook
2022-03-15 16:54:49 -05:00
David Lechner
d18ad41e39
settings: add about dialog button test
2022-03-15 15:53:03 -05:00
David Lechner
6cfc37b947
settings: use react hook for showDocs setting
...
The moves the setting from redux state to a react hook.
2022-03-15 15:35:45 -05:00
David Lechner
9518a21241
settings: replace darkMode with useDarkMode hook
...
This is a minor breaking change for users that don't have dark mode
set to the default value since the localStorage key has changed (hard-
coded in 3rd party library).
2022-03-14 16:39:17 -05:00
David Lechner
062968ed9d
yarn: patch mq-polyfill
...
Works around https://github.com/bigslycat/mq-polyfill/issues/7
2022-03-14 16:30:29 -05:00
David Lechner
8ce99c8e34
yarn: complete migration
...
https://yarnpkg.com/getting-started/migration#step-by-step
2022-03-14 15:15:29 -05:00
David Lechner
5816ca32eb
yarn: begin migration to 3.x
...
https://yarnpkg.com/getting-started/migration#step-by-step
2022-03-14 15:04:38 -05:00
David Lechner
187a973fa3
app: fix terminal padding background color
2022-03-14 13:26:51 -05:00
David Lechner
a92a989ded
app: useLocalStorage
...
This simplifies the code a bit by using the useLocalStorage hook.
2022-03-14 12:55:38 -05:00
David Lechner
6c55588d7a
app: fix layout
...
The explorer was getting pushed off of the screen when typing long lines
in the editor.
2022-03-14 12:39:42 -05:00
dependabot[bot]
e9aa0d82d9
build(deps-dev): bump eslint-plugin-react from 7.29.3 to 7.29.4
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.29.3 to 7.29.4.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.29.3...v7.29.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-14 16:27:30 +00:00
dependabot[bot]
9d370a5311
build(deps): bump @types/web-bluetooth from 0.0.12 to 0.0.13
...
Bumps [@types/web-bluetooth](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-bluetooth ) from 0.0.12 to 0.0.13.
- [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 >
2022-03-14 16:17:05 +00:00
David Lechner
c75f3720f5
editor: drop EditorContext
...
We want to rely less on directly accessing the editor object.
2022-03-12 18:29:56 -06:00
David Lechner
ceeb34436f
monaco-extension: add types for internal methods
2022-03-12 18:18:17 -06:00
David Lechner
ecbcb09846
hub/ReplButton: convert to function component
2022-03-12 16:18:38 -06:00