From 31dd6315149106bdf898f169684666251149e2eb Mon Sep 17 00:00:00 2001 From: Kirill Zolottsev Date: Tue, 27 Dec 2022 18:41:26 +0400 Subject: [PATCH] chore: update chore template --- .github/ISSUE_TEMPLATE/chore.md | 34 --------------------------- .github/ISSUE_TEMPLATE/chore.yaml | 39 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 34 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/chore.md create mode 100644 .github/ISSUE_TEMPLATE/chore.yaml diff --git a/.github/ISSUE_TEMPLATE/chore.md b/.github/ISSUE_TEMPLATE/chore.md deleted file mode 100644 index 8a3094f..0000000 --- a/.github/ISSUE_TEMPLATE/chore.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: Chore -about: Не фича и не баг -labels: chore -assignees: TorinAsakura ---- - -### Какого рода задача? - -Поменять значения или изменить логику - -### Что и где будем менять? - -**_Например:_** -Нужно изменить условие функции - -```javascript -if (servicePayment === 1) { - return -} -``` - -на - -```javascript -if (!servicePayment && !servicePaymentValue) { - window.location.href = homePageUrl || userProfilePageUrl - return null -} -``` - -### Укажите референс - -В связи с чем было принято решение? Ссылка на другую задачу, ПР, в общем – нужен контекст diff --git a/.github/ISSUE_TEMPLATE/chore.yaml b/.github/ISSUE_TEMPLATE/chore.yaml new file mode 100644 index 0000000..36f5643 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/chore.yaml @@ -0,0 +1,39 @@ +name: Chore +description: Не фича и не баг +labels: ['enhancement'] +assignees: + - TorinAsakura +body: + - type: input + id: task-type + attributes: + label: Какого рода задача? + placeholder: Поменять значения или изменить логику + validations: + required: true + - type: textarea + id: details + attributes: + label: Что и где будем менять? + placeholder: | + **_Например:_** + Нужно изменить условие функции + ```javascript + if(servicePayment === 1) { + return + } + ``` + на + ```javascript + if(!servicePayment && !servicePaymentValue){ + window.location.href = homePageUrl || userProfilePageUrl + return null + } + ```' + validations: + required: true + - type: textarea + id: ref + attributes: + label: Укажите референс + placeholder: В связи с чем было принято решение? Ссылка на другую задачу, ПР, в общем – нужен контекст