-
Notifications
You must be signed in to change notification settings - Fork 817
chore: correct issue template folder structure #3000
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
Conversation
Reviewer's GuideMoves GitHub issue templates into the correct Flow diagram for GitHub detecting and using the issue templatesflowchart TD
A[Repository] --> B[.github directory]
B --> C[ISSUE_TEMPLATE directory]
C --> D[report-a-bug.md]
C --> E[feature_request.md]
C --> F[general-issues.md]
G[GitHub issue creation] --> H{Are templates in .github/ISSUE_TEMPLATE?}
H -->|Yes| I[Read report-a-bug feature_request general-issues metadata]
H -->|No| J[Show default blank issue form]
I --> K[Render issue template picker<br/>Bug report<br/>Feature request<br/>General issues]
K --> L[User selects a template]
L --> M[GitHub loads corresponding structured form]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey there - I've reviewed your changes and they look great!
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location> `.github/ISSUE_TEMPLATE/report-a-bug.md:3` </location>
<code_context>
+---
+name: Report a bug
+about: 'Report a bug which you have noticed, to help us improve PSLab '
+title: ''
+labels: bug
</code_context>
<issue_to_address>
**suggestion (typo):** Tighten the wording and remove the extra space in the `about` text.
Please change this to `Report a bug that you have noticed to help us improve PSLab` (no comma) and remove the trailing space before the closing quote.
```suggestion
about: 'Report a bug that you have noticed to help us improve PSLab'
```
</issue_to_address>
### Comment 2
<location> `.github/ISSUE_TEMPLATE/report-a-bug.md:22-23` </location>
<code_context>
-
-<!-- Provide logs for the crash here -->
-
-**Screenshots of the issue**
-
-<!-- Where-ever possible add a screenshot of the issue. -->
</code_context>
<issue_to_address>
**issue (typo):** Fix the spelling of “Where-ever” to “Wherever”.
In the screenshots section comment, change `Where-ever` to `Wherever` (one word).
```suggestion
**Screenshots of the issue**
<!--Wherever possible add a screenshot of the issue. Use `<img src="paste-link-here" width=200 />` tag-->
```
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
Hello @marcnause 😅, the issue template I previously added were not being detected because they were placed in the wrong folder structure. I discovered that GitHub only recognizes templates inside .github/ISSUE_TEMPLATE/. I have now corrected the folder structure so the templates load properly |
marcnause
left a comment
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.
I noticed that the templates were not working yesterday when I created a bunch of new issues. Great that you have a fix for it today! Thanks for continuing to take care of this.
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Build StatusBuild successful. APKs to test: https://github.com/fossasia/pslab-app/actions/runs/20042359434/artifacts/4802935378. Screenshots |







-1_instruments_screen.png?raw=true)
-2_nav_drawer.png?raw=true)
-3_accelerometer.png?raw=true)
-4_power_source.png?raw=true)
-5_multimeter.png?raw=true)
-6_wave_generator.png?raw=true)
-7_oscilloscope.png?raw=true)
Fixes:
.github/ISSUE_TEMPLATE/directory.Changes
.github/ISSUE_TEMPLATE/folder.Screenshots / Recordings
N/A
Checklist:
constants.dartor localization files instead of hard-coded values.dart formator the IDE formatter.flutter analyzeand tests run influtter test.Summary by Sourcery
Documentation: