Always save entry draft before automatically logging out
If one writes some text in the web app, and then later revisits the tab and is immediately and forcibly logged out, valid changes to the entry should not be deleted.
In particular, I'm neither alerted that half of the text of my entry will be lost, nor given a chance to preserve it manually (!!). The obvious solution to me is that the app should save any changes made before the frontend finishes logging out.
I understand it might be harder to implement this than it sounds e.g. if you use automatic token invalidation, but as you can imagine, this is a very poor experience.
(In my case, I have an extension which is supposed to help with this, but it was recently disabled by Google, so now I've simply lost the text...)