NSPManager / NSPanelManager

Sonoff NSPanel custom firmware for responsive and intuitive use
https://nspanelmanager.com/
128 stars 10 forks source link

Add long press to save button on Scenes page to prevent from accidentaly saving a scene because of chipsfingrar. + cool save progress bar #45

Closed cablesandcoffee closed 12 months ago

cablesandcoffee commented 1 year ago

There is an item prepared in the HMI file to act as progress bar. Here's my suggestion: Someone presses a save button. Make item "slider_save" visible on HMI Start changing "slider_save" value from 0-100 If the user long presses the amount of time it takes for the progress bar to get to 100: Text changes so something like "Scene saved" and the scene is saved If user releases before slider is 100: slider_save disappears and scene is not saved.

tpanajott commented 1 year ago

This should be working as of latest devel commit. Please confirm and close issue if resolved.

tpanajott commented 12 months ago

Confirmed working, closing issue.