Published or dismissed drafts seem to re-appear randomly

I understand that currently discourse can only handle one unpublished draft and that this draft is shared across devices, right? It works fine and I love it, but every now and then, when I start a new reply to a topic, the editor contains an old draft of some previous reply which I either dismissed or which I already published (possibly from another device). So it looks like drafts are also stored locally but not deleted under certain circumstances such as when the draft is published from another device.

1 лайк

One draft new topic, but one draft reply for every topic.

6 лайков

Earlier this week, I started a reply in one topic, then navigated to another topic and posted it there. When I returned to the first topic (on a different device), my “draft” post was still there. That sounds like what Christoph is describing.

Is there a specific repro?

Not sure. I’ve only had it happen once, and attempting to reproduce it now on try, I’m not seeing it.

2 лайка

Думаю, я недавно это исправил.

У нас были ключи черновиков «создать тему», «ответ как новая тема» и «новая тема».

Это вызывало всякую путаницу. Теперь всё нормализовано.

4 лайка

Так что же у нас есть теперь? Просто обычный ключ черновика?

У нас есть:

  1. Уникальный ключ для «новых тем»
  2. Уникальный ключ для «нового сообщения»
  3. Уникальный ключ для каждой «темы» (охватывает: ответ как новая тема, ответ как личное сообщение, редактирование поста, ответ на тему)
6 лайков

Эта тема была автоматически закрыта через 3 дня. Новые ответы больше не принимаются.