diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml b/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml new file mode 100644 index 0000000000..2cdcb9a79c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml @@ -0,0 +1,53 @@ +name: "🐞 Bug Report" +description: Report a bug to Lynx +title: "[Bug]: " +type: Bug +labels: ["pending triage"] +body: + - type: markdown + attributes: + value: | + Thank you for taking the time to report this issue! Before submitting, please note: + + - Confirm that your problem cannot be solved by official documentation. + - Make sure you've searched in the [Issues](https://github.com/lynx-family/lynx-stack/issues) and haven't found the same issue. + - If it's not bug report, please post on the [Discussions](https://github.com/lynx-family/lynx-stack/discussions). + + - type: textarea + id: system-info + attributes: + label: System Info + description: Output of `npx envinfo --system --npmPackages '@lynx-js/*' --binaries` + placeholder: | + System: + Binaries: + npmPackages: + validations: + required: true + + - type: textarea + id: details + attributes: + label: Details + description: Please describe the bug, it would be better to provide some screenshots. + validations: + required: true + + - type: input + id: reproduce + attributes: + label: Reproduce link + description: "Please provide a URL of the repository that reproduces the problem. We recommend the [Lynx repro template](https://github.com/lynx-family/lynx-repro) for creating a minimal reproducible example." + placeholder: paste link here + + - type: textarea + id: reproduce-steps + attributes: + label: Reproduce Steps + description: Please provide the simplest steps so that we can quickly reproduce the problem. + placeholder: | + For example: + 1. Run `npm run dev` + 2. Find some error messages + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.en-US.yml b/.github/ISSUE_TEMPLATE/2-feature-request.en-US.yml new file mode 100644 index 0000000000..11abf04f0f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature-request.en-US.yml @@ -0,0 +1,30 @@ +name: "✨ Feature Request" +description: Submit a new feature request to Rspack +title: "[Feature]: " +type: Feature +labels: ["pending triage"] +body: + - type: markdown + attributes: + value: | + Thank you for submitting a new feature request! Before submitting, please note: + + - Confirm that this is a common feature and cannot be implemented using existing APIs. + - Make sure you've searched in the [Issues](https://github.com/lynx-family/lynx-stack/issues) and haven't found the same request. + - You can discuss the feature in the [Discussions](https://github.com/lynx-family/lynx-stack/discussions) first. + + - type: textarea + id: description + attributes: + label: What problem does this feature solve? + description: Please describe the use case for this feature. + validations: + required: true + + - type: textarea + id: api + attributes: + label: What does the proposed API of configuration look like? + description: Describe the new API, give some code examples. If webpack has its own implementation, you can provide some related links. + validations: + required: true