mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
feat(review): add commit tip for local reviews with Approve verdict
After local review with no critical issues, suggest "type commit to commit your changes" — the follow-up system picks this up as ghost text so users can Tab to commit. PR reviews keep the existing "post comments" tip. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0b290e7031
commit
5ff22dcd4f
1 changed files with 4 additions and 2 deletions
|
|
@ -290,8 +290,10 @@ One of:
|
|||
- **Request changes** — Has critical issues that need fixing
|
||||
- **Comment** — Has suggestions but no blockers
|
||||
|
||||
If the review target is a PR and there are confirmed findings, append a tip after the verdict:
|
||||
"Tip: type `post comments` to publish these findings as PR inline comments."
|
||||
Append a follow-up tip after the verdict based on the review target:
|
||||
|
||||
- **PR review with confirmed findings**: "Tip: type `post comments` to publish these findings as PR inline comments."
|
||||
- **Local review with Approve verdict**: "Tip: type `commit` to commit your changes."
|
||||
|
||||
If the user responds with "post comments" (or similar intent like "yes post them", "publish comments"), proceed directly to Step 4 using the findings already collected — do NOT re-run Steps 1-3.5.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue