You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to start a review you have to manually provide the PR number. This shouldn't be necessary since we have the remote URL and the branch name.
Requirements:
First time :StartReview without arguments is used on a branch, query GitHub API for open PRs for this branch. If only one, auto-select and print the PR number used as a message. If more than one (e.g. different base branches), print all options and wait for user input to select which one.
For future usages of :StartReview without arguments, check the local review files first to find any ongoing review for this branch. Same rules for single or multiple apply.
If no matching local reviews are found, AND the GH API is inaccessible (e.g. offline review), prompt the user for a PR number to be manually entered.
The text was updated successfully, but these errors were encountered:
Currently, to start a review you have to manually provide the PR number. This shouldn't be necessary since we have the remote URL and the branch name.
Requirements:
First time
:StartReview
without arguments is used on a branch, query GitHub API for open PRs for this branch. If only one, auto-select and print the PR number used as a message. If more than one (e.g. different base branches), print all options and wait for user input to select which one.For future usages of
:StartReview
without arguments, check the local review files first to find any ongoing review for this branch. Same rules for single or multiple apply.If no matching local reviews are found, AND the GH API is inaccessible (e.g. offline review), prompt the user for a PR number to be manually entered.
The text was updated successfully, but these errors were encountered: