From 34ae5b03b106d038b92cd18605b7f183eaabb4d6 Mon Sep 17 00:00:00 2001 From: Robin Zigmond Date: Fri, 8 Dec 2023 16:12:04 +0000 Subject: [PATCH] chore: update issue templates with typescript codesandbox links The bug report and feature request templates contain links to our JS CSB template, but not to the TS one. We should provide this so it is easier for consumers to use Typescript in a codesandbox demonstrating their issue, if they wish to. --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- .github/ISSUE_TEMPLATE/feature_request.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 380b2a7250..8a36238542 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -8,7 +8,7 @@ body: attributes: value: | ### ⚠️ This bug report is public - Please create a reproducible example using this [CodeSandbox template](https://codesandbox.io/s/carbon-quickstart-j5pb2). + Please create a reproducible example using one of our Codesandbox templates, using [Typescript](https://codesandbox.io/p/sandbox/carbon-quickstart-typescript-6sjfuz) or [Javascript](https://codesandbox.io/p/sandbox/carbon-quickstart-j5pb2) Please do not include any confidential or commercially sensitive information. --- @@ -34,7 +34,7 @@ body: attributes: label: CodeSandbox or Storybook URL description: >- - Please fork [this template](https://codesandbox.io/s/carbon-quickstart-j5pb2), and ensure you save your changes. + Please fork one of our templates ([Typescript](https://codesandbox.io/p/sandbox/carbon-quickstart-typescript-6sjfuz) or [Javascript](https://codesandbox.io/s/carbon-quickstart-j5pb2)), and ensure you save your changes. Alternatively, if your issue relates to [Storybook](https://carbon.sage.com) please link to the story. placeholder: https://codesandbox.io/s/carbon-quickstart-j5pb2 validations: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 666efb9058..ad0c7fd8a5 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -17,7 +17,8 @@ body: label: Desired behaviour description: | Please give a clear and concise description of the desired behaviour. - If applicable, add screenshots or screen recording of a [CodeSandbox](https://codesandbox.io/s/carbon-quickstart-j5pb2) to help explain the request. You can paste these directly into GitHub. + If applicable, add screenshots or screen recording of a CodeSandbox to help explain the request. You can paste these directly into GitHub. + We provide Codesandbox templates with Carbon and dependencies pre-loaded, using either [Typescript](https://codesandbox.io/p/sandbox/carbon-quickstart-typescript-6sjfuz) or [Javascript](https://codesandbox.io/p/sandbox/carbon-quickstart-j5pb2). validations: required: true - type: textarea @@ -39,7 +40,7 @@ body: attributes: label: CodeSandbox or Storybook URL description: >- - Please fork [this template](https://codesandbox.io/s/carbon-quickstart-j5pb2), and ensure you save your changes. + Please fork one of our templates ([Typescript](https://codesandbox.io/p/sandbox/carbon-quickstart-typescript-6sjfuz) or [Javascript](https://codesandbox.io/s/carbon-quickstart-j5pb2)), and ensure you save your changes. Alternatively, if your issue relates to [Storybook](https://carbon.sage.com) please link to the story. placeholder: https://codesandbox.io/s/carbon-quickstart-j5pb2 validations: