Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

New issue template and workflow

jubnl1dc189b46613
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index d6d5d3c8f..000000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,38 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: "[BUG]"
-labels: ''
-assignees: ''
-
----
-
-**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.
-
-**Desktop (please complete the following information):**
- - OS: [e.g. iOS]
- - Browser [e.g. chrome, safari]
- - Version [e.g. 22]
-
-**Smartphone (please complete the following information):**
- - Device: [e.g. iPhone6]
- - OS: [e.g. iOS8.1]
- - Browser [e.g. stock browser, safari]
- - Version [e.g. 22]
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 000000000..e1318ee2c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,108 @@
+name: Bug Report
+description: Create a report to help us improve TREK
+title: "[BUG] "
+labels: []
+body:
+ - type: checkboxes
+ id: preflight
+ attributes:
+ label: Pre-flight checklist
+ options:
+ - label: I have searched [existing issues](https://github.com/mauriceboe/TREK/issues) and this bug has not been reported yet
+ required: true
+ - label: I am running the latest available version of TREK
+ required: true
+
+ - type: input
+ id: version
+ attributes:
+ label: TREK version
+ description: Found in the Settings → About, or in the Docker image tag
+ placeholder: "e.g. 2.8.0"
+ validations:
+ required: true
+
+ - type: textarea
+ id: description
+ attributes:
+ label: Describe the bug
+ description: A clear and concise description of what the bug is.
+ placeholder: When I do X, Y happens instead of Z…
+ validations:
+ required: true
+
+ - type: textarea
+ id: steps
+ attributes:
+ label: Steps to reproduce
+ description: Step-by-step instructions to reliably trigger the bug.
+ placeholder: |
+ 1. Go to '...'
+ 2. Click on '...'
+ 3. See error
+ validations:
+ required: true
+
+ - type: textarea
+ id: expected
+ attributes:
+ label: Expected behavior
+ description: What did you expect to happen?
+ validations:
+ required: true
+
+ - type: dropdown
+ id: deployment
+ attributes:
+ label: Deployment method
+ options:
+ - Docker Compose
+ - Docker (standalone)
+ - Kubernetes / Helm
+ - Unraid template
+ - Sources
+ - Other
+ validations:
+ required: true
+
+ - type: input
+ id: os
+ attributes:
+ label: Host OS
+ placeholder: "e.g. Ubuntu 24.04, Unraid 6.12, Synology DSM 7"
+
+ - type: dropdown
+ id: user_os
+ attributes:
+ label: Accessing TREK from
+ options:
+ - Desktop browser
+ - Mobile browser
+ - Mobile app (PWA)
+ validations:
+ required: true
+
+ - type: input
+ id: browser
+ attributes:
+ label: Browser (if applicable)
+ placeholder: "e.g. Chrome 124, Firefox 125, Safari 17"
+
+ - type: textarea
+ id: logs
+ attributes:
+ label: Relevant logs or error output
+ description: Paste any relevant server or browser console output here.
+ render: shell
+
+ - type: textarea
+ id: screenshots
+ attributes:
+ label: Screenshots
+ description: Drag and drop screenshots here if applicable.
+
+ - type: textarea
+ id: context
+ attributes:
+ label: Additional context
+ description: Anything else that might help us understand the issue.
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 000000000..a1e0f7bb9
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,11 @@
+blank_issues_enabled: false
+contact_links:
+ - name: Documentation
+ url: https://github.com/mauriceboe/TREK/wiki
+ about: Check the docs before opening an issue
+ - name: Feature Request
+ url: https://github.com/mauriceboe/TREK/discussions/new?category=feature-requests
+ about: Suggest a new feature or improvement in Discussions
+ - name: Questions & Help
+ url: https://github.com/mauriceboe/TREK/discussions
+ about: For questions and general help, use Discussions instead
\ 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 e0c0168b2..000000000
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
-title: "[FEATURE]"
-labels: ''
-assignees: ''
-
----
-
-**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.
diff --git a/.github/workflows/close-untitled-issues.yml b/.github/workflows/close-untitled-issues.yml
index 0d7b74007..3495bdf05 100644
--- a/.github/workflows/close-untitled-issues.yml
+++ b/.github/workflows/close-untitled-issues.yml
@@ -19,7 +19,7 @@ jobs:
script: |
const title = context.payload.issue.title.trim();
const badTitles = [
- "[BUG]",
+ "[bug]",
"bug report",
"bug",
"issue",
@@ -64,4 +64,4 @@ jobs:
state: "closed",
state_reason: "not_planned"
});
- }
+ }
\ No newline at end of file