Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-6875

Comment preview not cleared when adding new comments.

    XMLWordPrintable

Details

    Description

      When adding a new comment, the comment box will show the previous comment if the previous comment was created while in preview mode.

      Steps to reproduce
      1. Create a new code review and add a file.
      2. Click in the file to add a comment.
      3. Type some random text.
      4. Click the Preview Comment button to preview the formatted comment.
      5. Click the Comment button to accept the comment while in preview mode.
      6. Click on another line in the file to create a new comment.

      At this point, the comment box will be in preview mode and will show the previously added comment. Clicking the Preview Comment button will return to an empty box.

      Expected behavior

      Creating the second comment will show an empty comment box in edit mode, not preview mode.

      Attachments

        Issue Links

          Activity

            People

              lkuzynski Lukasz Kuzynski (Inactive)
              0ea579b1d6e8 Glen Gibb
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: