From 8dc44819cabcf8934f03a99310655ba4cdb7ca84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rodolfo=20Freitas?= Date: Sat, 9 Jul 2022 10:58:03 +0200 Subject: [PATCH] [core] Improve GitHub bug reproduction template (#5067) Instead of adding templates for the different components, we'll suggest to fork a demo close to the user use case. --- .github/ISSUE_TEMPLATE/1.bug.yml | 12 ++++++------ docs/public/_redirects | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug.yml b/.github/ISSUE_TEMPLATE/1.bug.yml index c1b99a246cdf5..c90e58aca372d 100644 --- a/.github/ISSUE_TEMPLATE/1.bug.yml +++ b/.github/ISSUE_TEMPLATE/1.bug.yml @@ -34,17 +34,17 @@ body: attributes: label: Steps to reproduce 🕹 description: | - Provide a link to a live example (you can use codesandbox.io) and an unambiguous set of steps to reproduce this bug. - Include code to reproduce, if relevant (which it most likely is). + Please provide a link to a live example and an unambiguous set of steps to reproduce this bug. + + As a starting point, we recommend you browse our [documentation](https://mui.com/x/advanced-components/), and [select](https://mui.com/static/docs/forking-an-example.png) the closest example to your use case. - You can use the official codesandbox template of the [DataGrid](https://codesandbox.io/s/datagrid-v5-quick-start-54iz1) or [DataGridPro](https://codesandbox.io/s/datagridpro-v5-quick-start-5pjhc) as a starting point. - - If you have an issue concerning TypeScript please start from this TypeScript playground: https://mui.com/r/ts-issue-template. + Or you can use a [basic template](https://mui.com/r/x-issue-template) to build your reproduction case. Issues that we can't reproduce will be closed. value: | + Link to live example: + Steps: - 1. 2. 3. diff --git a/docs/public/_redirects b/docs/public/_redirects index 8784693388b37..85d193e9fcd38 100644 --- a/docs/public/_redirects +++ b/docs/public/_redirects @@ -8,6 +8,7 @@ /r/x-license-eula https://mui.com/store/legal/mui-x-eula/ 302 /r/x-license-key-installation https://mui.com/x/introduction/licensing/#license-key-installation 302 /r/x-data-grid-no-dimensions https://mui.com/x/react-data-grid/layout/ 302 +/r/x-issue-template https://codesandbox.io/s/mui-x-issue-template-uh3pm2 302 # Legacy redirection # 2021