zulip-desktop icon indicating copy to clipboard operation
zulip-desktop copied to clipboard

Abandoned drafts keep rising from the dead

Open nathanielvirgo opened this issue 2 months ago • 0 comments

Describe the bug

I think this is a recent change in behaviour: previously, if I started drafting a message and thought better of it, I could just close the draft and it would go into my drafts folder, where I could access it if needed but otherwise I could just forget about it. Recently, my abandoned drafts keep resurfacing whenever I try to reply to a different message.

This wouldn't be so bad, but it's really awkward to dismiss them, and sometimes the old text gets mixed into a new draft without me noticing, so it gets a bit frustrating sometimes.

To Reproduce

To reproduce the basic issue:

  1. start typing a reply in some topic, and don't post it
  2. close the draft
  3. try to reply to another message in the same topic. The old draft text reappears

if you don't want to resurrect the old draft but still want it to stay saved as a draft, it seems the only thing you can do is click on the three dots next to the send button and click "Save draft and start a new message", which is awkward to do and very non-obvious.

To reproduce accidentally mixing up an old draft with a new one

  1. start drafting a reply in some topic
  2. close the draft
  3. select another long message in the same topic and click "quote and reply."
  4. start replying to the quote by breaking the quote up into chunks and replying to fragments of it
  5. now notice that the old draft text is still there at the end of the quote, even though it never became visible in the process of editing the quote to reply to it.

Expected behavior

Either the old draft just never reappears unless I specifically seek it out, or if it does reappear, it should be very very obvious that it's an old draft and very, very easy to dismiss it and start a new one.

If I click "quote and reply" to some message, I don't think the draft text should ever reappear.

Or perhaps the best option would be something like a note that says "you have n drafts in this topic, do you want to restore one of them?" above the text box where you enter a reply. So it's easy to resurrect a draft but not mandatory.

Desktop (please complete the following information):

  • Operating System:

macOS 12.6.5

  • Zulip Desktop Version:

5.11.0

nathanielvirgo avatar May 11 '24 05:05 nathanielvirgo