Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11444

Edit issue comment form should not close automatically when selecting code

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6
    • Component/s: Issues, Web
    • Labels:
      None
    • Estimate:
      Hours
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The comment on issue form does not allow to copy&paste snippets of code from the code while editing the comment. As soon as the focus is changed to the code to select the snippet to be copied, the comment box is automatically closed. Worse, when re-opened the previous contents is lost.

      This behavior is part of our popup box that closes a soon as there is a click outside of it.

      I see two possible solutions :

      • we avoid doing this for the edit comment form and keep it open when the user click outside
      • we still close it when clicking outside, but we keep the content so the user still have it when re-opening the comment form

        Attachments

          Activity

            People

            Assignee:
            wouter.admiraal Wouter Admiraal
            Reporter:
            gregoire.aubert Gregoire Aubert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: