-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
Add new feature to such that after install/upgrade, if the previous version does not match the current installed version, prompt the user if they wish to report their successful install back to WLED development team
The previous version needs to be stored as file on the esp32 filesystem as version-info.json
The user needs to be given the option not to be asked again, this can also be saved into the version-info.json
file
When the user clicks yes, an ajax call need to be made to the postUpgradeEvent as listed in https://usage.wled.me/v3/api-docs where the source data comes from WLED's info endpoint
If the user dismisses the message, they should see this again on the next page load
After the call to postUpgradeEvent is complete or the user select never to be prompted again, this will require a call to WLED to update the version-info.json