Commit Graph
169 Commits
Author SHA1 Message Date
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
David Lechner f4692d4134 style tweaks
making it looks a bit more like before the UI toolkit change
2020-06-07 19:24:25 -05:00
David Lechner 100e8342cd pybricks frimware v3.0.0a2 2020-06-07 18:59:02 -05:00
David Lechner d9211b5b10 switch to blueprintjs UI toolkit 2020-06-07 18:59:02 -05:00
Laurens Valk d0f5a42c85 app: allow doc videos to be full screen
Without this, the videos can be somewhat hard to see.
2020-06-05 16:47:38 +02:00
David Lechner 6c849b50f0 show notification on compile error 2020-06-04 12:55:34 -05:00
David Lechner 16b8f71d81 Fix MPY ABI version check
fixes: 6b3d1464bb
2020-06-04 11:53:59 -05:00
dependabot-preview[bot] 8431e0b965 Bump @testing-library/user-event from 10.4.1 to 11.0.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 10.4.1 to 11.0.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/v10.4.1...v11.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 11:40:48 -05:00
dependabot-preview[bot] 85ff2ed52d Bump @shopify/react-i18n from 3.0.2 to 4.0.0
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n) from 3.0.2 to 4.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@4.0.0/packages/react-i18n)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 11:34:31 -05:00
David Lechner ff1747df51 disable serviceWorker
This is just temporary, but making it work is not a priority right now.
2020-06-04 11:28:13 -05:00
David Lechner 6b3d1464bb Update @pybricks/firmware to v2.0.0
This is compatible with mpy-cross ABI v5.
2020-06-04 11:28:13 -05:00