feat: implement review workflow

- identification and collection of review comments
- api call for creating review
- keybinds for submitting review
This commit is contained in:
Lucas Sta Maria 2025-08-24 00:12:56 +08:00
parent 1e8e7df3a8
commit aa4749c648
Signed by: lucas
GPG key ID: F07FB16A826E3B47
3 changed files with 335 additions and 2 deletions

View file

@ -25,8 +25,9 @@
(defun ghpr--pr-summary (pr)
"Formats a PR into a summary."
(let* ((number (alist-get 'number pr))
(title (alist-get 'title pr)))
(format "[#%s] %s" number title)))
(title (alist-get 'title pr))
(author (alist-get 'author pr)))
(format "[#%s] @%s: %s" number author title)))
(defun ghpr--pr-summary-selection (pr)
"Formats a PR into a summary for a minibuffer selection."