Add "Request Changes" button on analyzed PRs to generate contributor feedback#247
Draft
Add "Request Changes" button on analyzed PRs to generate contributor feedback#247
Conversation
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
blt-leaf | f0adfb4 | Commit Preview URL Branch Preview URL |
Feb 24 2026, 03:11 AM |
Copilot
AI
changed the title
[WIP] Add tiny button for comment analysis on PRs
Add comment button on analyzed PRs to generate contributor feedback
Feb 24, 2026
Contributor
|
@copilot make it more of a request changes button that opens the request changes field on the pull request review page and its filled out with a list of what the contributor should do |
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Contributor
Author
Done in commit f0adfb4. The button is now a "Request Changes" action (amber clipboard-list icon, tooltip "Request changes on this PR") that appears on each PR row once analysis has run. Clicking it opens a modal that:
|
Copilot
AI
changed the title
Add comment button on analyzed PRs to generate contributor feedback
Add "Request Changes" button on analyzed PRs to generate contributor feedback
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

PRs with completed analysis lacked a quick way to communicate required changes back to contributors. This adds a "Request Changes" action button that appears on analyzed PR rows and opens a modal with pre-formatted review text — clicking the primary CTA copies the text to clipboard and opens the PR's Files Changed tab on GitHub so the reviewer can paste it into the review form and submit as "Request changes".
Changes
Frontend (
public/index.html)comment-btn(amber, clipboard-list icon, tooltip "Request changes on this PR") added to each PR row's action cell; becomes visible only after analysis runsprAnalysisCache— in-memory map keyed by PR ID to retain readiness/reviewHealth data betweenupdateInlineCellscalls and modal opencurrentCommentReviewUrl— module-level variable set to{pr_url}/fileswhen the modal opens, used by the combined CTA buttonupdateInlineCells— now stores data intoprAnalysisCacheand un-hides the request changes button for that row#commentModal) — displays generated review text in a<textarea>with:{pr_url}/files) in a new tab in one clickbuildContributorComment— generates structured markdown with sections for 🚫 Blockers,fmtScorehelpercopyAndOpenReview— copies review text and opens the GitHub Files Changed tab in a single actionrenderPrList(initial render) andupdateSinglePrRow(post-refresh row replacement)Generated review text structure
Workflow
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.