ldelossa / gh.nvim

A fully featured GitHub integration for performing code reviews in Neovim.
MIT License
520 stars 24 forks source link

fix: fix review thread conflicts #66

Closed ldelossa closed 1 year ago

ldelossa commented 1 year ago

previous to this commit gh.nvim did not understand that a comment can track its original commit sha

without this, it could not decipher which comments belonged to which commits and would overrlay comments over multiple commits.

with these changes will now only display comments on a commit in the commit tree view, checkout the commit and open the correct files when using the Conversations: tab, and correctly sync review threads to their commits during review.

additionally, a few UI elements have changed. the Conversations: tab in the pr details tree now shows the commit a threaded conversation belongs to. Also, an asterick is used in the Commits: tree now to indicate which commit gh.nvim has currently checked out.

fixes: #47

Signed-off-by: Louis DeLosSantos louis.delos@gmail.com