-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add reporting guide #187
add reporting guide #187
Conversation
WalkthroughThe pull request introduces new documentation pages for CodeRabbit Pro, specifically "Scheduled Reports" and "Custom Reports." The "Scheduled Reports" guide covers the setup and management of automated recurring reports, detailing configuration options such as frequency and customizable parameters. The "Custom Reports" page explains the creation of tailored reports using a prompt-based system, including formatting and filtering options. Additionally, updates were made to the existing "On-demand Reports" documentation to enhance its content and structure. Changes
Assessment against linked issues
Possibly related PRs
Suggested reviewers
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
[dependabot skip]
Deploying coderabbit-docs with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🧹 Nitpick comments (6)
docs/guides/scheduled-reports.md (6)
14-14
: Consider enhancing the introduction with key benefits.While the introduction is clear, consider adding 1-2 sentences highlighting key benefits such as time savings, consistency in reporting, or improved team visibility to better motivate users to adopt this feature.
-CodeRabbit Pro offers automated recurring reports that provide insights into your GitHub organization's activities. These reports can be customized and delivered through various channels to help teams stay informed about development progress. +CodeRabbit Pro offers automated recurring reports that provide insights into your GitHub organization's activities. These reports can be customized and delivered through various channels to help teams stay informed about development progress. By automating report generation, teams save valuable time while ensuring consistent visibility into project metrics and development activities. This enables better decision-making and helps maintain alignment across distributed teams.
18-38
: Add step for saving/applying changes.The setup instructions are clear, but they should include a final step about saving or applying the configuration.
3. Configure the following settings: ### Schedule Configuration - **Frequency**: Choose between weekly, monthly, or custom intervals - **Days**: Select specific days of the week or month - **Time**: Set the time for report generation in your timezone +4. Click **Save Configuration** to apply your settings
50-59
: Enhance the custom prompt example.Consider adding more context and structure to the example prompt to better demonstrate the customization capabilities.
Please provide a summary of: - All pull request activities - Related issues and comments - Code review discussions - Quality gate status +- Test coverage changes +- Technical debt metrics + +Format the output as: +- High-level summary (2-3 sentences) +- Detailed sections with bullet points +- Metrics comparison with previous report Do not include: - Bot conversations - Sequence diagrams +- Auto-generated comments +- Dependencies updates
61-85
: Add troubleshooting guidance for channel integrations.Consider adding a troubleshooting subsection to help users resolve common integration issues.
:::tip Create separate reports if you need to send to multiple channels with different formats ::: + +### Troubleshooting Channel Integration + +Common issues and solutions: + +- **Webhook errors**: Verify webhook URL format and permissions +- **Missing messages**: Check channel/email filters and spam settings +- **OAuth connection issues**: Try disconnecting and reconnecting the integration
102-118
: Add examples to illustrate best practices.Consider adding concrete examples to better illustrate effective vs ineffective practices.
2. **Content** - Keep prompts focused on actionable information - Use grouping to improve readability - Exclude unnecessary details that may create noise + + Example effective prompt: + "Summarize PRs affecting core services with test coverage below 80%" + + Example ineffective prompt: + "Show all GitHub activity from last week"
119-122
: Add more relevant resources.Consider adding links to other related documentation that would be helpful for users.
## Related Resources - [On-demand Reports](./ondemand-reports.md) - [API Documentation](https://api.coderabbit.ai/api/swagger/) +- [Report Templates Gallery](./report-templates.md) +- [Integration Setup Guide](./integrations.md) +- [Best Practices for Report Design](./report-design.md)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/guides/scheduled-reports.md
(1 hunks)
🧰 Additional context used
🪛 Markdownlint (0.37.0)
docs/guides/scheduled-reports.md
49-49: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🔇 Additional comments (1)
docs/guides/scheduled-reports.md (1)
1-12
: LGTM! Well-structured frontmatter with Pro plan notice.The frontmatter is properly configured with all necessary metadata, and the Pro plan notice is appropriately placed for this premium feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
♻️ Duplicate comments (2)
docs/guides/scheduled-reports.md (2)
52-62
:⚠️ Potential issueAdd language specification to the code block.
The code block should specify a language for proper syntax highlighting. This will also fix the pipeline failure.
-``` +```prompt Please provide a summary of: - All pull request activities🧰 Tools
🪛 Markdownlint (0.37.0)
52-52: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 52-52: MD040/fenced-code-language: Fenced code blocks should have a language specified
91-106
: 🛠️ Refactor suggestionAdd report lifecycle management details.
Consider adding information about editing, disabling, and deleting reports.
This helps keep information organized for larger organizations or teams. +### Report Lifecycle + +- **Edit Reports**: Update configuration of existing reports +- **Disable Reports**: Temporarily pause report generation +- **Delete Reports**: Remove unwanted reports permanently + +:::note +Disabled reports can be re-enabled at any time without losing configuration +:::
🧹 Nitpick comments (2)
docs/guides/scheduled-reports.md (2)
16-40
: Add parameter constraints and default values.Consider enhancing the documentation by adding:
- Default values for frequency, days, and time
- Any validation rules or constraints for each parameter
- Examples of valid configurations
This will help users understand the boundaries and expectations when setting up reports.
64-90
: Add security considerations for communication channels.Consider adding information about:
- Security implications of using distribution lists
- OAuth token permissions and scopes
- Webhook URL security best practices
- Data privacy considerations when sharing reports
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (2)
static/img/guides/report-params.png
is excluded by!**/*.png
,!**/*.png
static/img/guides/report-platforms.png
is excluded by!**/*.png
,!**/*.png
📒 Files selected for processing (1)
docs/guides/scheduled-reports.md
(1 hunks)
🧰 Additional context used
🪛 Markdownlint (0.37.0)
docs/guides/scheduled-reports.md
52-52: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
docs/guides/scheduled-reports.md
[error] 52-52: MD040/fenced-code-language: Fenced code blocks should have a language specified
🔇 Additional comments (2)
docs/guides/scheduled-reports.md (2)
1-15
: LGTM! Well-structured frontmatter and clear introduction.The frontmatter provides all necessary metadata, and the introduction effectively communicates the purpose of scheduled reports.
124-127
: Verify documentation links.Please ensure that the linked documentation pages exist and are accessible:
./ondemand-reports.md
https://api.coderabbit.ai/api/swagger/
✅ Verification successful
Documentation links are valid and properly referenced
The verification confirms that:
- The relative link
./ondemand-reports.md
exists atdocs/guides/ondemand-reports.md
- The API documentation URL
api.coderabbit.ai/api/swagger
is consistently referenced across multiple documentation files🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify that the linked documentation files exist # Check if ondemand-reports.md exists in the docs/guides directory fd -t f "ondemand-reports.md" docs/guides # Check if the API documentation link is mentioned in other documentation files rg -l "api.coderabbit.ai/api/swagger" docs/Length of output: 182
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (2)
docs/guides/scheduled-reports.md (1)
Line range hint
235-235
: Fix typo in text.Add an apostrophe to "Heres".
-Heres a more advanced example of a custom report template: +Here's a more advanced example of a custom report template:🧰 Tools
🪛 LanguageTool
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...(NEEDS_FIXED)
[duplication] ~166-~166: Possible typo: you repeated a word
Context: ...Click the Save button to apply your changes - Changes take effect from the next scheduled run...(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~185-~185: Possible missing preposition found.
Context: ...utton (trash icon) next to the report - Confirm deletion in the modal - Note: This acti...(AI_HYDRA_LEO_MISSING_TO)
[style] ~190-~190: Consider using a different verb to strengthen your wording.
Context: ...immediately stop all scheduled runs and remove access to historical reports. Consider ...(REMOVE_REVOKE)
🪛 Markdownlint (0.37.0)
104-104: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 104-104: Fenced code blocks should have a language specified
docs/guides/custom-reports.md (1)
105-105
: Capitalize "Markdown" as it's a proper noun.-CodeRabbit supports markdown formatting in custom reports. You can use: +CodeRabbit supports Markdown formatting in custom reports. You can use:🧰 Tools
🪛 LanguageTool
[grammar] ~105-~105: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...Formatting Options CodeRabbit supports markdown formatting in custom reports. You can u...(MARKDOWN_NNP)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
docs/guides/custom-reports.md
(1 hunks)docs/guides/scheduled-reports.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/guides/custom-reports.md
[uncategorized] ~52-~52: Loose punctuation mark.
Context: ...s: #### Pull Request Status - Merged
: boolean (true/false) - Whether the PR h...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~60-~60: Loose punctuation mark.
Context: ...sic Information - Pull request number
: number - The PR's identifier - Title
:...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~70-~70: Loose punctuation mark.
Context: ...sed #### Additional Context - Labels
: array of strings - All labels applied t...
(UNLIKELY_OPENING_PUNCTUATION)
[grammar] ~105-~105: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...Formatting Options CodeRabbit supports markdown formatting in custom reports. You can u...
(MARKDOWN_NNP)
docs/guides/scheduled-reports.md
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...
(NEEDS_FIXED)
[duplication] ~166-~166: Possible typo: you repeated a word
Context: ...Click the Save button to apply your changes - Changes take effect from the next scheduled run...
(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~185-~185: Possible missing preposition found.
Context: ...utton (trash icon) next to the report - Confirm deletion in the modal - Note: This acti...
(AI_HYDRA_LEO_MISSING_TO)
[style] ~190-~190: Consider using a different verb to strengthen your wording.
Context: ...immediately stop all scheduled runs and remove access to historical reports. Consider ...
(REMOVE_REVOKE)
🪛 Markdownlint (0.37.0)
docs/guides/custom-reports.md
31-31: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
80-80: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
118-118: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
131-131: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
147-147: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
162-162: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
199-199: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
217-217: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
237-237: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
docs/guides/scheduled-reports.md
104-104: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
docs/guides/custom-reports.md
[error] 31-31: Fenced code blocks should have a language specified
[error] 80-80: Fenced code blocks should have a language specified
[error] 118-118: Fenced code blocks should have a language specified
[error] 131-131: Fenced code blocks should have a language specified
[error] 147-147: Fenced code blocks should have a language specified
[error] 162-162: Fenced code blocks should have a language specified
[error] 199-199: Fenced code blocks should have a language specified
[error] 217-217: Fenced code blocks should have a language specified
[error] 237-237: Fenced code blocks should have a language specified
docs/guides/scheduled-reports.md
[error] 104-104: Fenced code blocks should have a language specified
🔇 Additional comments (3)
docs/guides/scheduled-reports.md (2)
104-114
: Add language specification to the code block.The code block should specify a language for proper syntax highlighting.
-``` +```prompt Please provide a summary of: - All pull request activities🧰 Tools
🪛 Markdownlint (0.37.0)
104-104: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 104-104: Fenced code blocks should have a language specified
1-214
: Well-structured and comprehensive documentation!The documentation provides clear instructions, examples, and best practices for setting up scheduled reports. The content is logically organized and covers all essential aspects.
🧰 Tools
🪛 LanguageTool
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...(NEEDS_FIXED)
[duplication] ~166-~166: Possible typo: you repeated a word
Context: ...Click the Save button to apply your changes - Changes take effect from the next scheduled run...(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~185-~185: Possible missing preposition found.
Context: ...utton (trash icon) next to the report - Confirm deletion in the modal - Note: This acti...(AI_HYDRA_LEO_MISSING_TO)
[style] ~190-~190: Consider using a different verb to strengthen your wording.
Context: ...immediately stop all scheduled runs and remove access to historical reports. Consider ...(REMOVE_REVOKE)
🪛 Markdownlint (0.37.0)
104-104: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 104-104: Fenced code blocks should have a language specified
docs/guides/custom-reports.md (1)
1-340
: Excellent documentation with comprehensive examples and best practices!The documentation provides thorough coverage of custom reports, including:
- Clear explanation of available data points
- Detailed formatting options and examples
- Advanced features and best practices
- Comprehensive templates for different use cases
🧰 Tools
🪛 LanguageTool
[uncategorized] ~52-~52: Loose punctuation mark.
Context: ...s: #### Pull Request Status -Merged
: boolean (true/false) - Whether the PR h...(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~60-~60: Loose punctuation mark.
Context: ...sic Information -Pull request number
: number - The PR's identifier -Title
:...(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~70-~70: Loose punctuation mark.
Context: ...sed #### Additional Context -Labels
: array of strings - All labels applied t...(UNLIKELY_OPENING_PUNCTUATION)
[grammar] ~105-~105: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...Formatting Options CodeRabbit supports markdown formatting in custom reports. You can u...(MARKDOWN_NNP)
🪛 Markdownlint (0.37.0)
31-31: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
80-80: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
118-118: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
131-131: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
147-147: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
162-162: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
199-199: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
217-217: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
237-237: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 31-31: Fenced code blocks should have a language specified
[error] 80-80: Fenced code blocks should have a language specified
[error] 118-118: Fenced code blocks should have a language specified
[error] 131-131: Fenced code blocks should have a language specified
[error] 147-147: Fenced code blocks should have a language specified
[error] 162-162: Fenced code blocks should have a language specified
[error] 199-199: Fenced code blocks should have a language specified
[error] 217-217: Fenced code blocks should have a language specified
[error] 237-237: Fenced code blocks should have a language specified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (4)
docs/guides/scheduled-reports.md (4)
65-71
: Enhance parameter combinations documentation.While the note about parameter configuration is helpful, consider adding examples of common parameter combinations to make it more practical.
Each parameter can be: - Added or removed as needed - Combined with other parameters for precise filtering - Modified using different operators + +Example combinations: +- Repository + Label: Track specific types of PRs in selected repos +- Team + Label: Monitor team progress on different PR categories +- User + Repository: Track individual contributions across repos :::🧰 Tools
🪛 LanguageTool
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...(NEEDS_FIXED)
116-142
: Add security considerations for communication channels.Consider adding security best practices for managing webhooks and distribution lists.
:::tip Create separate reports if you need to send to multiple channels with different formats. Learn more about [custom report formats](./custom-reports.md). ::: + +:::caution Security Best Practices +- Regularly rotate webhook URLs +- Review distribution lists periodically +- Use private channels for sensitive information +- Monitor channel access permissions +:::
211-211
: Strengthen wording in warning message.Consider using stronger verbs to emphasize the permanence of deletion.
-Deleting a report will immediately stop all scheduled runs and remove access to historical reports. +Deleting a report will immediately terminate all scheduled runs and permanently revoke access to historical reports.🧰 Tools
🪛 LanguageTool
[style] ~211-~211: Consider using a different verb to strengthen your wording.
Context: ...immediately stop all scheduled runs and remove access to historical reports. Consider ...(REMOVE_REVOKE)
214-235
: Add examples to best practices.Consider adding concrete examples to illustrate each best practice.
1. **Scheduling** - Align report timing with your team's workflow - Consider timezone differences for distributed teams + Example: Schedule daily reports at 9 AM local time for each major timezone 2. **Content** - Keep prompts focused on actionable information - Use grouping to improve readability - Exclude unnecessary details that may create noise + Example: "Show PRs pending review > 2 days" instead of "List all PRs" 3. **Distribution** - Use channels your team actively monitors - Consider creating separate reports for different audiences + Example: Technical details in dev channels, high-level metrics in management channels
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/guides/scheduled-reports.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/guides/scheduled-reports.md
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...
(NEEDS_FIXED)
[duplication] ~187-~187: Possible typo: you repeated a word
Context: ...Click the Save button to apply your changes - Changes take effect from the next scheduled run...
(ENGLISH_WORD_REPEAT_RULE)
[style] ~211-~211: Consider using a different verb to strengthen your wording.
Context: ...immediately stop all scheduled runs and remove access to historical reports. Consider ...
(REMOVE_REVOKE)
🪛 Markdownlint (0.37.0)
docs/guides/scheduled-reports.md
104-104: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
docs/guides/scheduled-reports.md
[error] 104-104: Fenced code blocks should have a language specified
🔇 Additional comments (2)
docs/guides/scheduled-reports.md (2)
1-15
: Well-structured frontmatter and introduction!The metadata and introduction effectively set up the context for the documentation.
104-114
: Add language specification to the code block.The code block should specify a language for proper syntax highlighting.
-``` +```prompt Please provide a summary of: - All pull request activities - Related issues and comments - Code review discussions - Quality gate status Do not include: - Bot conversations - Sequence diagrams🧰 Tools
🪛 Markdownlint (0.37.0)
104-104: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 104-104: Fenced code blocks should have a language specified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (6)
docs/guides/ondemand-reports.md (2)
Line range hint
44-63
: Add syntax highlighting to the sample outputAdd JSON syntax highlighting to make the output more readable.
-```sh +```json [ { "group": "Developer Activity",
Line range hint
65-69
: Enhance the error message descriptionThe error message could be more helpful by including common causes and solutions.
:::info -If you get a 401 UNAUTHORIZED error, check if you're passing the right API key in the `x-coderabbitai-api-key` header +If you get a 401 UNAUTHORIZED error: +- Verify that you're passing the correct API key +- Ensure the API key is active and not expired +- Check if the key has the necessary permissions +- Confirm the header name is exactly `x-coderabbitai-api-key` :::docs/guides/scheduled-reports.md (2)
69-71
: Fix grammatical issue in parameter descriptionThe sentence structure needs improvement.
-Each parameter can be: +Parameters can be: - Added or removed as needed -- Combined with other parameters for precise filtering +- Combined with other parameters for precise filtering🧰 Tools
🪛 LanguageTool
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...(NEEDS_FIXED)
187-189
: Remove word repetitionThe word "changes" is repeated unnecessarily.
-- Click the **Save** button to apply your changes -- Changes take effect from the next scheduled run +- Click the **Save** button to apply your changes +- Updates take effect from the next scheduled run🧰 Tools
🪛 LanguageTool
[duplication] ~187-~187: Possible typo: you repeated a word
Context: ...Click the Save button to apply your changes - Changes take effect from the next scheduled run...(ENGLISH_WORD_REPEAT_RULE)
docs/guides/custom-reports.md (2)
105-105
: Capitalize "Markdown" as a proper noun"Markdown" should be capitalized as it's a proper noun.
-CodeRabbit supports markdown formatting in custom reports. +CodeRabbit supports Markdown formatting in custom reports.🧰 Tools
🪛 LanguageTool
[grammar] ~105-~105: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...Formatting Options CodeRabbit supports markdown formatting in custom reports. You can u...(MARKDOWN_NNP)
235-235
: Fix typo in heading textThere's a missing apostrophe in "Heres".
-Heres a more advanced example of a custom report template: +Here's a more advanced example of a custom report template:
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
docs/guides/custom-reports.md
(1 hunks)docs/guides/ondemand-reports.md
(2 hunks)docs/guides/scheduled-reports.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/guides/custom-reports.md
[uncategorized] ~52-~52: Loose punctuation mark.
Context: ...s: #### Pull Request Status - Merged
: boolean (true/false) - Whether the PR h...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~60-~60: Loose punctuation mark.
Context: ...sic Information - Pull request number
: number - The PR's identifier - Title
:...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~70-~70: Loose punctuation mark.
Context: ...sed #### Additional Context - Labels
: array of strings - All labels applied t...
(UNLIKELY_OPENING_PUNCTUATION)
[grammar] ~105-~105: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...Formatting Options CodeRabbit supports markdown formatting in custom reports. You can u...
(MARKDOWN_NNP)
docs/guides/scheduled-reports.md
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...
(NEEDS_FIXED)
[duplication] ~187-~187: Possible typo: you repeated a word
Context: ...Click the Save button to apply your changes - Changes take effect from the next scheduled run...
(ENGLISH_WORD_REPEAT_RULE)
[style] ~211-~211: Consider using a different verb to strengthen your wording.
Context: ...immediately stop all scheduled runs and remove access to historical reports. Consider ...
(REMOVE_REVOKE)
🪛 Markdownlint (0.37.0)
docs/guides/custom-reports.md
31-31: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
80-80: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
118-118: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
131-131: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
147-147: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
162-162: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
199-199: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
217-217: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
237-237: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
docs/guides/scheduled-reports.md
104-104: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
docs/guides/custom-reports.md
[error] 31-31: Fenced code blocks should have a language specified
[error] 80-80: Fenced code blocks should have a language specified
[error] 118-118: Fenced code blocks should have a language specified
[error] 131-131: Fenced code blocks should have a language specified
[error] 147-147: Fenced code blocks should have a language specified
[error] 162-162: Fenced code blocks should have a language specified
[error] 199-199: Fenced code blocks should have a language specified
[error] 217-217: Fenced code blocks should have a language specified
[error] 237-237: Fenced code blocks should have a language specified
docs/guides/scheduled-reports.md
[error] 104-104: Fenced code blocks should have a language specified
🔇 Additional comments (3)
docs/guides/ondemand-reports.md (1)
5-5
: Verify sidebar position change impactThe sidebar position has been changed from 6 to 8. Ensure this doesn't conflict with other documentation pages.
✅ Verification successful
Sidebar position change is valid
The change of sidebar position from 6 to 8 for
ondemand-reports.md
does not create any conflicts. The only other file using positions 6-8 isscheduled-reports.md
which uses position 6, leaving position 8 available forondemand-reports.md
.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Check for potential sidebar position conflicts rg -l "sidebar_position: [68]" docs/Length of output: 103
Script:
#!/bin/bash # Check the actual sidebar position values in these files rg "sidebar_position: [68]" docs/guides/Length of output: 147
docs/guides/scheduled-reports.md (1)
104-114
: Add language specification to the code blockThe code block should specify a language for proper syntax highlighting.
🧰 Tools
🪛 Markdownlint (0.37.0)
104-104: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 104-104: Fenced code blocks should have a language specified
docs/guides/custom-reports.md (1)
31-44
: Add language specifications to code blocksAll code blocks should specify the 'prompt' language for proper syntax highlighting and consistency.
Also applies to: 80-101, 118-123, 131-141, 147-156, 162-168, 199-213, 217-231, 237-333
🧰 Tools
🪛 Markdownlint (0.37.0)
31-31: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 31-31: Fenced code blocks should have a language specified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
♻️ Duplicate comments (1)
docs/guides/custom-reports.md (1)
31-44
:⚠️ Potential issueAdd language specifications to code blocks.
All code blocks are missing language specifications, causing pipeline failures. These blocks should be marked as
prompt
since they contain report templates.Example fix for the first code block:
-``` +```prompt Please provide a summary of: - All merged pull requestsApply similar changes to all other code blocks in the file.
Also applies to: 50-56, 60-66, 102-123, 140-145, 153-163, 169-178, 184-190, 221-235, 239-253, 259-355
🧰 Tools
🪛 Markdownlint (0.37.0)
31-31: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 31-31: Fenced code blocks should have a language specified
🧹 Nitpick comments (3)
docs/guides/custom-reports.md (3)
127-127
: Fix capitalization of "Markdown"."Markdown" should be capitalized as it's a proper noun.
-CodeRabbit supports markdown formatting in custom reports. +CodeRabbit supports Markdown formatting in custom reports.🧰 Tools
🪛 LanguageTool
[grammar] ~127-~127: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...Formatting Options CodeRabbit supports markdown formatting in custom reports. You can u...(MARKDOWN_NNP)
68-99
: Consider enhancing the data points section.The data points section could be improved by:
- Adding examples for each data point
- Clarifying the format of datetime fields
- Specifying any limitations or constraints
Example enhancement:
#### Pull Request Status - - `Merged`: boolean (true/false) - Whether the PR has been merged + - `Merged`: boolean (true/false) - Whether the PR has been merged + Example: `true` - - `Created at`: datetime - When the PR was created + - `Created at`: datetime (ISO 8601) - When the PR was created + Example: `2024-01-15T10:30:00Z`🧰 Tools
🪛 LanguageTool
[uncategorized] ~74-~74: Loose punctuation mark.
Context: ...s: #### Pull Request Status -Merged
: boolean (true/false) - Whether the PR h...(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~82-~82: Loose punctuation mark.
Context: ...sic Information -Pull request number
: number - The PR's identifier -Title
:...(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~92-~92: Loose punctuation mark.
Context: ...sed #### Additional Context -Labels
: array of strings - All labels applied t...(UNLIKELY_OPENING_PUNCTUATION)
358-362
: Enhance the related resources section.Consider adding brief descriptions for each link to help users understand what they'll find in each resource.
## Related Resources - - [Scheduled Reports](./scheduled-reports.md) - - [On-demand Reports](./ondemand-reports.md) - - [API Documentation](https://api.coderabbit.ai/api/swagger/) + - [Scheduled Reports](./scheduled-reports.md) - Set up automated recurring reports + - [On-demand Reports](./ondemand-reports.md) - Generate reports programmatically + - [API Documentation](https://api.coderabbit.ai/api/swagger/) - Full API reference for report generation
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/guides/custom-reports.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/guides/custom-reports.md
[uncategorized] ~74-~74: Loose punctuation mark.
Context: ...s: #### Pull Request Status - Merged
: boolean (true/false) - Whether the PR h...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~82-~82: Loose punctuation mark.
Context: ...sic Information - Pull request number
: number - The PR's identifier - Title
:...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~92-~92: Loose punctuation mark.
Context: ...sed #### Additional Context - Labels
: array of strings - All labels applied t...
(UNLIKELY_OPENING_PUNCTUATION)
[grammar] ~127-~127: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...Formatting Options CodeRabbit supports markdown formatting in custom reports. You can u...
(MARKDOWN_NNP)
🪛 Markdownlint (0.37.0)
docs/guides/custom-reports.md
31-31: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
50-50: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
60-60: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
102-102: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
140-140: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
153-153: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
169-169: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
184-184: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
221-221: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
239-239: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
259-259: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
docs/guides/custom-reports.md
[error] 31-31: Fenced code blocks should have a language specified
[error] 50-50: Fenced code blocks should have a language specified
[error] 60-60: Fenced code blocks should have a language specified
[error] 102-102: Fenced code blocks should have a language specified
[error] 140-140: Fenced code blocks should have a language specified
[error] 153-153: Fenced code blocks should have a language specified
[error] 169-169: Fenced code blocks should have a language specified
[error] 184-184: Fenced code blocks should have a language specified
[error] 221-221: Fenced code blocks should have a language specified
[error] 239-239: Fenced code blocks should have a language specified
[error] 259-259: Fenced code blocks should have a language specified
🔇 Additional comments (1)
docs/guides/custom-reports.md (1)
1-13
: LGTM! Well-structured frontmatter and component setup.The frontmatter includes all necessary metadata, and the Pro Plan notice is properly integrated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
♻️ Duplicate comments (1)
docs/guides/scheduled-reports.md (1)
104-114
:⚠️ Potential issueAdd language specification to the code block.
The code block should specify a language for proper syntax highlighting. This is causing pipeline failures.
-``` +```prompt Please provide a summary of: - All pull request activities🧰 Tools
🪛 Markdownlint (0.37.0)
104-104: null
Fenced code blocks should have a language specified(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
[error] 104-104: Fenced code blocks should have a language specified
🧹 Nitpick comments (3)
docs/guides/scheduled-reports.md (3)
24-24
: Enhance image accessibility with descriptive alt text.The images could benefit from more descriptive alt text to improve accessibility.
-![Schedule Configuration](/img/guides/report-params.png) +![Schedule configuration interface showing frequency and time settings](/img/guides/report-params.png) -![Report Delivery Platforms](/img/guides/report-platforms.png) +![Integration options for email, Slack, Discord, and Microsoft Teams](/img/guides/report-platforms.png)Also applies to: 120-120
210-212
: Enhance the warning message clarity.Consider restructuring the warning message to better emphasize the permanence and impact of deletion.
-:::warning -Deleting a report will immediately stop all scheduled runs and remove access to historical reports. Consider disabling instead of deleting if you might need the report again. -::: +:::warning +Deletion is permanent and irreversible: +- All scheduled runs will be immediately terminated +- All historical reports will be permanently removed +- Consider disabling the report instead if you may need it in the future +:::🧰 Tools
🪛 LanguageTool
[style] ~211-~211: Consider using a different verb to strengthen your wording.
Context: ...immediately stop all scheduled runs and remove access to historical reports. Consider ...(REMOVE_REVOKE)
235-235
: Make API documentation link more specific.Consider linking directly to the reports-related API endpoints for better user experience.
-- [API Documentation](https://api.coderabbit.ai/api/swagger/) +- [Reports API Documentation](https://api.coderabbit.ai/api/swagger/#/Reports)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/guides/scheduled-reports.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/guides/scheduled-reports.md
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...
(NEEDS_FIXED)
[duplication] ~187-~187: Possible typo: you repeated a word
Context: ...Click the Save button to apply your changes - Changes take effect from the next scheduled run...
(ENGLISH_WORD_REPEAT_RULE)
[style] ~211-~211: Consider using a different verb to strengthen your wording.
Context: ...immediately stop all scheduled runs and remove access to historical reports. Consider ...
(REMOVE_REVOKE)
🪛 Markdownlint (0.37.0)
docs/guides/scheduled-reports.md
104-104: null
Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🪛 GitHub Actions: Node.js CI
docs/guides/scheduled-reports.md
[error] 104-104: Fenced code blocks should have a language specified
🔇 Additional comments (1)
docs/guides/scheduled-reports.md (1)
1-15
: Well-structured frontmatter and introduction!The metadata is properly configured and the introduction clearly explains the purpose of scheduled reports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (5)
docs/guides/scheduled-reports.md (2)
69-69
: Fix grammatical issue in the parameter configuration note.The sentence structure needs improvement.
-Each parameter can be: - Added or removed as needed - Combined with other parameters for precise filtering +Each parameter can be: +- Added or removed as needed +- Combined with other parameters for precise filtering🧰 Tools
🪛 LanguageTool
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...(NEEDS_FIXED)
187-187
: Improve sentence structure to avoid word repetition.The word "changes" is repeated unnecessarily.
-Click the **Save** button to apply your changes - Changes take effect from the next scheduled run +Click the **Save** button to apply your changes - Updates take effect from the next scheduled run🧰 Tools
🪛 LanguageTool
[duplication] ~187-~187: Possible typo: you repeated a word
Context: ...Click the Save button to apply your changes - Changes take effect from the next scheduled run...(ENGLISH_WORD_REPEAT_RULE)
docs/guides/custom-reports.md (3)
48-67
: Enhance multilingual examples with language codes.Consider adding ISO language codes in comments for clarity and reference.
Japanese: -```text +```prompt +# Language: ja-JP レポートを英語ではなく日本語で送信してください。 以下の要約を提供してください: - すべてのプルリクエスト活動 - コードレビューの議論French:
-
text +
prompt
+# Language: fr-FR
Veuillez envoyer le rapport en français et non en anglais.--- `281-355`: **Consider moving gitmoji reference to a separate file.** The gitmoji reference is comprehensive but makes the document quite long. Consider moving it to a separate reference file (e.g., `docs/references/gitmojis.md`) and linking to it. This would: - Improve maintainability - Make the main document more focused - Allow reuse of the reference in other documentation --- `127-127`: **Capitalize "Markdown" as it's a proper noun.** ```diff -CodeRabbit supports markdown formatting in custom reports. +CodeRabbit supports Markdown formatting in custom reports.
🧰 Tools
🪛 LanguageTool
[grammar] ~127-~127: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...Formatting Options CodeRabbit supports markdown formatting in custom reports. You can u...(MARKDOWN_NNP)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
docs/guides/custom-reports.md
(1 hunks)docs/guides/scheduled-reports.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/guides/custom-reports.md
[uncategorized] ~74-~74: Loose punctuation mark.
Context: ...s: #### Pull Request Status - Merged
: boolean (true/false) - Whether the PR h...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~82-~82: Loose punctuation mark.
Context: ...sic Information - Pull request number
: number - The PR's identifier - Title
:...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~92-~92: Loose punctuation mark.
Context: ...sed #### Additional Context - Labels
: array of strings - All labels applied t...
(UNLIKELY_OPENING_PUNCTUATION)
[grammar] ~127-~127: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...Formatting Options CodeRabbit supports markdown formatting in custom reports. You can u...
(MARKDOWN_NNP)
docs/guides/scheduled-reports.md
[style] ~69-~69: The double modal “needed Combined” is nonstandard (only accepted in certain dialects). Consider “to be Combined”.
Context: ...can be: - Added or removed as needed - Combined with other parameters for precise filte...
(NEEDS_FIXED)
[duplication] ~187-~187: Possible typo: you repeated a word
Context: ...Click the Save button to apply your changes - Changes take effect from the next scheduled run...
(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~206-~206: Possible missing preposition found.
Context: ...utton (trash icon) next to the report - Confirm deletion in the modal - Note: This acti...
(AI_HYDRA_LEO_MISSING_TO)
[style] ~211-~211: Consider using a different verb to strengthen your wording.
Context: ...immediately stop all scheduled runs and remove access to historical reports. Consider ...
(REMOVE_REVOKE)
🔇 Additional comments (3)
docs/guides/scheduled-reports.md (2)
1-14
: Well-structured introduction and header!The frontmatter is properly formatted, and the introduction clearly explains the purpose of scheduled reports.
104-114
: Add language specification to the code block.For consistency and proper syntax highlighting, specify 'prompt' as the language.
-```text +```prompt Please provide a summary of: - All pull request activities - Related issues and comments - Code review discussions - Quality gate status Do not include: - Bot conversations - Sequence diagramsdocs/guides/custom-reports.md (1)
72-99
: Excellent documentation of available data points!The section provides a comprehensive and well-organized overview of accessible PR information.
🧰 Tools
🪛 LanguageTool
[uncategorized] ~74-~74: Loose punctuation mark.
Context: ...s: #### Pull Request Status -Merged
: boolean (true/false) - Whether the PR h...(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~82-~82: Loose punctuation mark.
Context: ...sic Information -Pull request number
: number - The PR's identifier -Title
:...(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~92-~92: Loose punctuation mark.
Context: ...sed #### Additional Context -Labels
: array of strings - All labels applied t...(UNLIKELY_OPENING_PUNCTUATION)
closes: https://github.com/coderabbitai/mono/issues/2377