You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/11/02 04:07:07 UTC

[apisix-dashboard] 01/01: chore: improve issue template and vscode

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch feat-improve
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git

commit 42ac72c7511f529deda29a4d22a63e2d3aa01dc8
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Mon Nov 2 12:06:48 2020 +0800

    chore: improve issue template and vscode
---
 .github/ISSUE_TEMPLATE                    | 23 --------------------
 .github/ISSUE_TEMPLATE/bug-report.md      | 36 +++++++++++++++++++++++++++++++
 .github/ISSUE_TEMPLATE/config.yml         |  5 +++++
 .github/ISSUE_TEMPLATE/feature-request.md | 23 ++++++++++++++++++++
 .gitignore                                |  2 --
 .vscode/settings.json                     |  8 +++++++
 6 files changed, 72 insertions(+), 25 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE
deleted file mode 100644
index b3c0269..0000000
--- a/.github/ISSUE_TEMPLATE
+++ /dev/null
@@ -1,23 +0,0 @@
-Please answer these questions before submitting your issue.
-
-- Why do you submit this issue?
-- [ ] Question or discussion
-- [ ] Bug
-- [ ] Requirements
-- [ ] Feature or performance improvement
-- [ ] Other
-
-___
-### Question
-- What do you want to know?
-
-___
-### Bug
-- Which version of Apache APISIX Dashboard, OS, and Browser?
-
-- What happened?
-If possible, provide a way to reproduce the error.
-
-___
-### Requirements or improvement
-- Please describe your requirements or improvement suggestions.
diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md
new file mode 100644
index 0000000..cf887b7
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.md
@@ -0,0 +1,36 @@
+---
+name: Bug report
+about: Create a bug report for the Apache APISIX Dashboard
+labels: "bug"
+---
+
+# Bug report
+
+## Describe the bug
+
+A clear and concise description of what the bug is.
+
+## How to Reproduce
+
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+## Expected behavior
+
+A clear and concise description of what you expected to happen.
+
+## Screenshots
+
+Add screenshots to help explain your problem if applicable.
+
+## System information
+
+- OS: [e.g. macOS, Windows]
+- Browser (if applies) [e.g. Chrome, Safari, Edge]
+- Version: [e.g. 2.0-rc3]
+
+## Additional context
+
+Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..216f73c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,5 @@
+blank_issues_enabled: false
+contact_links:
+  - name: Visit Apache APISIX
+    url: https://github.com/apache/apisix
+    about: Ask questions or discuss with other community members about Apache APISIX
diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md
new file mode 100644
index 0000000..aa019dc
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature-request.md
@@ -0,0 +1,23 @@
+---
+name: Feature request
+about: Create a feature request for the Apache APISIX Dashboard
+labels: 'feature'
+---
+
+# Feature request
+
+## Please describe your feature
+
+A clear and concise description of what you want and what your use case is.
+
+## 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/.gitignore b/.gitignore
index a6124be..a3b8886 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,7 +8,6 @@ _roadhog-api-doc
 
 # production
 dist
-/.vscode
 
 # misc
 .DS_Store
@@ -19,7 +18,6 @@ yarn-error.log
 .idea
 package-lock.json
 *bak
-.vscode
 
 # visual studio code
 .history
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..e521849
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,8 @@
+{
+  "eslint.validate": [
+    "javascript",
+    "javascriptreact",
+    { "language": "typescript", "autoFix": true },
+    { "language": "typescriptreact", "autoFix": true }
+  ]
+}