Commit Graph
179 Commits
Author SHA1 Message Date
dependabot-preview[bot] 369a15d604 Bump jszip from 3.4.0 to 3.5.0
Bumps [jszip](https://github.com/Stuk/jszip) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.4.0...v3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:34:07 -05:00
dependabot-preview[bot] c95e7e2493 Bump @testing-library/user-event from 11.4.1 to 11.4.2
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 11.4.1 to 11.4.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/v11.4.1...v11.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:05:00 -05:00
dependabot-preview[bot] 3cfbf4856f Bump jest-mock-extended from 1.0.8 to 1.0.9
Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases)
- [Commits](https://github.com/marchaos/jest-mock-extended/compare/1.0.8...1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 07:50:21 -05:00
Laurens Valk 44607ca410 images: add support and pybricks docs buttons 2020-06-13 16:38:22 +02:00
Laurens Valk cab8b66117 images: remove local references 2020-06-13 16:38:22 +02:00
David Lechner 37a3967f3a fix race condition when flashing firmware
On Windows, we can get the GATT notification from the bootloader before
Windows says we are done writing to the characteristic. This was
observed on the erase and checksum messages with the Control+ hub.
2020-06-13 00:41:31 -05:00
David Lechner e0e2d98cd0 rename translation files
This fixes case-insensitive file name conflicts, e.g. editor.ts Editor.ts
2020-06-13 00:00:42 -05:00
David Lechner 712117c8d8 convert lwp3-bootloader from a service to a saga
For some reason this significantly improved bluetooth performance so we
had to readjust the frequency of getting the checksum. The new value
actually makes much more sense. It is unlikely that the bootloader
actually had an 8k buffer.
2020-06-12 21:46:00 -05:00
David Lechner 3f80374215 use new app startup action in terminal sagas 2020-06-12 21:46:00 -05:00
David Lechner 72a90df92a implement context menu in terminal 2020-06-12 21:46:00 -05:00
David Lechner 084fc4b599 implement CTRL+SHIFT+C to copy from terminal 2020-06-12 21:46:00 -05:00
David Lechner 9e0a567172 fix unused state props type 2020-06-12 21:46:00 -05:00
David Lechner 7a4c05a89a add support button 2020-06-12 21:46:00 -05:00
David Lechner 6e23262f06 fix spelling of firmware 2020-06-12 21:46:00 -05:00
David Lechner 95a98241e8 simplify editor getter 2020-06-12 21:46:00 -05:00
David Lechner dd146b5f36 fix binding of editor reference
This was causing resizing of the editor to not work properly
2020-06-12 21:46:00 -05:00
David Lechner 1e0ef476ef Add docs toggle button 2020-06-12 21:46:00 -05:00
David Lechner bda007c17a convert ble service to saga 2020-06-11 22:53:38 -05:00
David Lechner f3425e2f0f rename BLEData to BleUart
These actions all relate specifically to the nRF UART GATT service
2020-06-11 22:53:38 -05:00
David Lechner 802f2bc05d use type = instead of interface extends
for consistency
2020-06-11 22:53:38 -05:00
David Lechner 86ae9ab866 yarn update 2020-06-11 22:53:38 -05:00
David Lechner 7509c329d6 fix editor scroll bar on first load
It seems that some container of the Editor component is breaking the
resize calculation when the page firsts loads. So we have to be bit
hacky and defer the call the resize until after all components have
been rendered.
2020-06-11 10:06:16 -05:00
David Lechner c3d4a07053 fix TextEncoder/TextDecoder on CI
was working locally but not on CI for some reason
2020-06-10 21:59:34 -05:00
David Lechner ba14910dae move ble epic to terminal saga
this is the last epic so removing redux-observable as well
2020-06-10 21:59:34 -05:00
David Lechner 34184785c8 convert hub service and epic to saga 2020-06-10 21:59:34 -05:00
David Lechner 367d8a6178 remove buffers.expanding()
according to the docs, this is the default
2020-06-10 21:59:34 -05:00
David Lechner 61a5eb6039 add xor8 checksum
we are starting with 0xff like all known LEGO checksums of this style.
2020-06-10 21:59:34 -05:00
David Lechner 818e7867ee globally handle no-unused-vars 2020-06-10 21:59:34 -05:00
David Lechner 292f2d83d2 convert error log from service to saga 2020-06-10 21:59:34 -05:00
David Lechner 17cb5a32d5 convert editor service to saga 2020-06-10 21:59:34 -05:00
David Lechner 5c3ec89e3b add test for editor saga 2020-06-10 21:59:34 -05:00
David Lechner 31c3e2b52e refactor common test helpers into test/
This way we can share them with multiple tests
2020-06-10 21:59:34 -05:00
David Lechner 8ba4143fa7 Throttle BLE messages from terminal
This makes the terminal more efficient by combining individual characters into a single message. Also (mostly) fixes overring the hub and locking it up.
2020-06-10 21:59:34 -05:00
David Lechner a411bfc92d improve serialization of BLE writes 2020-06-10 21:59:34 -05:00
David Lechner e09fd8713f convert terminal from epic to saga 2020-06-10 21:59:34 -05:00
David Lechner 314904605c drop bootloader flash state
this was not being used anywhere
2020-06-09 23:51:32 -05:00
David Lechner 07d0b5ef39 split firmware flashing from lwp3-bootloader
BLE won't always be the only way to flash firmware
2020-06-09 23:51:32 -05:00
David Lechner 6d81da0df0 Show notification when program is changed in another window 2020-06-09 23:51:32 -05:00
David Lechner f721f959f0 do soft reset after connecting
When we first connect, we don't know what state the hub is in. This adds
a new state for that called Unknown and sends a stop request as soon
as we connect to try to get to a known state.
2020-06-09 23:51:32 -05:00
Laurens Valk 4c46f11722 pybricks firmware v3.0.0a3 2020-06-09 14:26:29 +02:00
dependabot-preview[bot] c67592a292 Bump @testing-library/react from 10.1.0 to 10.2.1
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.1.0 to 10.2.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.1.0...v10.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 21:02:09 -05:00
David Lechner 67f9202fb6 use session storage instead of local storage
This will allow use of multiple tabs/windows
2020-06-08 20:56:00 -05:00
David Lechner b6be163ccb refactor lookup function 2020-06-08 20:56:00 -05:00
David Lechner e8ddf09323 add context menu 2020-06-08 20:56:00 -05:00
David Lechner 89f93b0faf add i18n to editor 2020-06-08 20:56:00 -05:00
dependabot-preview[bot] f4ec78f5d6 Bump @shopify/react-i18n from 4.0.0 to 5.0.0
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/Shopify/quilt/releases)
- [Changelog](https://github.com/Shopify/quilt/blob/master/packages/react-i18n/CHANGELOG.md)
- [Commits](https://github.com/Shopify/quilt/commits/@shopify/react-i18n@5.0.0/packages/react-i18n)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 11:32:41 -05:00
dependabot-preview[bot] 51b0ff91bd Bump @testing-library/user-event from 11.0.1 to 11.2.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 11.0.1 to 11.2.1.
- [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/v11.0.1...v11.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:01:24 -05:00
dependabot-preview[bot] 839f33c539 Bump typescript from 3.9.3 to 3.9.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.3 to 3.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.3...v3.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 08:50:53 -05:00
David Lechner 2a3e9caa90 Add some missing license headers 2020-06-07 21:39:58 -05:00
David Lechner 0940226a4d use utility classes
similar to how bootstrap works
2020-06-07 21:39:58 -05:00