Commit Graph
568 Commits
Author SHA1 Message Date
dependabot[bot] 9faffaf2c9 Bump eslint from 7.18.0 to 7.19.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.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.18.0...v7.19.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 17:58:42 +00:00
David Lechner 2584082715 Merge pull request #282 from pybricks/dependabot/npm_and_yarn/craco/craco-6.1.0
Bump @craco/craco from 6.0.0 to 6.1.0
2021-02-01 11:52:59 -06:00
dependabot[bot] edb399eddc Bump @craco/craco from 6.0.0 to 6.1.0
Bumps [@craco/craco](https://github.com/gsoft-inc/craco) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/gsoft-inc/craco/releases)
- [Commits](https://github.com/gsoft-inc/craco/compare/v6.0.0...v6.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 17:43:12 +00:00
David Lechner 2218239ebe Merge pull request #284 from pybricks/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.14.1
Bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.14.1
2021-02-01 11:36:10 -06:00
dependabot[bot] 1980fefb0d Bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.14.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.0 to 4.14.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.14.1/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 17:22:22 +00:00
David Lechner a224f1c77f Merge pull request #288 from pybricks/dlech-patch-1
Create codeql-analysis.yml
2021-02-01 10:43:30 -06:00
David Lechner 6f36f3e8ac Create codeql-analysis.yml 2021-02-01 10:37:22 -06:00
David Lechner 9ab2becf65 Merge pull request #287 from pybricks/dlech
reorgainzation and tests
2021-02-01 10:31:07 -06:00
David Lechner cf489e4087 update dom and jest-dom testing libs 2021-02-01 10:26:07 -06:00
David Lechner 26c8a6eb1d update jest types 2021-02-01 10:26:07 -06:00
David Lechner d5eac9afbf more specific version of copy-webpack-plugin 2021-02-01 10:26:06 -06:00
David Lechner 9005e909ba refactor common context menu code 2021-02-01 10:26:06 -06:00
David Lechner 714cf8b8cb remove use of ContextMenuTarget from Terminal 2021-02-01 10:26:06 -06:00
David Lechner af964c04b4 use fake redux store in component tests 2021-02-01 10:26:06 -06:00
David Lechner 4b6817d9ad drop use of decorator for editor context menu 2021-02-01 10:26:06 -06:00
David Lechner 6ccb77a5ad add test for snippets 2021-02-01 10:26:06 -06:00
David Lechner 4c5adc20e7 add tests for AboutDialog 2021-02-01 10:26:06 -06:00
David Lechner 36596e9a00 add tests for StatusBar 2021-02-01 10:26:06 -06:00
David Lechner 2955fe1f24 add tests for lwp3-bootloader reducers 2021-02-01 10:26:06 -06:00
David Lechner 922dee31c2 add tests for licenses reducers 2021-02-01 10:26:05 -06:00
David Lechner b7061f63b4 add tests for firmware reducers 2021-02-01 10:26:05 -06:00
David Lechner 6ed5dca8ce add tests for editor reducers 2021-02-01 10:26:05 -06:00
David Lechner bf2bb5e81d add a failed to disconnect action 2021-02-01 10:26:05 -06:00
David Lechner d3e67950a6 add tests for ble reducers 2021-02-01 10:26:05 -06:00
David Lechner ad6e2b73cc make settings open/close local 2021-02-01 10:26:05 -06:00
David Lechner dd951bd4fc make about dialog open/close local 2021-02-01 10:26:05 -06:00
David Lechner 89523b3915 make license dialog state local 2021-02-01 10:26:05 -06:00
David Lechner e5073399a0 drop explicit state interfaces
This could cause subtle bugs like the one fixed here where license
was renamed to licenses.
2021-02-01 10:26:05 -06:00
David Lechner 650888bbf7 add app reducer tests 2021-02-01 10:26:05 -06:00
David Lechner 37b5ebd8f7 app pb-app- prefix to terminal-padding class 2021-02-01 10:26:05 -06:00
David Lechner 334668bdfb rework mobile view height 2021-02-01 10:26:05 -06:00
David Lechner 3c152a48ea remove extraneous console.log() 2021-02-01 10:26:05 -06:00
David Lechner a24c263789 move terminal dataSource to context
state should only hold serializeable data
2021-02-01 10:26:05 -06:00
David Lechner 0c20e52a45 don't allow optional args in actions
This can lead to subtle bugs.

Fixes firmware flash button not working.
2021-02-01 10:26:05 -06:00
David Lechner 6f204a65f6 reorganize src/ directory
Makes for much less scrolling/jumping around.

https://redux.js.org/style-guide/style-guide#structure-files-as-feature-folders-or-ducks
2021-02-01 10:26:05 -06:00
David Lechner b30c31f8b7 use shorthand form to map dispatches
https://redux.js.org/style-guide/style-guide#use-the-object-shorthand-form-of-mapdispatch-with-connect
2021-02-01 10:26:05 -06:00
David Lechner aa4e06bef4 move disclaimer to bottom of README 2021-02-01 10:26:05 -06:00
David Lechner 1c8acd3452 Merge pull request #279 from pybricks/dependabot/npm_and_yarn/react-ace-9.3.0
Bump react-ace from 9.2.1 to 9.3.0
2021-02-01 10:22:35 -06:00
dependabot[bot] 0fac1e6328 Bump react-ace from 9.2.1 to 9.3.0
Bumps [react-ace](https://github.com/securingsincity/react-ace) from 9.2.1 to 9.3.0.
- [Release notes](https://github.com/securingsincity/react-ace/releases)
- [Changelog](https://github.com/securingsincity/react-ace/blob/main/CHANGELOG.md)
- [Commits](https://github.com/securingsincity/react-ace/compare/v9.2.1...v9.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 16:15:44 +00:00
David Lechner 912ebf2004 Merge pull request #281 from pybricks/dependabot/npm_and_yarn/xterm-4.10.0
Bump xterm from 4.9.0 to 4.10.0
2021-02-01 10:09:01 -06:00
dependabot[bot] 00581a0db7 Bump xterm from 4.9.0 to 4.10.0
Bumps [xterm](https://github.com/xtermjs/xterm.js) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.9.0...4.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 13:50:16 +00:00
David Lechner 84c9bb11a4 Merge pull request #283 from pybricks/dependabot/npm_and_yarn/xterm-addon-fit-0.5.0
Bump xterm-addon-fit from 0.4.0 to 0.5.0
2021-02-01 07:42:54 -06:00
dependabot[bot] f37b15db48 Bump xterm-addon-fit from 0.4.0 to 0.5.0
Bumps [xterm-addon-fit](https://github.com/xtermjs/xterm.js) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.4...0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 07:12:48 +00:00
David Lechner 669cb1e9f9 Merge pull request #278 from pybricks/dlech
add ready for offline message
2021-01-28 21:05:56 -06:00
David Lechner 435e367cca add ready for offline message v1.0.0-beta.5 2021-01-28 21:01:42 -06:00
David Lechner 6ab8599e88 Merge pull request #277 from pybricks/dlech
final beta 5 updates
2021-01-28 20:52:46 -06:00
David Lechner 128be05761 v1.0.0-beta.5 2021-01-28 20:47:56 -06:00
David Lechner 8b3606c397 fix check for update button not showing
this happened when the app starts when it is already up to date
2021-01-28 20:37:51 -06:00
David Lechner 252c741180 add app install button 2021-01-28 20:21:20 -06:00
David Lechner e59bfd4474 add UI to manually check for update
This adds a button to call the ServiceWorkerRegistration.update()
function. This button will be hidden if there is already an update
pending.

This also adds a button to restart the app to apply the update. This
is nice in case users accidentally close the notification that asks
to restart.

The about button is moved to the new app group in the setting menu.
2021-01-28 15:37:40 -06:00