「返信の保存」が接続の問題で失敗した場合、投稿内容が(部分的に)失われる

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.

Sorry, it’s called just “Reply”.

またこれに遭遇しました。「編集を保存」をクリックした際に接続が切れており、投稿への編集が完全に失われてしまいました。接続が復旧し、ページを再読み込みすると、編集内容は消えていました。サーバーへの自動保存を試みた時点で既に接続が切れていたため、ローカルでの自動保存さえ試みていなかったようです。

その編集がどのくらいの時間(秒単位で)行われ、およそ何文字編集されたか説明できますか?

前述の通り、下書きは定期的に自動的に保存されますが、ある程度の編集時間が経過する必要があります。

編集は文を2つ追加する内容でした。どれくらい時間がかかったかはわかりませんが、30秒から1分くらいだったでしょうか?

つまり、ドラフトは原則としてローカルに保存されるべきだとおっしゃるのでしょうか?もしそうなら、「編集を保存」を押した直後に別のローカル保存をトリガーして、エディタを取り返しのつかない形で無効にする前に最新版が確実に保存されるようにすることは可能でしょうか?

これは、最新の Discourse (https://internals.rust-lang.org が現在使用しているもの) でもまだ問題です。新しい投稿を作成したのですが、インターネット接続が悪かったため、投稿に失敗しました。永遠に回転し続けるだけでした。数分後、F5 キーを押してタブのブロックを解除したところ、最後の約 30 秒間の入力が失われていることに気づきました。ローカルに保存された下書きはありましたが、それは古いものでした。

「返信」をクリックしたときに、ローカルに保存された下書きを簡単に更新できるはずではありませんか? Discourse がインターネット接続の悪いユーザーのニーズを考慮してくれることを願っています。現在、phpBB3 のような古いフォーラムは、この点において Discourse よりもはるかに優れています。