From 135db3cab6f537442a4ee8fdab0742cd9476b758 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Thu, 26 Dec 2024 14:38:51 +0900 Subject: [PATCH] chore: add GitHub issue templates (#908) --- .github/ISSUE_TEMPLATE/1-bug-report.yml | 52 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/2-feature-request.yml | 18 +++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ 3 files changed, 78 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1-bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/2-feature-request.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml new file mode 100644 index 000000000..5b54514bf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml @@ -0,0 +1,52 @@ +name: 🐛 Bug Report +description: Report an issue that should be fixed +labels: [triage] +body: + - type: markdown + attributes: + value: | + Thank you for submitting a bug report. It helps make Hono better. + + If you need help or support using Hono, and are not reporting a bug, please ask questions in [our Discord](https://discord.gg/KMh2eNSdxV) or [GitHub Discussions](https://github.com/orgs/honojs/discussions). + + Please try to include as much information as possible. + - type: input + attributes: + label: Which middleware has the bug? + placeholder: '@hono/zod-validator' + validations: + required: true + - type: input + attributes: + label: What version of the middleware? + description: 0.0.0 + validations: + required: true + - type: input + attributes: + label: What version of Hono are you using? + placeholder: 0.0.0 + validations: + required: true + - type: input + attributes: + label: What runtime/platform is your app running on? (with version if possible) + placeholder: Cloudflare Workers, Deno, Bun, etc. + validations: + required: true + - type: textarea + attributes: + label: What steps can reproduce the bug? + description: Explain the bug and provide a code snippet that can reproduce it. + validations: + required: true + - type: textarea + attributes: + label: What is the expected behavior? + - type: textarea + attributes: + label: What do you see instead? + - type: textarea + attributes: + label: Additional information + description: Is there anything else you think we should know? diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.yml b/.github/ISSUE_TEMPLATE/2-feature-request.yml new file mode 100644 index 000000000..6ca808f4c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature-request.yml @@ -0,0 +1,18 @@ +name: 🚀 Feature Request +description: Suggest an idea, feature, or enhancement +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + Thank you for submitting an idea. It helps make Hono better. + - type: input + attributes: + label: Which middleware is the feature for? + placeholder: '@hono/zod-validator' + - type: textarea + attributes: + label: What is the feature you are proposing? + description: A clear description of what you want to happen. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..e918227e2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: ❓ Questions + url: https://github.com/orgs/honojs/discussions + about: Ask your questions on the GitHub Discussions. + - name: 🗣️ Discord + url: https://discord.gg/KMh2eNSdxV + about: Join our Discord server to chat.