Commit Graph
723 Commits
Author SHA1 Message Date
David Lechner 38fc062214 firmware v3.0.0 2021-06-08 14:10:48 -05:00
Laurens Valk 87b42e2e02 Bump @pybricks/ide-docs from 1.3.2 to 1.3.3
This brings in the updated code snippet style.

Also includes a new example for use in a video tutorial.
2021-05-21 14:17:32 +02:00
David Lechner 3245fc5853 Merge pull request #431 from pybricks/dlech
add .gitattibutes
2021-05-17 14:49:32 -05:00
David Lechner b50a23969c add .gitattibutes 2021-05-17 14:45:35 -05:00
David Lechner 4ace43709d Merge pull request #430 from pybricks/dlech
RC2
2021-05-17 14:26:25 -05:00
David Lechner a47dbc10b2 v1.0.0-rc.2 v1.0.0-rc.2 2021-05-17 14:16:16 -05:00
David Lechner deee6578f7 improved bluetooth adapter error message
Issue: https://github.com/pybricks/support/issues/338
2021-05-17 13:24:57 -05:00
David Lechner 12f3f40e36 use spinner when bluetooth is connecting
It can take a while (especially on Windows) before the connection is
ready and the other buttons become enabled. So use a spinner to let
the user know that we are working on it.

Issue: https://github.com/pybricks/support/issues/315
2021-05-17 13:03:32 -05:00
David Lechner 1279370fc8 Fix firmware flash button not disabled while connecting
We were using the wrong state variable to detect when BLE is disconnected.
We care about the BLE connection state, not the hub runtime state here.

Issue: https://github.com/pybricks/support/issues/315#issuecomment-841486591
2021-05-17 12:44:30 -05:00
David Lechner 89968ab40e Merge pull request #428 from pybricks/dlech
firmware: add windows BLE hacks
2021-05-17 09:36:00 -05:00
David Lechner 956b6f3c96 firmware: add windows BLE hacks
This works around some issues that have been observed on a specific
Windows computer.

Issue: https://github.com/pybricks/support/issues/256
2021-05-16 16:18:34 -05:00
David Lechner b001748f95 Merge pull request #424 from pybricks/dlech
use overflow: hidden on splitter panes
2021-05-11 14:44:08 -05:00
David Lechner 1ae9befab8 Merge branch 'master' into dlech 2021-05-11 14:40:41 -05:00
David Lechner 4da6f7e368 use overflow: hidden on splitter panes
This fixes problems with double scroll bars showing up.

Fixes: https://github.com/pybricks/pybricks-code/issues/406
Fixes: https://github.com/pybricks/pybricks-code/issues/407
v1.0.0-rc.1
2021-05-11 14:38:04 -05:00
David Lechner 877c2157c1 Merge pull request #421 from pybricks/dlech
RC1
2021-05-11 13:12:27 -05:00
David Lechner c346498d78 github: update tag matching for rc 2021-05-11 13:08:15 -05:00
David Lechner 423f6c9a9c v1.0.0-rc.1 2021-05-11 13:03:44 -05:00
David Lechner fa57a5b7ba firmware v3.0.0c1 2021-05-11 12:48:07 -05:00
David Lechner ec6753c314 yarn lint
rules seem to have changed a bit after upgrading packages
2021-05-11 12:45:43 -05:00
David Lechner efb86b5a5c drop @types/jszip
upstream package now contains typings
2021-05-11 12:43:07 -05:00
David Lechner 9c007817b1 yarn update 2021-05-11 12:42:32 -05:00
David Lechner d2771aaa05 Merge pull request #414 from pybricks/dlech
bump linter version
2021-04-26 14:18:14 -05:00
David Lechner 73f583e144 bump linter version 2021-04-26 14:14:13 -05:00
David Lechner 4c802e811f Merge pull request #412 from pybricks/dlech
beta 15
2021-04-26 13:50:43 -05:00
David Lechner ed9eba8f72 v1.0.0-beta.15 v1.0.0-beta.15 2021-04-26 13:46:45 -05:00
David Lechner b10537678d update Pybricks docs 2021-04-26 13:46:20 -05:00
David Lechner ac73004fea yarn upgrade 2021-04-26 13:44:19 -05:00
David Lechner 9fe23d6d7b Update firmware to v3.0.0b6 2021-04-26 13:39:20 -05:00
David Lechner 0bd90e76d1 Merge pull request #404 from pybricks/dlech
beta 14
2021-04-12 16:50:42 -05:00
David Lechner debd259df5 v1.0.0-beta.14 v1.0.0-beta.14 2021-04-12 16:46:33 -05:00
David Lechner e8c4472e50 Add progress bar for user program download. 2021-04-12 16:24:36 -05:00
David Lechner 028a7dc549 Merge pull request #403 from pybricks/dlech
beta 13
2021-04-12 13:55:07 -05:00
David Lechner 0f56fa0b82 v1.0.0-beta.13 v1.0.0-beta.13 2021-04-12 13:49:58 -05:00
David Lechner aa6394fdc2 Pybricks firmware v3.0.0b5 2021-04-12 13:49:05 -05:00
David Lechner 1964c9c485 Add timeout while waiting for checksum
This adds a timeout while waiting for the checksum from the hub when
downloading and running a program. Without this, we can get stuck in
the "loading" state if the hub doesn't respond as expected. This can
happen, for example, if a program is started with the hub button at the
same time as the start button in Pybricks Code is pressed.

