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?
Dies ist immer noch ein Problem in der neuesten Discourse-Version (nun ja, was auch immer https://internals.rust-lang.org gerade verwendet): Ich habe gerade einen neuen Beitrag erstellt, und aufgrund einer schlechten Internetverbindung konnte er nicht gepostet werden. Er drehte sich nur ewig. Nach ein paar Minuten drückte ich F5, um diesen Tab zu entsperren, und musste feststellen, dass die letzten ~30 Sekunden des Tippens verloren gegangen waren – es gab einen lokal gespeicherten Entwurf, aber er war veraltet.
Sollte es nicht einfach sein, den lokal gespeicherten Entwurf beim Klicken auf „Antworten“ zu aktualisieren? Ich würde es begrüßen, wenn Discourse die Bedürfnisse von Menschen mit schlechter Internetverbindung berücksichtigen würde. Derzeit ist dies ein Bereich, in dem alte Foren wie phpBB3 viel besser abschneiden als Discourse.