-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
feat: adds Save Config & Restart button #726
feat: adds Save Config & Restart button #726
Conversation
Agreed, the current UX is bad... switching the two buttons probably makes more sense than the current approach (personally, disabling the button just to maintain the position doesn't feel right), or showing it elsewhere.... As for the existing "Save" buttons for bed mesh leveling, z-offset, etc., these are based on state of those specific functions. The state of this button is based on the value of the Klipper There is also a new |
As this is only for manually invoked commands (from what I understood), maybe it makes sense to put it in the header of the console card? It doesn't really only affect the console, of course, but it would be a subtle way to place it. It feels kind of out of place in the main header. Lmk what you think :) |
Honestly don't know... my point here was not to be subtle and ensure we "remember" the user that he has pending changes that have not been saved yet!
Very good point, I will add this in! 😁 |
I think having it at the top formatted like a button like in your screenshot looks good 👍 |
@matmen PR updated with the changes we discussed. For now it is using a |
Signed-off-by: Pedro Lamas <[email protected]>
3f7ac07
to
c0f90ce
Compare
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.
Still not sure about the text box tbh, but I've tried it and it's functional, so I'm fine with that :)
I've merged as-is, but we can revisit and test other layouts before we release the next version! |
Adds a new "Save config & restart" button that will call
SAVE_CONFIG
if there are pending configuration changes.Wide
Medium
Small
Preview popup
Also adds tooltips to the other app bar buttons:
Signed-off-by: Pedro Lamas [email protected]