From ebdf101f592258a3843ce772ec94319c546baf91 Mon Sep 17 00:00:00 2001
From: Chen Hui Jing <1461498+huijing@users.noreply.github.com>
Date: Tue, 31 Oct 2023 15:00:18 +0800
Subject: [PATCH] fix: adjust indentation on issue forms
---
.github/ISSUE_TEMPLATE/bug_report.yml | 102 ++++++++++-----------
.github/ISSUE_TEMPLATE/feature_request.yml | 66 ++++++-------
2 files changed, 84 insertions(+), 84 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 5d689ef..36747b5 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -3,14 +3,14 @@ description: "Let us know if something isn't working correctly"
title: "[BUG]
"
labels: ["bug"]
body:
-- type: "checkboxes"
- attributes:
- label: "Is there an existing issue for this?"
- description: "Please search to see if an issue already exists for the bug you encountered."
- options:
- - label: "I have searched the existing issues"
- required: true
-- type: dropdown
+ - type: "checkboxes"
+ attributes:
+ label: "Is there an existing issue for this?"
+ description: "Please search to see if an issue already exists for the bug you encountered."
+ options:
+ - label: "I have searched the existing issues"
+ required: true
+ - type: dropdown
id: type
attributes:
label: "What type of bug are you experiencing?"
@@ -18,50 +18,50 @@ body:
options:
- Styling
- Component behavior
-- type: textarea
- attributes:
- label: "Current Behavior"
- description: "A concise description of what you're experiencing."
- validations:
- required: false
-- type: textarea
- attributes:
- label: "Expected Behavior"
- description: "A concise description of what you expected to happen."
- validations:
- required: false
-- type: textarea
- attributes:
- label: "Steps To Reproduce"
- description: "Steps to reproduce the behavior."
- placeholder: |
- 1. In this environment...
- 1. With this config...
- 1. Run '...'
- 1. See error...
- validations:
- required: false
-- type: textarea
- attributes:
- label: "Environment"
- description: |
- examples:
- - **OS**: Ubuntu 20.04
- - **Node**: 13.14.0
- - **npm**: 7.6.3
- value: |
+ - type: textarea
+ attributes:
+ label: "Current Behavior"
+ description: "A concise description of what you're experiencing."
+ validations:
+ required: false
+ - type: textarea
+ attributes:
+ label: "Expected Behavior"
+ description: "A concise description of what you expected to happen."
+ validations:
+ required: false
+ - type: textarea
+ attributes:
+ label: "Steps To Reproduce"
+ description: "Steps to reproduce the behavior."
+ placeholder: |
+ 1. In this environment...
+ 1. With this config...
+ 1. Run '...'
+ 1. See error...
+ validations:
+ required: false
+ - type: textarea
+ attributes:
+ label: "Environment"
+ description: |
+ examples:
+ - **OS**: Ubuntu 20.04
+ - **Node**: 13.14.0
+ - **npm**: 7.6.3
+ value: |
- OS:
- Node:
- npm:
- render: markdown
- validations:
- required: false
-- type: textarea
- attributes:
- label: "Anything else?"
- description: |
- Links? References? Anything that will give us more context about the issue you are encountering!
+ render: markdown
+ validations:
+ required: false
+ - type: textarea
+ attributes:
+ label: "Anything else?"
+ description: |
+ Links? References? Anything that will give us more context about the issue you are encountering!
- Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
- validations:
- required: false
+ Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index 2097c55..62b46c0 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -3,14 +3,14 @@ description: "Suggest a new feature"
title: "[FEATURE] "
labels: ["enhancement"]
body:
-- type: checkboxes
- attributes:
- label: "Is there an existing issue for this?"
- description: "Please search to see if an issue already exists for the bug you encountered."
- options:
- - label: "I have searched the existing issues"
- required: true
-- type: dropdown
+ - type: checkboxes
+ attributes:
+ label: "Is there an existing issue for this?"
+ description: "Please search to see if an issue already exists for the bug you encountered."
+ options:
+ - label: "I have searched the existing issues"
+ required: true
+ - type: dropdown
id: type
attributes:
label: "What type of enhancement are you suggesting?"
@@ -19,28 +19,28 @@ body:
- Elevate project-specific component to shared
- Brand new component
- Other
-- type: textarea
- attributes:
- label: "Is your feature request related to a problem? Please describe."
- description: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]"
- validations:
- required: false
-- type: textarea
- attributes:
- label: "Describe the solution you'd like"
- description: "A clear and concise description of what you want to happen."
- validations:
- required: false
-- type: textarea
- attributes:
- label: "Describe alternatives you've considered"
- description: "A clear and concise description of any alternative solutions or features you've considered."
- validations:
- required: false
-- type: textarea
- attributes:
- label: "Additional context"
- description: |
- Add any other context or screenshots about the feature request here.
- validations:
- required: false
+ - type: textarea
+ attributes:
+ label: "Is your feature request related to a problem? Please describe."
+ description: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]"
+ validations:
+ required: false
+ - type: textarea
+ attributes:
+ label: "Describe the solution you'd like"
+ description: "A clear and concise description of what you want to happen."
+ validations:
+ required: false
+ - type: textarea
+ attributes:
+ label: "Describe alternatives you've considered"
+ description: "A clear and concise description of any alternative solutions or features you've considered."
+ validations:
+ required: false
+ - type: textarea
+ attributes:
+ label: "Additional context"
+ description: |
+ Add any other context or screenshots about the feature request here.
+ validations:
+ required: false