From 9d46aae91bd11df51cf80f66e414e076a1687679 Mon Sep 17 00:00:00 2001 From: itskovacs Date: Fri, 10 Oct 2025 19:16:21 +0200 Subject: [PATCH] :memo: Update issues templates and create discussions templates --- .github/DISCUSSION_TEMPLATE/general.yml | 22 +++++++ .github/DISCUSSION_TEMPLATE/ideas.yml | 28 ++++++++ .github/ISSUE_TEMPLATE/BUG_REPORT.md | 32 --------- .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md | 20 ------ .github/ISSUE_TEMPLATE/GENERAL_QUESTION.md | 14 ---- .github/ISSUE_TEMPLATE/bug.yml | 77 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 19 +++--- 7 files changed, 137 insertions(+), 75 deletions(-) create mode 100644 .github/DISCUSSION_TEMPLATE/general.yml create mode 100644 .github/DISCUSSION_TEMPLATE/ideas.yml delete mode 100644 .github/ISSUE_TEMPLATE/BUG_REPORT.md delete mode 100644 .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md delete mode 100644 .github/ISSUE_TEMPLATE/GENERAL_QUESTION.md create mode 100644 .github/ISSUE_TEMPLATE/bug.yml diff --git a/.github/DISCUSSION_TEMPLATE/general.yml b/.github/DISCUSSION_TEMPLATE/general.yml new file mode 100644 index 0000000..4ca7a87 --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/general.yml @@ -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 diff --git a/.github/DISCUSSION_TEMPLATE/ideas.yml b/.github/DISCUSSION_TEMPLATE/ideas.yml new file mode 100644 index 0000000..96cb1df --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/ideas.yml @@ -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 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md deleted file mode 100644 index 3b44d54..0000000 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md +++ /dev/null @@ -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. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md deleted file mode 100644 index 9c8c2ad..0000000 --- a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md +++ /dev/null @@ -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. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/GENERAL_QUESTION.md b/.github/ISSUE_TEMPLATE/GENERAL_QUESTION.md deleted file mode 100644 index bea59eb..0000000 --- a/.github/ISSUE_TEMPLATE/GENERAL_QUESTION.md +++ /dev/null @@ -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. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..37763c5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -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 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index f909e3c..12743fa 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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"] \ No newline at end of file + +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. \ No newline at end of file