Fix: Line Comment Refactor (#180)

This MR re-implements and fixes logic that better handles single-line comments. It does this by parsing the hunk headers and examining the actual changes they contain in order to form the Gitlab payload correctly. Addresses #128
This commit is contained in:
Harrison (Harry) Cramer
2024-02-18 21:19:31 -05:00
committed by GitHub
parent baee20b279
commit faf2a25dc4
3 changed files with 224 additions and 94 deletions

View File

@@ -112,7 +112,7 @@ end
---@field file_name string
---@field old_line integer | nil
---@field new_line integer | nil
---@field range_info ReviewerRangeInfo
---@field range_info ReviewerRangeInfo|nil
---This function (settings.popup.perform_action) will send the comment to the Go server
---@param text string comment text