Mark a PR line of code comment as outdated automatically if that same line of code is updated

XMLWordPrintable

      Currently, if you add a comment to a line of code and that same line of code is changed/updated, there's no indication that the line code is updated or changed. The comment will then be added to the line of code.
      Now, when you refresh the PR page, the comment is gone and marked as an outdated comment instead.

      Steps to reproduce:

      1. Commit a new file (with code/text)
      2. Create a PR
      3. Make a change to a line of code and commit + push it
      4. Go back to the open PR (without refreshing the page)
      5. Add a comment in that same line of code that you've changed
      6. Refresh the PR page

      This is very confusing to users who are adding valuable comments to a line code not realizing that while they're writing a comment, that same line of code is already updated and their comment will be marked as an outdated comment when they click save.

      Enhancement:
      It would be best to automatically mark the comment as outdated and not add the comment on the line of code.

      Workaround:
      As a workaround, every time you see the notification on the left side that the PR was updated, please kindly copy the comment you have at that moment, refresh the page, and paste the comment then continue writing the comment again.

              Assignee:
              Unassigned
              Reporter:
              Mark C
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: