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.
One draft new topic, but one draft reply for every topic.
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.
I think I fixed this recently.
We used to have a âcreatetopicâ draft key âreply as new topicâ draft key and ânew topicâ draft key.
This caused all sorts of confusion. Stuff is normalized now.
So what do we have now? Just a normal draft key?
We have:
- Unique key for ânew topicsâ
- Unique key for ânew messageâ
- Unique key per âtopicâ (covers: reply as new topic, reply as PM, edit post, reply to topic)
This topic was automatically closed after 3 days. New replies are no longer allowed.