From c5efdc9e6a182bdca4ba7f9e002429789c9ddaaa Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 15 Aug 2025 11:10:37 +0100 Subject: [PATCH 1/2] Update issue templates --- .github/ISSUE_TEMPLATE/download-page.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/download-page.md diff --git a/.github/ISSUE_TEMPLATE/download-page.md b/.github/ISSUE_TEMPLATE/download-page.md new file mode 100644 index 0000000000..8723193096 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/download-page.md @@ -0,0 +1,20 @@ +--- +name: Download Page +about: Suggest an idea for the downloads page +title: '' +labels: 'Page: downloads' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From 9766b928e8e759b58929aa5e8b7f4a2305435e76 Mon Sep 17 00:00:00 2001 From: Luffy <52o@qq52o.cn> Date: Fri, 15 Aug 2025 18:32:01 +0800 Subject: [PATCH 2/2] Add new issue templates --- .github/ISSUE_TEMPLATE/bug-report.yml | 62 ++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/download-page.md | 20 -------- .github/ISSUE_TEMPLATE/download-page.yml | 35 +++++++++++++ 3 files changed, 97 insertions(+), 20 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml delete mode 100644 .github/ISSUE_TEMPLATE/download-page.md create mode 100644 .github/ISSUE_TEMPLATE/download-page.yml 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.md b/.github/ISSUE_TEMPLATE/download-page.md deleted file mode 100644 index 8723193096..0000000000 --- a/.github/ISSUE_TEMPLATE/download-page.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Download Page -about: Suggest an idea for the downloads page -title: '' -labels: 'Page: downloads' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request 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.