From 0a3f35c16a9f9c89177962f6430423d1da290d35 Mon Sep 17 00:00:00 2001 From: BitterGourd <91231822+gaoachao@users.noreply.github.com> Date: Tue, 4 Mar 2025 17:00:18 +0800 Subject: [PATCH 1/4] chore(workflow): add issue template --- .github/ISSUE_TEMPLATE/1-bug-report.en-US.yml | 54 +++++++++++++++++++ .../2-feature-request.en-US.yml | 30 +++++++++++ 2 files changed, 84 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1-bug-report.en-US.yml create mode 100644 .github/ISSUE_TEMPLATE/2-feature-request.en-US.yml 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..aef7c8f469 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml @@ -0,0 +1,54 @@ +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 --browsers` + placeholder: | + System: + Binaries: + Browsers: + 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 [Rspack 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 From a6678723460c2c88100a161565b679f45366921f Mon Sep 17 00:00:00 2001 From: BitterGourd <91231822+gaoachao@users.noreply.github.com> Date: Tue, 4 Mar 2025 17:10:23 +0800 Subject: [PATCH 2/4] Update .github/ISSUE_TEMPLATE/1-bug-report.en-US.yml Co-authored-by: Qingyu Wang <40660121+colinaaa@users.noreply.github.com> Signed-off-by: BitterGourd <91231822+gaoachao@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/1-bug-report.en-US.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml b/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml index aef7c8f469..cba31d973c 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml @@ -17,7 +17,7 @@ body: id: system-info attributes: label: System Info - description: Output of `npx envinfo --system --npmPackages '@lynx-js/*' --binaries --browsers` + description: Output of `npx envinfo --system --npmPackages '@lynx-js/*' --binaries` placeholder: | System: Binaries: From f35e806b3b3d33a474e8b9040b5caeba5d938bdd Mon Sep 17 00:00:00 2001 From: BitterGourd <91231822+gaoachao@users.noreply.github.com> Date: Tue, 4 Mar 2025 17:10:35 +0800 Subject: [PATCH 3/4] Update .github/ISSUE_TEMPLATE/1-bug-report.en-US.yml Co-authored-by: Qingyu Wang <40660121+colinaaa@users.noreply.github.com> Signed-off-by: BitterGourd <91231822+gaoachao@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/1-bug-report.en-US.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml b/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml index cba31d973c..cf8d12a25d 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml @@ -38,7 +38,7 @@ body: id: reproduce attributes: label: Reproduce link - description: "Please provide a URL of the repository that reproduces the problem. We recommend the [Rspack repro template](https://github.com/lynx-family/lynx-repro) for creating a minimal reproducible example." + 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 From 74c4f23ca015fb73d9d1f6d52bc04cb3feccf0de Mon Sep 17 00:00:00 2001 From: BitterGourd <91231822+gaoachao@users.noreply.github.com> Date: Tue, 4 Mar 2025 17:15:20 +0800 Subject: [PATCH 4/4] Update .github/ISSUE_TEMPLATE/1-bug-report.en-US.yml Co-authored-by: Qingyu Wang <40660121+colinaaa@users.noreply.github.com> Signed-off-by: BitterGourd <91231822+gaoachao@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/1-bug-report.en-US.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml b/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml index cf8d12a25d..2cdcb9a79c 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml @@ -21,7 +21,6 @@ body: placeholder: | System: Binaries: - Browsers: npmPackages: validations: required: true