scottrini / OctoPrint-PrusaLevelingGuide

42 stars 6 forks source link

Plugin stuck if printer resets #43

Closed jmsaltzman closed 3 years ago

jmsaltzman commented 3 years ago

If the printer resets after the user clicks "Begin Adjusting", the plugin freezes. It will work after restarting Octoprint. It would be nice to have a "cancel" button or for it to check (and automatically cancel) if something's not right.

scottrini commented 3 years ago

A cancel button is a fair request so you don't have to reload and it would be an easy add. I'll throw one in the next time I'm making changes.

But you don't have to restart octoprint for this. All of the logic and state is in the UI (client side JS), so if you just reload the tab, it'll reset.

jmsaltzman commented 3 years ago

Thank you! Sorry, reloading it, it DOES work correctly and go back to Idle. So... I'm not sure what I was doing wrong. NEVERMIND! I'll cancel :D Er, trying...

jmsaltzman commented 3 years ago

All fine after all, sorry to bug you!