You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Backup and restore section of settings is not clear enough #3778
I accidentally uploaded a presets file as a configuration file in the Security & Updates section of the settings menu and that reset my configuration. The two options look very similar and are very close together so this is a very easy mistake to make.
To Reproduce Bug
Upload a presets.json or any .json file in the "Restore configuration" option of the Security & Updates section of the settings menu.
Expected Behavior
One or more of the following:
For the device to not accept the file.
For the control panel to show a warning that the file is invalid.
For the device to save a temporary backup of the settings before replacing the file and restore it if the uploaded file doesn't work, otherwise deleting the backup to free up storage.
For the two options in the settings menu to look visually distinct.
For the warning text to be at the top of the Backup & Restore section maybe?
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.14.2-b1
Which microcontroller/board are you seeing the problem on?
Yeah, but my issue is that it's still too easy to make the mistake. The options could at least be further apart or look more visually distinct. Maybe make the "Restore presets" and "Restore configuration" texts bigger.
changed the title [-]"Restore configuration" accepts preset backup files, bricking the WLED device[/-][+]"Restore configuration" accepts preset backup files, making WLED device unreachable[/+]on Feb 27, 2024
Activity
blazoncek commentedon Feb 26, 2024
That is the expected behaviour. Unfortunately.

There is a warning saying so.
B1BU commentedon Feb 26, 2024
Yeah, but my issue is that it's still too easy to make the mistake. The options could at least be further apart or look more visually distinct. Maybe make the "Restore presets" and "Restore configuration" texts bigger.
B1BU commentedon Feb 26, 2024
Something like this so anyone can tell them apart at a glance

[-]"Restore configuration" accepts preset backup files, bricking the WLED device[/-][+]"Restore configuration" accepts preset backup files, making WLED device unreachable[/+][-]"Restore configuration" accepts preset backup files, making WLED device unreachable[/-][+]"Restore configuration" accepts preset backup files[/+][-]"Restore configuration" accepts preset backup files[/-][+]"Restore configuration" accepts any json file[/+][-]"Restore configuration" accepts any json file[/-][+]Backup and restore section of settings is not clear enough[/+]Reposition upload warning message.
blazoncek commentedon Mar 22, 2024
Available in 0.15.0 beta 1.
Reposition upload warning message.
WLED: Presets & playlists and Backup in the Advanced tab (P2)