From 93f86d187aca4009e4f0f840a1045e8b4795f4e8 Mon Sep 17 00:00:00 2001 From: Taylor Jones Date: Wed, 11 Dec 2024 04:38:55 -0600 Subject: [PATCH] chore(project): update issue template stackblitz repro template links (#18231) --- .../ISSUE_TEMPLATE/ACCESSIBILITY_ISSUE.yaml | 6 ++--- .github/ISSUE_TEMPLATE/BUG_REPORT.yaml | 22 +++++++++++-------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ACCESSIBILITY_ISSUE.yaml b/.github/ISSUE_TEMPLATE/ACCESSIBILITY_ISSUE.yaml index 0b340f7e97c0..498043919376 100644 --- a/.github/ISSUE_TEMPLATE/ACCESSIBILITY_ISSUE.yaml +++ b/.github/ISSUE_TEMPLATE/ACCESSIBILITY_ISSUE.yaml @@ -110,10 +110,8 @@ body: id: example-url attributes: label: Reproduction/example - description: - 'Use our - [template](https://stackblitz.com/github/carbon-design-system/carbon/tree/main/examples/vite?file=src%2FApp.jsx) - to re-create the issue' + description: | + Re-create the issue using Stackblitz. We have templates for [`@carbon/react`](https://stackblitz.com/github/carbon-design-system/sandboxes/tree/main/react/latest/react-19-vite/?preset=node=), [`@carbon/react` with TypeScript](https://stackblitz.com/github/carbon-design-system/sandboxes/tree/main/react/latest/react-19-vite-ts/?preset=node=), or [`@carbon/web-components`](https://stackblitz.com/github/carbon-design-system/carbon/tree/main/packages/web-components/examples/components/button?file=src%2Findex.js) validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yaml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yaml index 896427a1fe47..e6ead3768d3a 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.yaml +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yaml @@ -72,14 +72,12 @@ body: placeholder: What did you see? What did you expect to see? validations: required: true - validations: - required: true - type: input id: example-url attributes: label: Reproduction/example description: | - Re-create the issue using [CodeSandbox](https://codesandbox.io/) or [Stackblitz](https://stackblitz.com). We have templates for [@carbon/react](https://stackblitz.com/github/carbon-design-system/carbon/tree/main/examples/vite?file=src%2FApp.jsx), [@carbon/styles](https://codesandbox.io/s/github/carbon-design-system/carbon/tree/v11.2.0/examples/codesandbox-styles), and [carbon-components-react](https://codesandbox.io/s/github/carbon-design-system/carbon/tree/v10/packages/react/examples/codesandbox) + Re-create the issue using Stackblitz. We have templates for [`@carbon/react`](https://stackblitz.com/github/carbon-design-system/sandboxes/tree/main/react/latest/react-19-vite/?preset=node=), [`@carbon/react` with TypeScript](https://stackblitz.com/github/carbon-design-system/sandboxes/tree/main/react/latest/react-19-vite-ts/?preset=node=), or [`@carbon/web-components`](https://stackblitz.com/github/carbon-design-system/carbon/tree/main/packages/web-components/examples/components/button?file=src%2Findex.js) validations: required: true - type: textarea @@ -96,17 +94,23 @@ body: attributes: label: Suggested Severity description: - 'Read more to understand our [severity levels](https://github.com/carbon-design-system/carbon/blob/main/docs/guides/support.md#severity)' + 'Read more to understand our [severity + levels](https://github.com/carbon-design-system/carbon/blob/main/docs/guides/support.md#severity)' options: - - 'Severity 1 = Must be fixed ASAP. The response must be swift. Someone from the team must drop all current work and be immediately reassigned to address the issue.' - - 'Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.' - - 'Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.' - - 'Severity 4 = Unrelated to a user task, has a workaround or does not need a workaround.' + - 'Severity 1 = Must be fixed ASAP. The response must be swift. Someone + from the team must drop all current work and be immediately reassigned + to address the issue.' + - 'Severity 2 = User cannot complete task, and/or no workaround within + the user experience of a given component.' + - 'Severity 3 = User can complete task, and/or has a workaround within + the user experience of a given component.' + - 'Severity 4 = Unrelated to a user task, has a workaround or does not + need a workaround.' - type: input id: application attributes: label: Application/PAL - description: "What application and/or PAL do you work on?" + description: 'What application and/or PAL do you work on?' - type: checkboxes id: terms attributes: