When “Save Reply” happens while the internet connection is temporarily down (as just happened to me several times in this train), the content of the post are partially lost.
Steps to reproduce:
Start writing a reply.
While writing, cap your internet connection.
Hit “Save Reply”.
Some time later, restore your internet connection.
Expected behavior:
At some point, the “Saving…” process should give up and bring me back to the editor (or at least show a “Cancel” button that does this), so that I can try again to submit my response.
Actual behavior:
The “Saving…” bar at the bottom just sticks around with a spinning circle endlessly. The “expand” button it shows does nothing when clicked. The only thing I can do is to hit F5, which will restore some prior version of the post (not sure if from a local or a server-side cache) – but my last few sentences are lost.
I just had this happen 4 times in a row. At least the last two times I remembered to manually copy the post content before submitting, but that really should not be necessary.
Where are you seeing a “Save Reply” button? I am not aware of any such button in Discourse.
Drafts are saved automatically at regular intervals, provided the content has changed and there is enough content to save, beyond the minimum character limits.
I just ran into this again, losing entirely the edits I made to a post because my connection was down when I hit “Save Edit”. Once the connection was back, when I reloaded the page, my edits were just gone. Seemed like when it tried to auto-save on the server there already was no connectivity, and it did not even try to auto-save locally?
The edit was about adding 2 sentences. Not sure how long that took me, something between 30s and a minute?
So are you saying drafts should be saved locally, in principle? Would it then be possible to trigger another local save just when I press “Save Edit”, to make sure the latest version of saved before irrevocably disabling the editor?
이 문제는 최신 디스코urs(현재 https://internals.rust-lang.org가 사용하는 것)에서도 여전히 남아 있습니다. 방금 새 게시글을 작성했는데, 인터넷 연결이 불안정하여 게시에 실패했습니다. 화면이 계속 로딩만 돌았습니다. 몇 분 후 해당 탭을 해제하기 위해 F5를 눌렀더니, 마지막 약 30초 동안 입력한 내용이 사라져 있음을 알게 되었습니다. 로컬에 저장된 초안은 존재했지만, 내용이 오래된 것이었습니다.
"답글"을 누를 때 로컬에 저장된 초안을 업데이트하는 것이 더 쉬워지지 않나요? 디스코urs가 인터넷 연결이 불안정한 사용자의 필요를 고려해 주었으면 합니다. 현재 이 부분에서는 phpBB3와 같은 구식 포럼이 디스코urs보다 훨씬 잘 처리하고 있습니다.