📝 Update issues templates and create discussions templates

This commit is contained in:
itskovacs 2025-10-10 19:16:21 +02:00
parent f6952bc7e0
commit 9d46aae91b
7 changed files with 137 additions and 75 deletions

22
.github/DISCUSSION_TEMPLATE/general.yml vendored Normal file
View File

@ -0,0 +1,22 @@
title: "[General] "
labels: ["question"]
body:
- type: markdown
attributes:
value: |
Welcome! Please use this template to ask any question you have about the project, setup, usage, or related topics.
- type: textarea
id: question
attributes:
label: "Your Question"
description: "Provide a clear and concise description of your question."
placeholder: "Describe your question here"
required: true
- type: textarea
id: additional_context
attributes:
label: "Additional Context"
description: "Add any other context or relevant details that might help me understand your question better."
placeholder: "Optional: Add context or additional info"
required: false

28
.github/DISCUSSION_TEMPLATE/ideas.yml vendored Normal file
View File

@ -0,0 +1,28 @@
title: "[FR] "
labels: []
body:
- type: markdown
attributes:
value: |
Thank you for helping me improve TRIP! Please fill out the details below to help me understand your need.
- type: textarea
id: problem
attributes:
label: "Is your feature request related to a problem? Please describe."
description: "Provide a clear and concise description of what the problem is."
required: true
- type: textarea
id: solution
attributes:
label: "Describe the solution you'd like"
description: "A clear and concise description of what you want to happen."
placeholder: "Describe your proposed solution."
required: false
- type: textarea
id: additional_context
attributes:
label: "Additional context"
description: "Add any other context or screenshots about the feature request here."
placeholder: "Additional information or examples."
required: false

View File

@ -1,32 +0,0 @@
---
name: Bug Report
about: Report something that is not working as expected.
title: 'BUG: '
labels: 'bug'
assignees: 'itskovacs'
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environment:**
- OS: [e.g. iOS, Windows 11]
- Browser [e.g. Chrome 142, Firefox 137]
- TRIP Version [e.g. 1.19.1]
**Additional context**
Add any other context about the problem here.

View File

@ -1,20 +0,0 @@
---
name: Feature Request
about: Suggest a new feature or an enhancement.
title: 'FR: '
labels: 'enhancement'
assignees: 'itskovacs'
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,14 +0,0 @@
---
name: General Question
about: Ask a question.
title: 'Q: '
labels: 'question'
assignees: 'itskovacs'
---
**Your Question**
Please provide a clear and concise description of your question.
**Additional context**
Add any other context that might be helpful.

77
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@ -0,0 +1,77 @@
name: Bug Report
about: Report something that is not working as expected.
title: "[Bug]: "
labels: ["bug"]
assignees:
- itskovacs
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: bug_description
attributes:
label: "Describe the bug"
description: "A clear and concise description of what the bug is."
placeholder: "Describe the bug you encountered"
required: true
- type: textarea
id: reproduce_steps
attributes:
label: "To Reproduce"
description: |
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
placeholder: "List the steps to reproduce the bug"
required: true
- type: textarea
id: expected_behavior
attributes:
label: "Expected behavior"
description: "A clear and concise description of what you expected to happen."
placeholder: "Describe the expected behavior"
required: false
- type: input
id: trip_version
attributes:
label: "TRIP Version"
description: "Specify the version of the TRIP application you are using (if applicable)."
placeholder: "e.g., 1.19.1"
required: true
- type: textarea
id: screenshots
attributes:
label: "Screenshots (if applicable)"
description: "Add screenshots to help explain your problem."
placeholder: "Paste image URLs or describe screenshots"
required: false
- type: dropdown
id: browser
attributes:
label: "Browser"
options:
- "Chrome"
- "Firefox"
- "Edge"
- "Safari"
- "Opera"
- "Other"
- type: textarea
id: additional_context
attributes:
label: "Additional context"
description: "Add any other context about the problem here."
placeholder: "Additional information"
required: false

View File

@ -1,14 +1,15 @@
blank_issues_enabled: true
blank_issues_enabled: false
issue_templates:
- name: "Bug Report"
description: "Report something that is not working as expected."
title: "BUG: "
labels: ["bug"]
- name: "Feature Request"
description: "Suggest a new feature or an enhancement."
title: "FR: "
labels: ["enhancement"]
- name: "General Question"
description: "Ask a question."
title: "Q: "
labels: ["question"]
contact_links:
- name: Feature Request and Ideas
url: https://github.com/itskovacs/trip/discussions/ideas
about: Have a feature request or specific need? Join the conversation about how it could enhance the project
- name: Question or Problem
url: https://github.com/itskovacs/trip/discussions/categories/general
about: Whether it's about setup, configuration, or general usage, feel free to ask.