Skip to content

Backup and restore section of settings is not clear enough #3778

@B1BU

Description

@B1BU

What happened?

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:

  1. For the device to not accept the file.
  2. For the control panel to show a warning that the file is invalid.
  3. 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.
  4. For the two options in the settings menu to look visually distinct.
  5. 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?

ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed in sourceThis issue is unsolved in the latest release but fixed in master

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions