-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a save to config items panel #12
Add a save to config items panel #12
Conversation
@BarbourSmith Here is the PR for a save button. I think I can pretty easily add "help" tooltip icons to each maslow item without adding too much overhead. I'll see if I can get to that "soon" |
This looks AMAZING!! Absolutely brilliant work. I will test and merge today. This is going to save so many people so much headache with extra spaces breaking their files etc. HUGE. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Splendid
@@ -208,10 +208,20 @@ function build_control_from_pos(pos, extra) { | |||
return build_control_from_index(get_index_from_eeprom_pos(pos), extra) | |||
} | |||
|
|||
function saveMaslowYaml() { | |||
SendGetHttp('/command?plain=' + encodeURIComponent("$CD=/maslow.yaml")); | |||
restart_esp(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we even need to restart? Since the settings are already on the machine and also in the .yaml file I'm not sure we need to do a restart
Adds some help and a save button to save to maslow.yaml and restart the esp32.