usspeedskating / tempus-public

This is the public issue-tracking repository for Tempus
0 stars 0 forks source link

Investigate replacing Chromely with WebView2 #96

Open RobertBouillon opened 3 years ago

RobertBouillon commented 3 years ago

Chromely provides a hybrid UI experience by hosting a Chromium in a UI window. There are two issues with Chromely, currently:

1) Initial startup of Chromely looks for Chromium, and if it doesn't exist, auto-downloads it and shows a Chromely screen. This is hokey and the author doesn't appear to want to fix it. 2) There's some strange delay in persisting LocalStorage to disk. All competitions are currently stored in LocalStorage, but changes to LocalStorage seem to have a delay up to 20 seconds. (#31)

Chromely has one key feature, and that's cross-platform support (even rPi).

WebView2 would be more widely supported, but MS has a habit lately of releasing components with shit APIs, so I don't have high confidence that WebView2 would be a competent replacement without compromise. Do a PoC and investigate.