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
Add "Request review from Copilot" button to Reviewers section (#8283)
* Initial plan
* Initial plan for Copilot review request feature
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Add "Request review from Copilot" feature
- Added addReviewerCopilot backend handler in pullRequestOverview.ts
- Added canRequestCopilotReview property to PullRequest interface
- Added Copilot review button in Reviewers section UI
- Button shows only when Copilot is available and not already a reviewer
- Follows same pattern as existing "Assign Copilot" feature
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Cache assignable users to avoid redundant API calls
- Store assignable users in _assignableUsers member variable
- Reuse cached data in addReviewerCopilot instead of fetching again
- Improves performance by avoiding duplicate getAssignableUsers() calls
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Fix up
* Add ChangeReviewersReply type for addReviewerCopilot reply
- Created ChangeReviewersReply interface in views.ts
- Updated addReviewerCopilot to use typed reply instead of inline object
- Fixed copilotUser reference instead of using removed COPILOT_REVIEWER_ACCOUNT
- Removed unused imports
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Use type in sidebar
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
0 commit comments