<div dir="ltr">Hello everyone,<div><br></div><div>Isaac and I were having a discussion regarding the issue <a href="https://github.com/phpmyadmin/phpmyadmin/issues/13654">https://github.com/phpmyadmin/phpmyadmin/issues/13654</a> . Currently a partial implementation <a href="https://github.com/phpmyadmin/phpmyadmin/pull/14046">https://github.com/phpmyadmin/phpmyadmin/pull/14046</a> was merged and the following problems came into light:</div><div><br></div><div>1. "No auto-saved query" warning was displayed every time if there was no previously saved query.</div><div>2. If there was a previously saved query it stayed there indefinitely unless changed.</div><div><br></div><div>I proposed a fix <a href="https://github.com/phpmyadmin/phpmyadmin/pull/14094">https://github.com/phpmyadmin/phpmyadmin/pull/14094</a> but the problem is if the user logout on the sql page then the query would be saved for the next time. Although it could be fixed, Isaac suggested the idea of introducing a Restore button to restore the queries instead of showing the saved query every time. I think it's a better solution and it would make things easier to implement similar feature on insert page. Any suggestions??<br><br>Regards,</div><div>Saksham Gupta (shucon)</div><div><a href="https://researchweb.iiit.ac.in/~saksham.gupta">https://researchweb.iiit.ac.in/~saksham.gupta</a><br></div></div>