dependabot[bot]
8da27a4ed8
Bump @types/react-redux from 7.1.15 to 7.1.16
...
Bumps [@types/react-redux](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-redux ) from 7.1.15 to 7.1.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-redux )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-25 16:01:41 +00:00
David Lechner
123aa78f0a
Merge pull request #267 from pybricks/dependabot/npm_and_yarn/testing-library/user-event-12.6.2
...
Bump @testing-library/user-event from 12.6.0 to 12.6.2
2021-01-25 09:54:43 -06:00
dependabot[bot]
559dbc53cf
Bump @testing-library/user-event from 12.6.0 to 12.6.2
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.6.0 to 12.6.2.
- [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.6.0...v12.6.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-25 07:01:37 +00:00
David Lechner
1a5f224dfc
Merge pull request #262 from pybricks/dlech
...
github: add coverage build for master branch
2021-01-24 15:04:35 -06:00
David Lechner
19b898bb6c
github: add coverage build for master branch
2021-01-24 15:01:27 -06:00
David Lechner
306afc4a8e
Merge pull request #260 from pybricks/dlech
...
updates for beta 3
2021-01-24 14:15:09 -06:00
David Lechner
3214dbb169
v1.0.0-beta.3
v1.0.0-beta.3
2021-01-24 14:11:04 -06:00
David Lechner
de573407cb
Fix crash when tabbing through buttons
...
This fixes a crash caused by react-dropzone due to the fact that button
elements aren't compatible with whatever react-dropzone is looking for.
TypeError: rootRef.current.isEqualNode is not a function
(anonymous function)
node_modules/react-dropzone/dist/es/index.js:473
470 |
471 | var onKeyDownCb = useCallback(function (event) {
472 | // Ignore keyboard events bubbling up the DOM tree
> 473 | if (!rootRef.current || !rootRef.current.isEqualNode(event.target)) {
| ^ 474 | return;
475 | }
476 |
Wrapping it in a div element solves the problem.
Also disable tabIndex on the dropzone to prevent the button from being
focused twice when tabbing through the buttons.
2021-01-24 13:31:42 -06:00
David Lechner
5614bb1747
add check command to editor
...
This adds a check command ala Mu editor.
2021-01-24 12:27:16 -06:00
David Lechner
c209bdb1ac
replace settings icon with scaled up version
...
This is a scaled up version of the icon from blueprintsjs.
2021-01-24 11:27:40 -06:00
David Lechner
73f155d370
add Select All to editor context menu
2021-01-24 10:56:41 -06:00
David Lechner
fcb0bf3d9c
add Select All to terminal context menu
...
The usual keyboard shortcut of Ctrl-A is not allowed since that triggers
raw REPL mode in MicroPython.
2021-01-24 10:55:00 -06:00
David Lechner
9b0427fd33
allow selecting text in dialogs and toasts
...
It is useful to be able to copy this info when reporting bugs.
Issue: pybricks/pybricks-support#228
2021-01-24 10:39:43 -06:00
David Lechner
a9d827d21d
split didRequest and didFailToRequest
2021-01-23 19:34:49 -06:00
David Lechner
2049edf874
split didSend and didFailToSend actions
2021-01-23 19:22:02 -06:00
David Lechner
a41f2c0c46
Merge pull request #259 from pybricks/dlech
...
saga conversions
2021-01-23 19:07:49 -06:00
David Lechner
683cb02b5a
convert index sagas to typed-redux-saga/macro
2021-01-23 18:59:10 -06:00
David Lechner
3ba52e560d
convert terminal sagas to typed-redux-saga/macro
2021-01-23 18:58:26 -06:00
David Lechner
ca5bb8f2a5
convert mpy sagas to typed-redux-saga/macro
2021-01-23 18:52:43 -06:00
David Lechner
9f643f6a57
convert lwp3-bootloader-ble sagas to typed-redux-saga/macro
2021-01-23 18:51:22 -06:00
David Lechner
430643242e
convert hub sagas to typed-redux-saga/macro
2021-01-23 18:47:48 -06:00
David Lechner
cdea878e65
convert editor sagas to typed-redux-saga/macro
2021-01-23 18:35:44 -06:00
David Lechner
7be42b143a
convert ble-uart sagas to typed-redux-saga/macro
2021-01-23 18:34:02 -06:00
David Lechner
425390ef0b
convert lwp3-bootloader-protocol sagas to typed-redux-saga/macro
2021-01-23 18:30:55 -06:00
David Lechner
19d8f9ce3a
convert license sagas to typed-redux-saga/macro
2021-01-23 18:26:57 -06:00
David Lechner
97a2a6671b
convert error-log sagas to typed-redux-saga/macro
2021-01-23 18:25:17 -06:00
David Lechner
a862800dda
convert notification sagas to typed-redux-saga/macro
2021-01-23 18:24:23 -06:00
David Lechner
f51a0377a9
convert settings sagas to typed-redux-saga/macro
2021-01-23 18:21:15 -06:00
David Lechner
d578882031
convert app sagas to typed-redux-saga/macro
2021-01-23 18:19:15 -06:00
David Lechner
6e8629c838
ignore not-test code in coverage
2021-01-23 18:16:56 -06:00
David Lechner
9552e04830
Merge pull request #258 from pybricks/dlech
...
README: add some badges
2021-01-23 18:06:50 -06:00
David Lechner
2dae35702f
README: add some badges
2021-01-23 18:02:45 -06:00
David Lechner
997d2da50d
Merge pull request #257 from pybricks/dlech
...
github: publish tags instead of master branch
2021-01-23 18:02:17 -06:00
David Lechner
2082f3bf7d
github: publish tags instead of master branch
2021-01-23 17:54:59 -06:00
David Lechner
25cba2c29d
Merge pull request #256 from pybricks/dlech
...
version bump
2021-01-23 17:42:13 -06:00
David Lechner
d37459b3f7
version bump
2021-01-23 17:38:25 -06:00
David Lechner
1909e49b24
Merge pull request #254 from pybricks/dlech
...
improved firmware flash error handling
2021-01-23 17:36:52 -06:00
David Lechner
467627dc75
flash-firmware: drop error on fail to connect
...
This error is already handled elsewhere.
2021-01-23 17:29:43 -06:00
David Lechner
5d9040647b
fix two-level merging of state in tests
2021-01-23 15:46:20 -06:00
David Lechner
dcaf9f6ff4
fix checksum verification
...
the checksum returned by the hub is only one byte, so the 4-byte
checksum used in the firmware can't be used
2021-01-23 15:28:38 -06:00
David Lechner
5d1311216c
add notifications for firmware flash errors
2021-01-23 15:27:36 -06:00
David Lechner
1a6f77ece3
remove disconnectMonitor()
...
This fixes multiple didFailToFinish() actions for a single flash
firmware request in certain cases.
Since 783f7e2 is fixed, waitForDidRequest() will always return with
success or error. So when used alone, waitForDidRequest() will process
the error. When using race(waitForDidRequest(), waitForResponse()),
waitForResponse() will handle the error if it wins the race and cancel
waitForResponse().
2021-01-23 13:46:54 -06:00
David Lechner
819810e52a
add workaround for bluez notification issue
...
https://crbug.com/1170085
2021-01-23 13:36:33 -06:00
David Lechner
783f7e2337
fix write function being cancelled on disconnect
2021-01-22 20:25:01 -06:00
David Lechner
bf6d64c211
fix unbound method call
2021-01-22 19:03:37 -06:00
David Lechner
b5d3fe17da
add proper error handling for checksum mismatch
2021-01-22 18:54:43 -06:00
David Lechner
768762347a
add proper error handling for firmware flash size
2021-01-22 18:29:47 -06:00
David Lechner
4bbd1efad5
add proper error handling for init command error
2021-01-22 18:23:59 -06:00
David Lechner
3208faa7e6
add proper error handling for fail to fetch
2021-01-22 17:44:10 -06:00
David Lechner
b1883a9d1c
make sure we are getting coverage of checksum messages
2021-01-22 16:51:42 -06:00