Issue: https://github.com/pybricks/support/issues/301
2021-04-12 13:24:10 -05:00
David Lechner 0d89f8daad Disable flash button when hub is connected.
Fixes: https://github.com/pybricks/support/issues/299
2021-04-12 10:34:59 -05:00
Laurens Valk 90e04916bc Bump @pybricks/ide-docs from 1.1.1 to 1.3.1 2021-04-12 11:27:40 +02:00
David Lechner 800acf5081 Merge pull request #395 from pybricks/dlech
Fix <p> element on notification action
2021-04-07 13:26:50 -05:00
David Lechner f39dea36fe Fix <p> element on notification action
55e724e8d8 introduced <p> elements on
notifications. however this is undesirable on the notification action
text. This splits the Notification component into one that is pre change
and one that is post change.

Fixes #394
2021-04-07 13:19:52 -05:00
David Lechner a21b8e8bab Merge pull request #393 from pybricks/dlech
beta 12
2021-04-07 12:37:29 -05:00
David Lechner 23c3190a13 v1.0.0-beta.12 v1.0.0-beta.12 2021-04-07 12:33:16 -05:00
David Lechner 7f9e6bd4db Fix download and run race condition
It was possible for a program to start and finish running before the
final checksum message was received, which resulted in a bad state
(run button disabled).

This fixes it by using proper didStart/didFinish/didFailToFinish
actions for the download saga and updates the reducer to handle all
cases.
2021-04-07 12:28:36 -05:00
David Lechner decf3e909d Merge pull request #391 from pybricks/dlech
beta 11
2021-04-07 11:37:59 -05:00
David Lechner c9dcf63475 Merge branch 'master' into dlech 2021-04-07 11:35:01 -05:00
David Lechner d75103c2a1 v1.0.0-beta.11 v1.0.0-beta.11 2021-04-07 11:29:22 -05:00
David Lechner a081c4a798 Fix download and run race condition
This fixes a race condition where the hub program running status flag
is received before the last checksum from the download process.

Issue: https://github.com/pybricks/support/issues/290
2021-04-07 11:27:40 -05:00
David Lechner 7a8dab1bb4 Merge pull request #389 from pybricks/dlech
yarn upgrade
2021-04-06 14:29:47 -05:00
David Lechner 3b1f6eb555 yarn upgrade 2021-04-06 14:25:56 -05:00
David Lechner 595cb05b04 Merge pull request #388 from pybricks/dlech
beta 10
2021-04-06 13:55:49 -05:00
David Lechner 8456450934 v1.0.0-beta.10 v1.0.0-beta.10 2021-04-06 13:50:59 -05:00