Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: update issues and feature request page on github, make it apply a tag to the issues automatically #1170

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

84 changes: 84 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Bug Report
description: Let us know if something is broken on PyDM.
labels: [bug]
body:

- type: markdown
attributes:
value: |
Before reporting, please make a quick search through the existing [open issues](https://github.com/slaclab/pydm/issues?q=is%3Aissue+is%3Aopen),
and also [closed issues](https://github.com/slaclab/pydm/issues?q=is%3Aissue+is%3Aclosed), to check if it's been previously addressed.

- type: textarea
attributes:
label: "Describe the bug"
description: "A clear and concise description the bug. May include logs, images, or videos."
placeholder: "A clear and concise description the bug. May include logs, images, or videos."
validations:
required: true
- type: textarea
attributes:
label: "Steps to reproduce"
description: "Steps to reproduce the bug."
placeholder: "Steps to reproduce the bug."
validations:
required: true
- type: textarea
attributes:
label: "Expected behavior"
description: "A clear and concise description of what you expected to happen."
placeholder: "A clear and concise description of what you expected to happen."
validations:
required: true

- type: dropdown
id: os-version
attributes:
label: "Operating System."
description: "Select your OS"
options:
- Linux
- Windows
- macOS
validations:
required: true

- type: input
id: os-specific-version
attributes:
label: "OS Version Details."
description: "Specify your OS version (e.g., Ubuntu 22.04, Windows 10, macOS 13.3)."
placeholder: "Specify your OS version (e.g., Ubuntu 22.04, Windows 10, macOS 13.3)."
validations:
required: false

- type: dropdown
id: python-version
attributes:
label: "Python Version"
description: "Select your Python version (check this with 'python -V')"
options:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
validations:
required: true

- type: textarea
id: package-versions
attributes:
label: "Packages Version"
description: "Provide package versions (Check `File > About` in PyDM). Can upload a screenshot if you wish."
placeholder: "Example: PyDM v1.25.2, NumPy v2.2.2, PyQt v5.12.3, Qt v5.12.9, PyQtGraph v.0.12.4"
validations:
required: true

- type: textarea
attributes:
label: "Additional context."
description: "Add any other context, links, etc. about the feature here."
placeholder: "Add any other context, links, etc. about the feature here."
validations:
required: false
14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Feature request
description: Suggest a new feature for PyDM
labels: [enhancement]
body:

- type: markdown
attributes:
value: |
Before requesting please make a quick search through the existing [feature request issues](https://github.com/slaclab/pydm/issues?q=is%3Aissue+is%3Aopen).

- type: textarea
attributes:
label: "What's the problem this feature will solve?"
description: "A clear and concise description of what the problem is."
placeholder: "A clear and concise description of what the problem is."
validations:
required: true

- type: textarea
attributes:
label: "Describe the solution you'd like."
description: "A clear and concise description of what you want to happen."
placeholder: "A clear and concise description of what you want to happen."
validations:
required: true

- type: textarea
attributes:
label: "Additional context."
description: "Add any other context, links, etc. about the feature here."
placeholder: "Add any other context, links, etc. about the feature here."
validations:
required: false