From 2751a6771fe961da86872bf10dcae8be1f67ff74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 22 Nov 2022 10:51:15 +0100 Subject: [PATCH 01/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index f5a4c764022c1..b3c6bf573b702 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -53,6 +53,26 @@ body: description: Steps to reproduce the behavior, please provide a clear description of how to reproduce the issue, based on the linked minimal reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken. validations: required: true + - type: dropdown + attributes: + label: Which area of Next.js is affected (leave empty if unsure)? + multiple: true + options: + - @next/font + - App directory + - CLI (create-next-app) + - ESLint + - Internationalzation (i18n) + - Middleware + - next/dynamic + - next/image + - next/jest + - next/script + - Routing + - Standalone mode (output: standalone) + - SWC (minify, transpilation) + - Turbopack + - Other - type: markdown attributes: value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear. From 3da1253af5c607ad2047dc849db2b68cabab16e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 22 Nov 2022 11:15:41 +0100 Subject: [PATCH 02/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 28 ++++++++++++++----------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index b3c6bf573b702..2ea464d4d4ea9 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -58,20 +58,24 @@ body: label: Which area of Next.js is affected (leave empty if unsure)? multiple: true options: - - @next/font - - App directory + - App directory (appDir: true) - CLI (create-next-app) - - ESLint + - Data fetching (gS(S)P, getInitialProps) + - Dynamic imports (next/dynamic) + - ESLint (eslint-config-next) + - Font optimization (@next/font) - Internationalzation (i18n) - - Middleware - - next/dynamic - - next/image - - next/jest - - next/script - - Routing - - Standalone mode (output: standalone) - - SWC (minify, transpilation) - - Turbopack + - Image optmization (next/image, next/legacy/image) + - Jest (next/jest) + - Middleware / Edge (API routes, runtime) + - Package manager (pnpm, Yarn PnP) + - Routing (next/router, next/navigation, Link) + - Script optimizatzion (next/script) + - Standalone mode (output: "standalone") + - SWC minifier (swcMinify: true) + - SWC transpilation + - Turbopack (--turbo) + - TypeScript - Other - type: markdown attributes: From feaca88b871747cb5a076a3243807324cf48bf85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 22 Nov 2022 11:16:43 +0100 Subject: [PATCH 03/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 2ea464d4d4ea9..0b4da31ec0a75 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -71,10 +71,10 @@ body: - Package manager (pnpm, Yarn PnP) - Routing (next/router, next/navigation, Link) - Script optimizatzion (next/script) - - Standalone mode (output: "standalone") + - 'Standalone mode (output: "standalone")' - SWC minifier (swcMinify: true) - SWC transpilation - - Turbopack (--turbo) + - 'Turbopack (--turbo)' - TypeScript - Other - type: markdown From 5bdeaa74501d078ad99da05385ac3e374c45e133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 22 Nov 2022 11:18:19 +0100 Subject: [PATCH 04/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 0b4da31ec0a75..dc920a4c260b3 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -53,6 +53,15 @@ body: description: Steps to reproduce the behavior, please provide a clear description of how to reproduce the issue, based on the linked minimal reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken. validations: required: true + - type: markdown + attributes: + value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear. + - type: markdown + attributes: + value: Contributors should be able to follow the steps provided in order to reproduce the bug. + - type: markdown + attributes: + value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance! - type: dropdown attributes: label: Which area of Next.js is affected (leave empty if unsure)? @@ -77,12 +86,3 @@ body: - 'Turbopack (--turbo)' - TypeScript - Other - - type: markdown - attributes: - value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear. - - type: markdown - attributes: - value: Contributors should be able to follow the steps provided in order to reproduce the bug. - - type: markdown - attributes: - value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance! From ab9c6f414af0066f659555beca2b1fa191f09b08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 22 Nov 2022 11:20:06 +0100 Subject: [PATCH 05/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 60 ++++++++++++------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index dc920a4c260b3..1db705b7e80d9 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -21,14 +21,30 @@ body: description: Please run `next info` in the root directory of your project and paste the results. You might need to use `npx --no-install next info` if next is not in the current PATH. validations: required: true - - type: input - attributes: - label: What browser are you using? (if relevant) - description: 'Please specify the exact version. For example: Chrome 100.0.4878.0' - - type: input + - type: dropdown attributes: - label: How are you deploying your application? (if relevant) - description: 'For example: next start, next export, Vercel, Other platform' + label: Which area of Next.js is affected (leave empty if unsure)? + multiple: true + options: + - App directory (appDir: true) + - CLI (create-next-app) + - Data fetching (gS(S)P, getInitialProps) + - Dynamic imports (next/dynamic) + - ESLint (eslint-config-next) + - Font optimization (@next/font) + - Internationalzation (i18n) + - Image optmization (next/image, next/legacy/image) + - Jest (next/jest) + - Middleware / Edge (API routes, runtime) + - Package manager (pnpm, Yarn PnP) + - Routing (next/router, next/navigation, Link) + - Script optimizatzion (next/script) + - 'Standalone mode (output: "standalone")' + - SWC minifier (swcMinify: true) + - SWC transpilation + - 'Turbopack (--turbo)' + - TypeScript + - Other - type: textarea attributes: label: Describe the Bug @@ -62,27 +78,11 @@ body: - type: markdown attributes: value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance! - - type: dropdown + - type: input attributes: - label: Which area of Next.js is affected (leave empty if unsure)? - multiple: true - options: - - App directory (appDir: true) - - CLI (create-next-app) - - Data fetching (gS(S)P, getInitialProps) - - Dynamic imports (next/dynamic) - - ESLint (eslint-config-next) - - Font optimization (@next/font) - - Internationalzation (i18n) - - Image optmization (next/image, next/legacy/image) - - Jest (next/jest) - - Middleware / Edge (API routes, runtime) - - Package manager (pnpm, Yarn PnP) - - Routing (next/router, next/navigation, Link) - - Script optimizatzion (next/script) - - 'Standalone mode (output: "standalone")' - - SWC minifier (swcMinify: true) - - SWC transpilation - - 'Turbopack (--turbo)' - - TypeScript - - Other + label: What browser are you using? (if relevant) + description: 'Please specify the exact version. For example: Chrome 100.0.4878.0' + - type: input + attributes: + label: How are you deploying your application? (if relevant) + description: 'For example: next start, next export, Vercel, Other platform' From 545459003e9bf858b72a69ae59e329f066ca6497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 22 Nov 2022 11:21:16 +0100 Subject: [PATCH 06/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 1db705b7e80d9..bf3f55e8e1607 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -45,28 +45,28 @@ body: - 'Turbopack (--turbo)' - TypeScript - Other - - type: textarea + - type: input attributes: - label: Describe the Bug - description: A clear and concise description of what the bug is. + label: Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster + description: A link to a GitHub repository, a [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template), or a [CodeSandbox](https://codesandbox.io/s/github/vercel/next.js/tree/canary/examples/reproduction-template) minimal reproduction. Minimal reproductions should be created from our [bug report template with `npx create-next-app -e reproduction-template`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) and should include only changes that contribute to the issue. validations: required: true - type: textarea attributes: - label: Expected Behavior - description: A clear and concise description of what you expected to happen. + label: To Reproduce + description: Steps to reproduce the behavior, please provide a clear description of how to reproduce the issue, based on the linked minimal reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken. validations: required: true - - type: input + - type: textarea attributes: - label: Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster - description: A link to a GitHub repository, a [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproduction-template), or a [CodeSandbox](https://codesandbox.io/s/github/vercel/next.js/tree/canary/examples/reproduction-template) minimal reproduction. Minimal reproductions should be created from our [bug report template with `npx create-next-app -e reproduction-template`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) and should include only changes that contribute to the issue. + label: Describe the Bug + description: A clear and concise description of what the bug is. validations: required: true - type: textarea attributes: - label: To Reproduce - description: Steps to reproduce the behavior, please provide a clear description of how to reproduce the issue, based on the linked minimal reproduction. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken. + label: Expected Behavior + description: A clear and concise description of what you expected to happen. validations: required: true - type: markdown From 30a9835a1c95d32b9eb87a5cbf3242ebf2d9840c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 22 Nov 2022 11:21:59 +0100 Subject: [PATCH 07/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index bf3f55e8e1607..8e5f95547dbd8 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -23,7 +23,7 @@ body: required: true - type: dropdown attributes: - label: Which area of Next.js is affected (leave empty if unsure)? + label: Which area of Next.js is affected? (leave empty if unsure) multiple: true options: - App directory (appDir: true) From 9d192ef472380841e4d912d7dbe285d93015e22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Wed, 23 Nov 2022 13:51:43 +0100 Subject: [PATCH 08/13] Apply suggestions from code review Co-authored-by: Steven --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 8e5f95547dbd8..44f26a8694980 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -36,8 +36,8 @@ body: - Image optmization (next/image, next/legacy/image) - Jest (next/jest) - Middleware / Edge (API routes, runtime) - - Package manager (pnpm, Yarn PnP) - - Routing (next/router, next/navigation, Link) + - Package manager (npm, pnpm, Yarn) + - Routing (next/router, next/navigation, next/link) - Script optimizatzion (next/script) - 'Standalone mode (output: "standalone")' - SWC minifier (swcMinify: true) From e1ab1318446a0724e6cf02e7c8909f8dead0c553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Wed, 23 Nov 2022 13:52:15 +0100 Subject: [PATCH 09/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 44f26a8694980..d9d3a8b9bcc47 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -42,6 +42,7 @@ body: - 'Standalone mode (output: "standalone")' - SWC minifier (swcMinify: true) - SWC transpilation + - Static HTML Export (next/export) - 'Turbopack (--turbo)' - TypeScript - Other From 0f151978e8992e572c070d79963d046ec22d3cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Wed, 23 Nov 2022 13:52:32 +0100 Subject: [PATCH 10/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index d9d3a8b9bcc47..4cfa16c063b72 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -42,7 +42,7 @@ body: - 'Standalone mode (output: "standalone")' - SWC minifier (swcMinify: true) - SWC transpilation - - Static HTML Export (next/export) + - Static HTML Export (next export) - 'Turbopack (--turbo)' - TypeScript - Other From 35b86b124553a5bc9c0678b902ea257712a7e8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Wed, 23 Nov 2022 13:53:37 +0100 Subject: [PATCH 11/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 4cfa16c063b72..711e8a7d34791 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -40,9 +40,9 @@ body: - Routing (next/router, next/navigation, next/link) - Script optimizatzion (next/script) - 'Standalone mode (output: "standalone")' + - Static HTML Export (next export) - SWC minifier (swcMinify: true) - SWC transpilation - - Static HTML Export (next export) - 'Turbopack (--turbo)' - TypeScript - Other From 8e421f1ba4cddb679bf4d844af231f44d2544561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 29 Nov 2022 18:42:50 +0100 Subject: [PATCH 12/13] Update 1.bug_report.yml --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 36 ++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 711e8a7d34791..993449abecffe 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -26,26 +26,26 @@ body: label: Which area of Next.js is affected? (leave empty if unsure) multiple: true options: - - App directory (appDir: true) - - CLI (create-next-app) - - Data fetching (gS(S)P, getInitialProps) - - Dynamic imports (next/dynamic) - - ESLint (eslint-config-next) - - Font optimization (@next/font) - - Internationalzation (i18n) - - Image optmization (next/image, next/legacy/image) - - Jest (next/jest) - - Middleware / Edge (API routes, runtime) - - Package manager (npm, pnpm, Yarn) - - Routing (next/router, next/navigation, next/link) - - Script optimizatzion (next/script) + - 'App directory (appDir: true)' + - 'CLI (create-next-app)' + - 'Data fetching (gS(S)P, getInitialProps)' + - 'Dynamic imports (next/dynamic)' + - 'ESLint (eslint-config-next)' + - 'Font optimization (@next/font)' + - 'Internationalzation (i18n)' + - 'Image optmization (next/image, next/legacy/image)' + - 'Jest (next/jest)' + - 'Middleware / Edge (API routes, runtime)' + - 'Package manager (npm, pnpm, Yarn)' + - 'Routing (next/router, next/navigation, next/link)' + - 'Script optimizatzion (next/script)' - 'Standalone mode (output: "standalone")' - - Static HTML Export (next export) - - SWC minifier (swcMinify: true) - - SWC transpilation + - 'Static HTML Export (next export)' + - 'SWC minifier (swcMinify: true)' + - 'SWC transpilation' - 'Turbopack (--turbo)' - - TypeScript - - Other + - 'TypeScript' + - 'Other' - type: input attributes: label: Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster From 7f167b42520772c44d749a91fa0e9825472a96fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Tue, 29 Nov 2022 18:46:03 +0100 Subject: [PATCH 13/13] Apply suggestions from code review Co-authored-by: Steven --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index 993449abecffe..baf58b4dbc098 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -81,7 +81,7 @@ body: value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance! - type: input attributes: - label: What browser are you using? (if relevant) + label: Which browser are you using? (if relevant) description: 'Please specify the exact version. For example: Chrome 100.0.4878.0' - type: input attributes: