Skip to content

An AI-powered search engine with a generative UI

Refactor issue and feature templates

Yoshiki Miura3fb7ea575f69
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml
deleted file mode 100644
index 9d220270..00000000
--- a/.github/ISSUE_TEMPLATE/bug_report.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
-name: Bug report
-description: Create a report to help us improve
-title: ''
-labels: []
-assignees: []
-body:
- - type: markdown
- attributes:
- value: |
- **Describe the bug**
- A clear and concise description of what the bug is.
- - type: textarea
- id: steps-to-reproduce
- attributes:
- label: Steps to Reproduce
- description: Steps 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: A clear and concise description of what you expected to happen.
- placeholder: Tell us what you expected to happen
- validations:
- required: true
- - type: textarea
- id: screenshots
- attributes:
- label: Screenshots
- description: If applicable, add screenshots to help explain your problem.
- placeholder: Add screenshots here
- - type: dropdown
- id: browsers
- attributes:
- label: What browsers are you seeing the problem on?
- multiple: true
- options:
- - Firefox
- - Chrome
- - Safari
- - Microsoft Edge
- - Others
- - type: textarea
- id: additional-context
- attributes:
- label: Additional context
- description: Add any other context about the problem here.
- placeholder: Add any other context here
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 00000000..5cd56212
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,59 @@
+name: 🐞 Bug
+description: File a bug/issue
+title: '[BUG] <title>'
+labels: ['Bug', 'Needs Triage']
+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: 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...
+ 2. With this config...
+ 3. Run '...'
+ 4. 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!
+
+ 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.yaml b/.github/ISSUE_TEMPLATE/feature_request.yml
similarity index 100%
rename from .github/ISSUE_TEMPLATE/feature_request.yaml
rename to .github/ISSUE_TEMPLATE/feature_request.yml