pxt-microbit
pxt-microbit copied to clipboard
A programme that is too large raises two error modals, one for V1 and another for V2.
When a programme is too large for both micro:bit V1 and V2 MakeCode will indicate this with two error modals, one for each board. Ideally this should be combined into a single error message:
https://makecode.microbit.org/25237-41240-70250-63183
Tested on beta with:
- makecode.microbit.org version: 7.1.29
- Microsoft MakeCode version: 11.4.16
- microbit runtime version: v2.2.0-rc6
- codal-microbit-v2 runtime version: v0.2.69
hmmmm, to fix this we would have to do both compiles before we show the first dialog. is it worth fixing this if it makes the experience significantly slower for v1 users in this scenario?
is it worth fixing this if it makes the experience significantly slower for v1 users in this scenario?
Using the example programme in my dev laptop each compilation takes around 4 or 5 seconds, and with a "CPU slowdown of 20x" it takes ~22 sec.
We've discussed this internally and we think the overall improvement in the user experience is worth the additional wait time. 👍