Update upload and uninstall messages for clarity#85
Update upload and uninstall messages for clarity#85RKBoss6 wants to merge 7 commits intoespruino:masterfrom
Conversation
|
I'm working on a few more subtle changes, I'll convert to a draft for now. |
|
That looks good, thanks - although if we're being pedantic, |
|
Ok, I think this is good and it's been tested. |
|
But this has almost doubled (158 bytes -> 288 bytes) the amount of code that has to be send before every app is uploaded, which is going to make every app upload that bit slower. Plus on Bangle.js 1 your double-fill would cause a flicker (but I guess not many people use that now). Any thoughts @thyttan @bobrippling ? |
|
The whole thing with uploads on Bangle.js is not ideal really, since now we upload with packets we don't update the progress bar as often. It used to be smooth and now it's very jumpy - I wonder whether we should actually look at changing the way it works. What if:
Since then we're not having to upload a bunch of extra code (or even the |
|
Ok, I'll take a look at this - I'm already mostly there with the Espruino bit, it's just making the app loader reasonably backwards compatible |
|
Cool! Also - not sure if this has anything to do with what we were discussing, but on my Bangle, firmware updates are taking increasingly long times, up to 30 minutes to upload. I'm wondering whether it's just cutting edge fw, as that's what I've been installing, or if there's something else. Before it used to be ~10 minutes maybe, and now the time has almost tripled... Have you noticed this when updating fw recently? |
|
I haven't noticed it getting slower personally. You're an iPhone user aren't you? So it's not that you're updating via Gadgetbridge (which can be slower) |
|
On recent builds you can now do And you can make this change in the app loader to enable it: Note: you need to remove the progress call from backup.js too So really it tidies stuff up a lot. Downside is that on firmwares without it (2v28 and before) you no longer get a progress bar - but then updates will be a bit faster. ... so I think before merging this we should wait until the 2v29 release |
|
Just putting this in a draft for right now, until 2v29 is released and we can get to work. The reason I don't want to close this just yet is to keep this PR as a reminder for when the time is right. |



This PR just enhances messages shown while uploading and removing, and is state sensitive for firmware updates, providing a smoother feel of the bangle.js ecosystem. (Fixes #56)