Diff note can still possibly not show after a file has been changed
Summary
When an existing diff note gets added on a line on a file and the file changes after and the changes didn't touch the same line (e.g. before or next line where the comment is on), the diff note won't get displayed anymore.
This was previously reported in #336054 (closed) but the fix didn't completely fixed it.
Steps to reproduce
- Add a comment on a line.
- Update the next line of the commented line.
- Push the changes.
- The comment added on step 1 won't be displayed on refresh.
This can also be replicated by just applying a suggestion made on a next line.
Example Project
What is the current bug behavior?
The diff note that should still be displayed is no longer displayed on "Changes" tab.
What is the expected correct behavior?
The diff note that should still be displayed should still be shown on "Changes" tab.
Edited by Patrick Bajao