chatgpt-journal icon indicating copy to clipboard operation
chatgpt-journal copied to clipboard

Unsaved post cleared after screen went to sleep

Open alexpunct opened this issue 2 years ago • 0 comments

Steps to reproduce:

  • start writing a post and don't save it
  • let the computer screen go to sleep
  • open the computer again

Result:

  • the post is cleared (probably the state is refreshed)

Desired outcome:

  • The post should stay in the text area

One potential way to achieve this would be to save the content as it's typed in the browser local storage (or the svelte store)

alexpunct avatar Sep 20 '23 16:09 alexpunct