coderabbitai / ai-pr-reviewer

AI-based Pull Request Summarizer and Reviewer with Chat Capabilities.
https://coderabbit.ai
MIT License
1.42k stars 261 forks source link

add comment counts in review summary #398

Closed harjotgill closed 11 months ago

harjotgill commented 11 months ago

Summary by CodeRabbit

New Feature:

🎉 Here's to the code that now counts and tracks,

To the reviews and comments, it never lacks. 📝

With each file selected, each LGTM found, 🕵️‍♂️

Our summary grows, in leaps and bounds! 🚀

github-actions[bot] commented 11 months ago

Image description CodeRabbit

Walkthrough

The proposed changes enhance the review summary by including comment counts. The update includes tracking and displaying the number of files selected, reviews made, and LGTM comments. It also provides a summary of generated review comments, detailing the number of regular review comments processed and reviews generated per file.

Changes

File Summary
src/review.ts The diff introduces logic to count reviews and LGTM comments, track these counts with new variables, and update the summary message accordingly. This enhancement provides more detailed insights into the review process without altering the external interface or behavior of the code.

Notes ### Chat with Image description CodeRabbit Bot (`@coderabbitai`) - Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file. - Invite the bot into a review comment chain by tagging `@coderabbitai` in a reply. ### Code suggestions - The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned. - You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off. ### Ignoring further reviews - Type `@coderabbitai: ignore` anywhere in the PR description to ignore further reviews from the bot.