Commit Graph
32 Commits
Author SHA1 Message Date
David Lechner f4cb69f995 add setting to flash current user program 2021-01-14 18:03:04 -06:00
David Lechner a48f3f381e convert settings to do/did action pattern 2021-01-14 15:12:49 -06:00
David Lechner b15b2e1dea move docs toggle to settings 2021-01-14 10:55:00 -06:00
David Lechner d7dbaaa12d add dark mode setting 2021-01-11 23:36:48 -06:00
David Lechner 41a1cee092 change support button to settings button
and add new empty settings drawer
2021-01-11 23:36:48 -06:00
David Lechner 7fc5142924 fix use of private type in i18n 2021-01-08 17:27:47 -06:00
David Lechner ae996453e8 drop polyfill for chromimum < v85
This removes the polyfill for using older chrome browsers before the
writeWithResponse and writeWithoutResponse APIs were added.
2020-12-21 13:05:47 -06:00
David Lechner b3d2d94b78 update link for more info when app is updated
For now this is just linking to a github issue until we get a proper
changelog.
2020-06-15 14:53:16 -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 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 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
David Lechner d9211b5b10 switch to blueprintjs UI toolkit 2020-06-07 18:59:02 -05:00
David Lechner 6c849b50f0 show notification on compile error 2020-06-04 12:55:34 -05:00
David Lechner c975613e1c rename bootloader to lwp3-bootloader
we will probably have DFU bootloader in the future
2020-06-04 11:28:13 -05:00
David Lechner 24acab901c remove use of thunk action in ble and hub
This is a step towards moving these to sagas
2020-05-27 20:57:22 -05:00
David Lechner 5da915851c strongly type MessageId
This way we can add tests to ensure proper mapping in .json
2020-05-27 20:57:22 -05:00
David Lechner c373b3abc5 begin rework of notifications
The notification reducer should decide when to display notifications rather than having notifications scattered throughout the code.

Also start using translations so that user-visible strings are not scattered in code.
2020-05-26 21:20:08 -05:00
David Lechner 6e4b22f841 Add common top-level Action type
This makes for better type inference.
2020-05-26 21:20:08 -05:00
David Lechner 2854ab422b Rename BLE connect actions
This matches the naming patter used in other files.
2020-05-24 20:00:13 -05:00
David Lechner dd9d789e9a license 2020-05-22 19:54:48 -05:00
David Lechner 23566a7d4a Check Web Bluetooth capabilities
This adds/improves checks for the various Web Bluetooth capabilities
that we are using and notifies the user when capabilities are missing.
2020-05-20 21:31:51 -05:00
David Lechner 3ae2fb2eef wire up firmware flash progress
Also turn off logging and longer checksum interval to improve performance

94K movehub fw flashes in about 1:45
2020-05-20 19:57:23 -05:00
David Lechner b1e99e0582 implement notifications 2020-04-20 13:57:58 -05:00
David Lechner 530f164af1 alphabetize imports 2020-04-19 15:53:28 -05:00
David Lechner a753fd77a7 wire up flash button 2020-04-18 21:58:03 -05:00
David Lechner 454475980a wire up run button 2020-04-17 16:57:51 -05:00
David Lechner b4d81fd3e5 implement bluetooth connect using redux 2020-04-16 19:09:50 -05:00