Skip to content

Commit

Permalink
Modernize issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
mochipon committed Jun 26, 2021
1 parent eee239e commit 0da1848
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Bug report - バグ報告
description: Something is not working correctly - 問題の報告
title: "[Bug]: "
labels: "bug"

body:
- type: textarea
attributes:
label: Description - 説明
description: >-
A clear and concise description of what the bug is.
報告したい問題について簡潔に説明してください。
validations:
required: true

- type: textarea
attributes:
label: Expected Behavior - 期待する動作
description: >-
A clear and concise description of what you expected to happen.
どのような動作を期待しているか説明してください。
- type: input
attributes:
label: Pysesameos2 version (`pip show pysesameos2`)
validations:
required: true
- type: input
attributes:
label: Python version (`python --version`)
validations:
required: true
- type: input
attributes:
label: OS
validations:
required: true
- type: input
attributes:
label: BlueZ version (`bluetoothctl -v`) in case of Linux

- type: textarea
attributes:
label: How to Reproduce - 再現方法
description: >-
Please provide steps to reproduce this bug.
報告する問題を再現する方法を教えてください。
value: |
1. Get package from '...'
2. Then run '...'
3. An error occurs.
validations:
required: true

- type: textarea
attributes:
label: Output - 出力された内容, 具体的な問題内容
description: >-
Provide the output of the steps above, including the commands
themselves and output/traceback etc.
再現方法について、そのコマンド文そのものを含めて
表示された出力やエラーメッセージを貼り付けてください。
render: sh-session
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Enhancement request - リクエスト
description: Suggest an idea for this project - 機能の追加や改善の希望
title: "[Request]: "
labels: "enhancement"

body:
- type: textarea
attributes:
label: Describe the solution you'd like - リクエストの内容
description: >-
A clear and concise description of what you want to happen.
追加や改善、変更したい内容について簡潔に説明してください。
validations:
required: true

- type: textarea
attributes:
label: What's the problem this feature will solve? - 解決したい内容
description: >-
A clear and concise description of what the problem is.
このリクエストによって、どのような問題の解決を期待しているのか教えてください。
- type: textarea
attributes:
label: Additional context - その他
description: >-
Add any other context or screenshots about the feature request here.
追加資料があれば共有してください。
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: General inquiry - 一般的な質問
description: Request for further information - ライブラリの利用方法に関する質問
title: "[Question]: "
labels: "question"

body:
- type: textarea
attributes:
label: Describe the question you have - 質問の内容
description: >-
A clear and concise description of what you want to ask.
質問したい内容について簡潔に説明してください。
validations:
required: true

- type: textarea
attributes:
label: Additional context - その他
description: >-
Add any other context or screenshots about the question here.
質問の背景や試したことがあれば共有してください。
- type: input
attributes:
label: Pysesameos2 version (`pip show pysesameos2`)
validations:
required: true
- type: input
attributes:
label: Python version (`python --version`)
validations:
required: true
- type: input
attributes:
label: OS
validations:
required: true
- type: input
attributes:
label: BlueZ version (`bluetoothctl -v`) in case of Linux

0 comments on commit 0da1848

Please sign in to comment.