David Lechner
1e5d25086b
move app version to constants
2021-02-01 13:02:06 -06:00
David Lechner
e5073399a0
drop explicit state interfaces
...
This could cause subtle bugs like the one fixed here where license
was renamed to licenses.
2021-02-01 10:26:05 -06:00
David Lechner
334668bdfb
rework mobile view height
2021-02-01 10:26:05 -06:00
David Lechner
3c152a48ea
remove extraneous console.log()
2021-02-01 10:26:05 -06:00
David Lechner
a24c263789
move terminal dataSource to context
...
state should only hold serializeable data
2021-02-01 10:26:05 -06:00
David Lechner
6f204a65f6
reorganize src/ directory
...
Makes for much less scrolling/jumping around.
https://redux.js.org/style-guide/style-guide#structure-files-as-feature-folders-or-ducks
2021-02-01 10:26:05 -06:00
David Lechner
952416f36b
apply scroll bar styling to docs iframe
2021-01-27 19:14:15 -06:00
David Lechner
f186e6414d
decouple message id counter from actions
...
Actions should be pure functions for ease of testing.
2021-01-21 12:37:29 -06:00
David Lechner
0333fa51c0
add developer settings with pseudolocalization
...
This is currently broken due to https://github.com/Shopify/quilt/pull/1725
2021-01-21 12:37:29 -06:00
David Lechner
54439a4cbc
convert notifications to static API
...
This converts notifications from a reducer to a saga. This way, our
state doesn't get bogged down with a bunch of notifications.
2021-01-18 17:29:03 -06:00
David Lechner
43cc1bce1c
make "BETA" watermark depend on app version
2021-01-18 17:29:03 -06:00
David Lechner
1e3c0b05ef
use proper variables for bp3 namespace
2021-01-15 14:02:13 -06:00
David Lechner
efb474b727
rename service worker actions to do/did pattern
2021-01-15 11:23:26 -06:00
David Lechner
a48f3f381e
convert settings to do/did action pattern
2021-01-14 15:12:49 -06:00
David Lechner
6852d56316
fix service worker after update to create-react-app 4
...
https://github.com/facebook/create-react-app/issues/9776
2020-11-20 22:11:07 -06:00
David Lechner
33b80fe2c8
re-enable service worker
...
Password has been turned off on the website, so we can enable this again.
2020-06-15 11:51:49 -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
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
0940226a4d
use utility classes
...
similar to how bootstrap works
2020-06-07 21:39:58 -05:00
David Lechner
d9211b5b10
switch to blueprintjs UI toolkit
2020-06-07 18:59:02 -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
297faafc27
convert mpy to saga
...
- unit tests depend on bug fix in @pybricks/mpy-cross-v4
- removes last use of redux-thunk
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
a8f959c6eb
Show popup notifications for serviceWorker
...
These need more user-friendly handling, but this will suffice for now.
2020-05-26 21:20:08 -05:00
David Lechner
dd9d789e9a
license
2020-05-22 19:54:48 -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
cf5d801a9a
enable progressive web app
2020-04-19 17:54:44 -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
2772e76a62
clean up import order
2020-04-17 00:39:09 -05:00
David Lechner
a67656def6
wire terminal to ble
2020-04-16 23:58:35 -05:00
David Lechner
b4d81fd3e5
implement bluetooth connect using redux
2020-04-16 19:09:50 -05:00
David Lechner
1a72fc275b
basic toolbar using bootstrap
2020-04-15 16:43:37 -05:00
David Lechner
79df44c22a
more linting
...
applying some recomendations from https://www.robertcooper.me/using-eslint-and-prettier-in-a-typescript-project
2020-04-08 19:23:19 -05:00
David Lechner
cdfd224934
prettier
2020-04-08 00:00:19 -05:00
David Lechner
e208a99a14
Initialize project using Create React App
2020-04-07 23:02:47 -05:00