Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

misc(issue-template): Refactor the Issue Template (#3050)

Manjusakaa34c58d27b6b
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 0efe5fa8bd..0000000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: ''
-labels: bug
-assignees: ''
-
----
-
-**Provide the MySQL version you are using (if related with instance/database operation)**
-
-**Provide the GitLab version you are using (if related with VCS integration)**
-
-**Provide the Bytebase version you are using**
-
-The version info is shown on the bottom left of the console.
-
-**Describe the bug**
-
-A clear and concise description of what the bug is.
-
-**Steps or screenshots to reproduce the behavior**
-
-1. Go to '...'
-1. Click on '....'
-1. See error
-
-*If the error is not obvious, you can enable the [--debug](https://bytebase.com/docs/reference/command-line#--debug) option on startup and attach the console message here*
-
-**Expected behavior**
-
-A clear and concise description of what you expected to happen.
-
-**Desktop (please complete the following information):**
- - Browser [e.g. chrome, safari]
- - Version [e.g. 22]
-
-**Additional context**
-
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000000..f1f92a37af
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,70 @@
+name: Bug Report
+description: Create a report to help us improve
+labels: [bug]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
+ - type: textarea
+ attributes:
+ label: Describe the bug
+ description: |
+ Briefly describe the problem you are having in a few paragraphs.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Steps to reproduce
+ description: |
+ Provide the steps to reproduce the issue.
+ placeholder: |
+ 1. Go to '...'
+ 3. Click on '....'
+ 4. See error
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Expected behavior
+ description: |
+ Describe what you expected to happen.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Screenshots
+ description: |
+ If applicable, add screenshots to help explain your problem.
+ - type: textarea
+ attributes:
+ label: Provide the Bytebase version you are using
+ description: |
+ You can find the version in the footer of the Bytebase UI.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Provide the GitLab version you are using
+ description: |
+ Provide the GitLab version you are using (if related with VCS integration)
+ - type: textarea
+ attributes:
+ label: Provide the MySQL version you are using
+ description: |
+ Provide the MySQL version you are using (if related with MySQL integration)
+ - type: textarea
+ attributes:
+ label: Provide the PostgreSQL version you are using
+ description: |
+ Provide the PostgreSQL version you are using (if related with PostgreSQL integration)
+ - type: textarea
+ attributes:
+ label: Desktop
+ description: |
+ Desktop (please complete the following information)
+ - type: textarea
+ attributes:
+ label: Additional context
+ description: |
+ Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index 8d53c2a3f0..0000000000
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
-title: ''
-labels: enhancement
-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.
-
-**Additional context**
-
-Add any other context or screenshots about the feature request here.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 0000000000..11b966c083
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,28 @@
+name: Feature Request
+description: Suggest an idea for this project
+labels: [enhancement]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to suggest an idea for Bytebase!
+ - type: textarea
+ attributes:
+ label: Is your feature request related to a problem?
+ description: |
+ A clear and concise description of what the problem is.
+ placeholder: |
+ I'm always frustrated when [...]
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Describe the solution you'd like
+ description: |
+ A clear and concise description of what you want to happen.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Additional context
+ description: Add any other context or screenshots about the feature request here.