From 54d3a4f4afc87fe1beab2547848b9dc9a4e3731a Mon Sep 17 00:00:00 2001 From: Nikolay Gagarinov Date: Wed, 24 Jul 2024 20:18:10 +0500 Subject: [PATCH] update issues templates --- .github/ISSUE_TEMPLATE/bug_report.md | 33 ---------- .github/ISSUE_TEMPLATE/bug_report.yml | 75 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 14 ---- .github/ISSUE_TEMPLATE/feature_request.yml | 25 ++++++++ .github/ISSUE_TEMPLATE/hide_repo.md | 18 +++--- .github/ISSUE_TEMPLATE/task.yml | 23 +++++++ 6 files changed, 132 insertions(+), 56 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/task.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index c9eb4487..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: 'Bug: ' -labels: - - bug ---- - -## Ожидаемое поведение - - -## Текущее поведение - - -## Возможные решения - - -## Дейсвия по воспроизведению - - -1. -2. -3. -4. - -## Информация о вашей системе - - - - -## Информация об установленных зависимостях - - pip freeze diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..7a91309b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,75 @@ +name: "Bug Report" +description: Create a new ticket for a bug. +title: "Bug: " +labels: + - bug + +body: + - type: textarea + id: summary + attributes: + label: "Summary" + description: Please enter an explicit description of your issue + placeholder: Short and explicit description of your incident... + validations: + required: true + + - type: textarea + id: reprod + attributes: + label: "Reproduction steps" + description: Please enter an explicit description of your issue + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + render: bash + validations: + required: true + + - type: textarea + id: expected-result + attributes: + label: "Expected result" + description: What the result should have been + placeholder: Expected result + validations: + required: true + + - type: textarea + id: actual-result + attributes: + label: "Actual result" + description: What the result really was + placeholder: Actual result + validations: + required: true + + - type: dropdown + id: browsers + attributes: + label: "Browsers" + description: What browsers are you seeing the problem on ? + multiple: true + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + - Opera + + validations: + required: false + - type: dropdown + id: os + attributes: + label: "OS" + description: What is the impacted environment ? + multiple: true + options: + - Windows + - Linux + - Mac + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 35a67f00..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -## Предлагаемая задача - - -## Решения задачи - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..8f14673b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,25 @@ +name: "Feature request" +description: Create a new ticket for a feature request. +title: "Feature request: " +labels: + - feature request +assignees: "fey" + +body: + - type: textarea + id: problem-description + attributes: + label: "Problem description" + description: Please enter an explicit description of the proposed feature + placeholder: Short and explicit description of the proposed feature... + validations: + required: true + + - type: textarea + id: proposed-solution + attributes: + label: "Proposed solution" + description: Please enter an explicit description of your proposed solution + placeholder: Short and explicit description of your proposed solution... + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/hide_repo.md b/.github/ISSUE_TEMPLATE/hide_repo.md index 8d29cd4e..45512f7f 100644 --- a/.github/ISSUE_TEMPLATE/hide_repo.md +++ b/.github/ISSUE_TEMPLATE/hide_repo.md @@ -1,24 +1,24 @@ --- name: Hiding a repository about: Hiding a repository with a service -title: 'Запрос на скрытие репозитория [название репозитория] с сервиса Hexlet Friends' +title: 'Request to hide repo [repo name] from Hexlet Friends' labels: - hide_repo --- -## Ссылка на ваш профиль Hexlet Friends: +## Link to your profile Hexlet Friends: -## Cсылка на ваш репозиторий: +## Link to repo: -## Вы подтверждаете, что являетесь владельцем репозитория? - +## Confirm that you are owner of the repo? + -## Описание проблемы: - +## Describe problem: + -## Дополнительная информация: - \ No newline at end of file +## Additional info: + diff --git a/.github/ISSUE_TEMPLATE/task.yml b/.github/ISSUE_TEMPLATE/task.yml new file mode 100644 index 00000000..092b6c68 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/task.yml @@ -0,0 +1,23 @@ +name: "Task" +description: Create a new ticket for a task. +labels: + - task + +body: + - type: textarea + id: problem-description + attributes: + label: "Problem description" + description: Please enter an explicit description of the problem + placeholder: Short and explicit description of the problem... + validations: + required: true + + - type: textarea + id: proposed-solution + attributes: + label: "Proposed solution" + description: Please enter an explicit description of the proposed solution + placeholder: Short and explicit description of the proposed solution... + validations: + required: true