processwire-requests icon indicating copy to clipboard operation
processwire-requests copied to clipboard

Better experience when session has expired

Open adrianbj opened this issue 4 years ago • 6 comments

Short description of the enhancement

This is one of those things that has bugged me forever, but it's even worse for clients who don't understand what is happening. If they have the admin open in the browser and at some point their session expires and they go to access items from the main menu that rely on ajax, the spinner pops up, but nothing ever happens because their session is failing in the background. Or, if they have a page edit process open and the session expires before they save it, they will lose their work because they don't have any notification about being logged out.

Current vs. suggested behavior

I think ideally a modal would popup notifying them that they were logged out and provide the login form so that when they submit that, they will be logged in, the modal will close and they will be returned to exactly where they were and they can save the changes they've made without losing anything.

Getting a bit OT here, but it would also be great if fields could remember content (the way Github and PW forum do) so that if they accidentally close their browser, or their session expires, the content will be re-populated on page load.

adrianbj avatar Jan 24 '21 22:01 adrianbj