[web-php] master: Added the basic bug template (#1313)
| From: | Derick Rethans via GitHub | Date: | Fri, 15 Aug 2025 11:27:49 +0000 |
| Subject: | [web-php] master: Added the basic bug template (#1313) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-33110@lists.php.net to get a copy of this message | ||
Author: Derick Rethans (derickr)
Committer: GitHub (web-flow)
Pusher: derickr
Date: 2025-08-15T12:27:47+01:00
Commit: https://github.com/php/web-php/commit/b7f8feebd9cc277e33fd37341aaa00563b69db2c
Raw diff: https://github.com/php/web-php/commit/b7f8feebd9cc277e33fd37341aaa00563b69db2c.diff
Added the basic bug template (#1313)
* Add new issue templates
---------
Co-authored-by: Luffy <52o@qq52o.cn>
Changed paths:
A .github/ISSUE_TEMPLATE/bug-report.yml
A .github/ISSUE_TEMPLATE/download-page.yml
Diff:
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
new file mode 100644
index 0000000000..47076371cf
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -0,0 +1,62 @@
+name: "Bug Report"
+description: "Report a bug to help us improve"
+labels: ["Bug", "Status: Needs Triage"]
+
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to fill out this bug report!
+ Please provide as much detail as possible.
+
+ - type: input
+ id: page_url
+ attributes:
+ label: Affected Page URL
+ description: The exact page address where the bug occurs
+ placeholder: e.g. https://www.php.net/manual/en/function.date.php
+ validations:
+ required: true
+
+ - type: textarea
+ id: bug_description
+ attributes:
+ label: "Describe the bug"
+ description: "A clear and concise description of what the bug is."
+ placeholder: "Describe the issue here..."
+ validations:
+ required: true
+
+ - type: textarea
+ id: steps_to_reproduce
+ attributes:
+ label: "Steps to reproduce"
+ description: "Explain how to reproduce the behavior."
+ placeholder: |
+ 1. Go to '...'
+ 2. Click on '....'
+ 3. Scroll down to '....'
+ 4. See error
+ validations:
+ required: true
+
+ - type: textarea
+ id: expected_behavior
+ attributes:
+ label: "Expected behavior"
+ description: "What did you expect to happen?"
+ placeholder: "A clear and concise description..."
+ validations:
+ required: true
+
+ - type: textarea
+ id: screenshots
+ attributes:
+ label: "Screenshots"
+ description: "If applicable, add screenshots to help explain your problem."
+
+ - type: textarea
+ id: additional_context
+ attributes:
+ label: "Additional context"
+ description: "Add any other context about the problem here."
diff --git a/.github/ISSUE_TEMPLATE/download-page.yml b/.github/ISSUE_TEMPLATE/download-page.yml
new file mode 100644
index 0000000000..0331bcd340
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/download-page.yml
@@ -0,0 +1,35 @@
+name: "Download Page"
+description: "Suggest an idea for the downloads page"
+labels: ["Page: downloads"]
+
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to suggest an improvement or idea for the **Downloads Page**.
+ Please provide as much detail as possible so we can understand your suggestion.
+
+ - type: input
+ id: summary
+ attributes:
+ label: Summary
+ description: A brief description of your idea
+ placeholder: e.g. Add a new section for legacy downloads
+ validations:
+ required: true
+
+ - type: textarea
+ id: details
+ attributes:
+ label: Details
+ description: Explain your idea in detail. What problem does it solve? How should it look or
work?
+ placeholder: Write your detailed suggestion here...
+ validations:
+ required: true
+
+ - type: textarea
+ id: additional
+ attributes:
+ label: Additional context
+ description: Add any other context, screenshots, or references about the idea here.
+ placeholder: e.g. Related links, mockups, etc.