Conversation
Reviewer's GuideAdds standardized GitHub issue templates for bug reports, feature requests, and a generic custom issue type to streamline issue creation and capture consistent information from reporters. Flow diagram for selecting a GitHub issue templateflowchart TD
A[User opens repository Issues tab] --> B[User clicks New issue]
B --> C[GitHub shows issue template options]
C --> D[Bug report template]
C --> E[Feature request template]
C --> F[Custom issue template]
D --> D1[User fills Describe the bug]
D1 --> D2[User fills To Reproduce steps]
D2 --> D3[User fills Expected behavior]
D3 --> D4[User optionally adds Screenshots]
D4 --> D5[User fills Desktop and Smartphone details]
D5 --> D6[User adds Additional context]
D6 --> G[Submit issue]
E --> E1[User describes problem context]
E1 --> E2[User describes desired solution]
E2 --> E3[User describes alternatives considered]
E3 --> E4[User adds Additional context or screenshots]
E4 --> G
F --> F1[User describes purpose of custom issue]
F1 --> F2[User adds free form details]
F2 --> G
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Summary of ChangesHello @Dargon789, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a set of standardized issue templates to enhance the issue reporting process. By providing clear structures for bug reports, feature requests, and general issues, it aims to improve the quality and consistency of submitted issues, making it easier for maintainers to understand and address them. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Hey - I've found 1 issue, and left some high level feedback:
- Consider setting default labels (e.g.,
bug,enhancement) and/or assignees in the issue templates’ front matter to reduce triage overhead and ensure new issues are categorized consistently. - The bug report template splits environment details into separate desktop and smartphone sections; you might simplify maintenance and user experience by replacing these with a single, generic environment section that covers OS, browser/app, device, and version.
- Since GitHub now supports Issue Forms, you may want to convert these markdown templates to form-based templates to enforce structure (required fields, dropdowns) and improve the quality and consistency of submitted issues.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider setting default labels (e.g., `bug`, `enhancement`) and/or assignees in the issue templates’ front matter to reduce triage overhead and ensure new issues are categorized consistently.
- The bug report template splits environment details into separate desktop and smartphone sections; you might simplify maintenance and user experience by replacing these with a single, generic environment section that covers OS, browser/app, device, and version.
- Since GitHub now supports Issue Forms, you may want to convert these markdown templates to form-based templates to enforce structure (required fields, dropdowns) and improve the quality and consistency of submitted issues.
## Individual Comments
### Comment 1
<location> `.github/ISSUE_TEMPLATE/bug_report.md:28` </location>
<code_context>
+**Smartphone (please complete the following information):**
+ - Device: [e.g. iPhone6]
+ - OS: [e.g. iOS8.1]
+ - Browser [e.g. stock browser, safari]
+ - Version [e.g. 22]
+
</code_context>
<issue_to_address>
**nitpick (typo):** Capitalize Safari in the example browser list.
For example, you could change it to `[e.g. stock browser, Safari]`.
```suggestion
- Browser [e.g. stock browser, Safari]
```
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
There was a problem hiding this comment.
Code Review
This pull request introduces standardized GitHub issue templates for bug reports, feature requests, and custom issues. The templates are well-structured and will help streamline the issue creation process. I've provided a few suggestions to further improve them, such as adding default labels and title prefixes for better issue triaging, clarifying an example, and making the custom template more user-friendly.
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Summary by Sourcery
Add standardized GitHub issue templates for bug reports, feature requests, and custom issues to streamline issue creation and improve report quality.
New Features: