Resolving a conversation in a review comment deletes draft reply

Hi there!

Just an unexpected behavior report.

Steps to reproduce:

  1. I open a PR
  2. Someone reviews and comments on a line of code
  3. I type in a reply but I don’t click “Comment” yet
  4. I click “Resolve conversation” below the reply box
  5. The conversation is resolved and minimized
    • https: [slash slash] i.imgur [dot] com/2DwgNl8.png
  6. I open it back up and my comment is gone

Expected behavior

Either I can open up the conversation and my draft reply is still there, or the conversation isn’t minimized when I resolve it but still have text in the “Leave a comment” box. Or maybe I’m not allowed to resolve a conversation while having text in the box? Not sure. But the current behavior caused me to lose work a few times now when writing a comment that also resolves the conversation.

Details

PS: limitations on number of embedded screenshots and links in a post makes in really hard to post detailed bug reports with pictures

Hello @qubist and welcome to the Community!

I agree, that this flow’s intention is not super obvious. May be even a little buggy. I am not sure of the best way to remedy this, but I will bring this up to our design team to get the conversation started.

Thanks for your detailed notes here.

1 Like