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 curtida

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

6 curtidas

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 curtidas

Acho que resolvi isso recentemente.

Antes tínhamos uma chave de rascunho “criartópico”, uma chave de rascunho “responder como novo tópico” e uma chave de rascunho “novo tópico”.

Isso causava todo tipo de confusão. Agora tudo está normalizado.

4 curtidas

Então, o que temos agora? Apenas uma chave de rascunho normal?

Temos:

  1. Chave única para “novos tópicos”
  2. Chave única para “nova mensagem”
  3. Chave única por “tópico” (abrange: responder como novo tópico, responder como MP, editar postagem, responder ao tópico)
6 curtidas

Este tópico foi automaticamente fechado após 3 dias. Novas respostas não são mais permitidas.