From 570b7e5dfed2f18646233772eb92f1584a9ffa7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20=C3=96zdemir?= Date: Wed, 23 Feb 2022 14:57:59 +0300 Subject: [PATCH 1/6] Add Code Snippet Part to the Bug Report --- .github/ISSUE_TEMPLATE/bug_report.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a6050173f6..5f2ec5badc 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -16,6 +16,8 @@ Steps to reproduce the behavior: 2. Click on '....' 3. Scroll down to '....' 4. See error +``` + **Screenshots** If applicable, add screenshots to help explain your problem. From ab3a649cf90eae497098c26ee52d05ef498c04a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20=C3=96zdemir?= Date: Wed, 23 Feb 2022 15:01:24 +0300 Subject: [PATCH 2/6] bug report template update --- .github/ISSUE_TEMPLATE/bug_report.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 5f2ec5badc..77c0712d45 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,31 +1,40 @@ --- -name: Bug report -about: Create a report to help us improve -title: '' +name: Bug report about: Create a report to help us improve title: '' labels: '' assignees: '' --- **Describe the bug** + A clear and concise description of what the bug is. **To Reproduce** + Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error + +**Code Snippet** + +Share a code snippet for easy reproduction. Google colab links can die in the future. + +``` +import gradio as gr ``` - **Screenshots** + If applicable, add screenshots to help explain your problem. **Device information (please complete the following information):** - - OS: [e.g. Windows or iOS] - - Browser [e.g. chrome, safari] - - Gradio version [e.g. 2.5.1] + +- OS: [e.g. Windows or iOS] +- Browser [e.g. chrome, safari] +- Gradio version [e.g. 2.5.1] **Additional context** Add any other context about the problem here. From d66755ba217b1d57cb4764b11748769d25dbff8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20=C3=96zdemir?= Date: Wed, 23 Feb 2022 15:16:59 +0300 Subject: [PATCH 3/6] Convert bug report to .yml --- .github/ISSUE_TEMPLATE/bug_report.md | 40 ---------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 77c0712d45..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -name: Bug report about: Create a report to help us improve title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** - -A clear and concise description of what the bug is. - -**To Reproduce** - -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Code Snippet** - -Share a code snippet for easy reproduction. Google colab links can die in the future. - -``` -import gradio as gr -``` - -**Screenshots** - -If applicable, add screenshots to help explain your problem. - -**Device information (please complete the following information):** - -- OS: [e.g. Windows or iOS] -- Browser [e.g. chrome, safari] -- Gradio version [e.g. 2.5.1] - -**Additional context** -Add any other context about the problem here. From 36d032b3fcac2dba131bd6c11ddd0e961cdc13fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20=C3=96zdemir?= Date: Wed, 23 Feb 2022 15:18:32 +0300 Subject: [PATCH 4/6] Convert bug report to .yml --- .../ISSUE_TEMPLATE/bug_report_template.yml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report_template.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report_template.yml b/.github/ISSUE_TEMPLATE/bug_report_template.yml new file mode 100644 index 0000000000..e65432228c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report_template.yml @@ -0,0 +1,56 @@ +name: "\U0001F41E Bug report" +description: Report a bug on Gradio +labels: [ "triage: bug" ] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: bug-description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks! + placeholder: Bug description + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Reproduction + description: Please provide a link to a repo or REPL that can reproduce the problem you ran into. + placeholder: Reproduction + validations: + required: true + - type: textarea + id: logs + attributes: + label: Screenshot + description: "Please include a screenshot as it makes it much more clear" + render: shell + - type: textarea + id: logs + attributes: + label: Logs + description: "Please include the logs if you can. You can get the logs with debug=True, ie: gradio.Interface.launch(debug=True)" + render: shell + - type: textarea + id: system-info + attributes: + label: System Info + description: Please share your system info with us, you can get the gradio version with `gradio__version__` + render: shell + placeholder: Gradio version, Operating System, Browser + validations: + required: true + - type: dropdown + id: severity + attributes: + label: Severity + description: Select the severity of this issue + options: + - annoyance + - critical + - blocker + validations: + required: true From b88c195b3d118db61753a9c21be58a4b238f6ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20=C3=96zdemir?= Date: Wed, 23 Feb 2022 15:19:16 +0300 Subject: [PATCH 5/6] refactor --- .github/ISSUE_TEMPLATE/bug_report_template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report_template.yml b/.github/ISSUE_TEMPLATE/bug_report_template.yml index e65432228c..546599df9f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_template.yml +++ b/.github/ISSUE_TEMPLATE/bug_report_template.yml @@ -1,6 +1,6 @@ name: "\U0001F41E Bug report" description: Report a bug on Gradio -labels: [ "triage: bug" ] +labels: [ "bug" ] body: - type: markdown attributes: From 4ff47d2a6a4eba799399e273f2a1251b8684181d Mon Sep 17 00:00:00 2001 From: Abubakar Abid Date: Wed, 23 Feb 2022 07:57:13 -0500 Subject: [PATCH 6/6] minor tweaks --- .github/ISSUE_TEMPLATE/bug_report_template.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report_template.yml b/.github/ISSUE_TEMPLATE/bug_report_template.yml index 546599df9f..facba2ace5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_template.yml +++ b/.github/ISSUE_TEMPLATE/bug_report_template.yml @@ -18,7 +18,7 @@ body: id: reproduction attributes: label: Reproduction - description: Please provide a link to a repo or REPL that can reproduce the problem you ran into. + description: Please provide a link to a repo or REPL that can reproduce the problem you ran into. Or provide the Python code below that can be run to reproduce the issue. placeholder: Reproduction validations: required: true @@ -26,19 +26,19 @@ body: id: logs attributes: label: Screenshot - description: "Please include a screenshot as it makes it much more clear" + description: "If possible, please include screenshot(s) so that we can understand what the issue is." render: shell - type: textarea id: logs attributes: label: Logs - description: "Please include the logs if you can. You can get the logs with debug=True, ie: gradio.Interface.launch(debug=True)" + description: "Please include the Python or Javascript logs if you can. If you are running in a colab notebooks, you can get the logs with by setting `debug=True`, i.e: `gradio.Interface.launch(debug=True)`" render: shell - type: textarea id: system-info attributes: label: System Info - description: Please share your system info with us, you can get the gradio version with `gradio__version__` + description: Please share your system info with us, you can get the Gradio version with `gradio.__version__` render: shell placeholder: Gradio version, Operating System, Browser validations: