From 4503f65b7d4534c6115a769576003e6d369bac3a Mon Sep 17 00:00:00 2001 From: c-bata Date: Wed, 16 Jun 2021 12:54:33 +0900 Subject: [PATCH 1/2] Use YAML based issue template --- .github/ISSUE_TEMPLATE/bug_report.md | 30 ------------------- .github/ISSUE_TEMPLATE/bug_report.yml | 42 +++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 30 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index d5467cf8..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: "Bug report" -about: Create a bug report to improve optuna-dashboard -title: "" -labels: bug -assignees: '' - ---- - -# Bug reports - -*Please file a bug report here.* - -## Expected Behavior - -*Please describe the behavior you are expecting* - -## Current Behavior and Steps to Reproduce - -*What is the current behavior? Please provide detailed steps or example for reproducing.* -*A picture or video tells a thousand words.* - -## Context - -Please provide any relevant information about your setup. -This is important in case the issue is not reproducible except for under certain conditions. - -* `python -c 'import optuna; print(optuna.__version__)'`: -* `optuna-dashboard --version`: - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..c984cbe7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,42 @@ +name: Bug report +description: Create a bug report to improve optuna-dashboard +labels: bug + +body: + - type: textarea + attributes: + label: Description + validations: + required: true + + - type: textarea + attributes: + label: How to Reproduce + description: >- + Please provide steps to reproduce this bug. + A video or picture tells a thousand words. + value: | + 1. Optuna's objective function is '...'. + 2. Run optuna-dashboard with '...' + 3. Open '...' page, then click '...'. + 4. An error occurs. + validations: + required: true + + - type: input + attributes: + label: Python version + validations: + required: true + + - type: input + attributes: + label: Optuna version (Output of `$ python -c 'import optuna; print(optuna.__version__)'`) + validations: + required: true + + - type: input + attributes: + label: Optuna-dashboard version or revision (Output of `$ optuna-dashboard --version`) + validations: + required: true From 1345df9907a8a20458cfa3350eb7d4223177512f Mon Sep 17 00:00:00 2001 From: c-bata Date: Wed, 16 Jun 2021 12:57:28 +0900 Subject: [PATCH 2/2] Update bug report template --- .github/ISSUE_TEMPLATE/bug_report.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index c984cbe7..ad8c232d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -37,6 +37,12 @@ body: - type: input attributes: - label: Optuna-dashboard version or revision (Output of `$ optuna-dashboard --version`) + label: optuna-dashboard version or git revision (Output of `$ optuna-dashboard --version`) validations: required: true + + - type: input + attributes: + label: Web browser + validations: + required: false