sensebox / React-Ardublockly

This repository contains the new senseBox learn- and programming environment powered by google Blockly and React
Apache License 2.0
2 stars 7 forks source link

Blockly crashes completly when the local browser storage is invalid. #356

Open BjoernLuig opened 2 weeks ago

BjoernLuig commented 2 weeks ago

Current behaviour

Blockly crashes completly when the local browser storage is invalid. For example a sketch with a block that got renamed or is no longer supported. This happened while developing.

Should this ever happen for the end user, because of an unexpected error on our site (no longer supporting an old block, ...) he would only see a blank white website without any error message or suggestion to remove the browser cookies. Blockly would seem to be completly unusable. See screenshot below where the block was renamed to "wrong block" for demonstration:

Bildschirmfoto vom 2024-11-05 12-34-37

Expected behaviour

If the local browser storage is invalid, it should be reset uncluding a short notification.