1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Added the basic bug template (#1313)

* Add new issue templates

---------

Co-authored-by: Luffy <52o@qq52o.cn>
This commit is contained in:
Derick Rethans
2025-08-15 12:27:47 +01:00
committed by GitHub
parent d5d0d339e1
commit b7f8feebd9
2 changed files with 97 additions and 0 deletions

62
.github/ISSUE_TEMPLATE/bug-report.yml vendored Normal file
View File

@@ -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."

View File

@@ -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.