From a27254b9fdfb0ba4679b9757219a1d5f000b4022 Mon Sep 17 00:00:00 2001 From: MrAlders0n <55921894+MrAlders0n@users.noreply.github.com> Date: Wed, 17 Dec 2025 20:55:33 -0500 Subject: [PATCH 01/14] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4aeb209..71b6210 100644 --- a/README.md +++ b/README.md @@ -96,18 +96,18 @@ Pings are sent to the wardriving MeshCore channel to build community coverage ma ## 🔧 Technical Stack -- **Web Bluetooth API** - BLE device communication -- **Geolocation API** - High-accuracy GPS tracking -- **Screen Wake Lock API** - Power management +- **Web Bluetooth ** - BLE device communication +- **Geolocation ** - High-accuracy GPS tracking +- **Screen Wake Lock ** - Power management - **Tailwind CSS** - Responsive UI design - **PWA Ready** - Progressive Web App manifest -- **MeshMapper API Integration** - Automatic ping data posting for mesh network comparison +- **MeshMapper Integration** - Automatic ping data posting for mesh network comparison --- -## 🔐 MeshMapper API Integration +## 🔐 MeshMapper Integration -This app automatically posts ping data to the YOW MeshMapper API to help compare if messages were received on the mesh. The API key is securely stored in GitHub Secrets. +This app automatically posts ping data to the YOW MeshMapper to help compare if messages were received on the mesh. The key is securely stored in GitHub Secrets.. --- From bc5459347895799553bc3622867a0165a90e7655 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 20:58:56 -0500 Subject: [PATCH 02/14] Revert "Update README.md" This reverts commit a27254b9fdfb0ba4679b9757219a1d5f000b4022. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 71b6210..4aeb209 100644 --- a/README.md +++ b/README.md @@ -96,18 +96,18 @@ Pings are sent to the wardriving MeshCore channel to build community coverage ma ## 🔧 Technical Stack -- **Web Bluetooth ** - BLE device communication -- **Geolocation ** - High-accuracy GPS tracking -- **Screen Wake Lock ** - Power management +- **Web Bluetooth API** - BLE device communication +- **Geolocation API** - High-accuracy GPS tracking +- **Screen Wake Lock API** - Power management - **Tailwind CSS** - Responsive UI design - **PWA Ready** - Progressive Web App manifest -- **MeshMapper Integration** - Automatic ping data posting for mesh network comparison +- **MeshMapper API Integration** - Automatic ping data posting for mesh network comparison --- -## 🔐 MeshMapper Integration +## 🔐 MeshMapper API Integration -This app automatically posts ping data to the YOW MeshMapper to help compare if messages were received on the mesh. The key is securely stored in GitHub Secrets.. +This app automatically posts ping data to the YOW MeshMapper API to help compare if messages were received on the mesh. The API key is securely stored in GitHub Secrets. --- From 0b91db67e96191128d06df46352c1f693d2f5da3 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:01:53 -0500 Subject: [PATCH 03/14] Refactor GitHub Actions workflow for improved deployment structure and clarity --- .github/workflows/deploy.yml | 49 ++++++++++++++++++++++++++++-------- 1 file changed, 38 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1bc3556..a92fa38 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,35 +4,62 @@ on: push: branches: - main + - dev workflow_dispatch: -permissions: +permissions: contents: read - pages: write + pages: write id-token: write concurrency: - group: "pages" - cancel-in-progress: false + group: "pages-${{ github.ref }}" + cancel-in-progress: true jobs: - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} + build-and-deploy: runs-on: ubuntu-latest steps: - - name: Checkout + - name: Checkout uses: actions/checkout@v4 + - name: Determine deployment path + id: deploy-path + run: | + if [ "${{ github.ref }}" == "refs/heads/main" ]; then + echo "path=." >> $GITHUB_OUTPUT + echo "environment=production" >> $GITHUB_OUTPUT + else + echo "path=dev" >> $GITHUB_OUTPUT + echo "environment=development" >> $GITHUB_OUTPUT + fi + - name: Setup Pages uses: actions/configure-pages@v4 + - name: Prepare deployment directory + run: | + mkdir -p _site/${{ steps. deploy-path.outputs.path }} + if [ "${{ steps. deploy-path.outputs.path }}" == "." ]; then + cp -r * _site/ 2>/dev/null || true + cp -r .??* _site/ 2>/dev/null || true + rm -rf _site/.git _site/.github + else + cp -r * _site/${{ steps.deploy-path.outputs.path }}/ 2>/dev/null || true + rm -rf _site/${{ steps.deploy-path.outputs.path }}/.git + fi + - name: Upload artifact uses: actions/upload-pages-artifact@v3 - with: - path: '.' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 + + - name: Comment deployment URL + run: | + if [ "${{ steps.deploy-path.outputs.environment }}" == "production" ]; then + echo "✅ Production deployed to main site" + else + echo "✅ Development deployed to /dev subdirectory" + fi \ No newline at end of file From 07ffad151267b73ca8d85b80d0249c908e4e832f Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:08:19 -0500 Subject: [PATCH 04/14] Refactor GitHub Actions workflow for clarity and improved deployment structure --- .github/workflows/deploy.yml | 66 ++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a92fa38..f113062 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,8 +1,8 @@ name: Deploy to GitHub Pages -on: +on: push: - branches: + branches: - main - dev workflow_dispatch: @@ -13,44 +13,46 @@ permissions: id-token: write concurrency: - group: "pages-${{ github.ref }}" - cancel-in-progress: true + group: "pages" + cancel-in-progress: true jobs: build-and-deploy: runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 + steps: + - name: Checkout main branch + uses: actions/checkout@v4 + with: + ref: main + path: main-content - - name: Determine deployment path - id: deploy-path - run: | - if [ "${{ github.ref }}" == "refs/heads/main" ]; then - echo "path=." >> $GITHUB_OUTPUT - echo "environment=production" >> $GITHUB_OUTPUT - else - echo "path=dev" >> $GITHUB_OUTPUT - echo "environment=development" >> $GITHUB_OUTPUT - fi + - name: Checkout dev branch + uses: actions/checkout@v4 + with: + ref: dev + path: dev-content - name: Setup Pages uses: actions/configure-pages@v4 - - name: Prepare deployment directory + - name: Prepare combined deployment run: | - mkdir -p _site/${{ steps. deploy-path.outputs.path }} - if [ "${{ steps. deploy-path.outputs.path }}" == "." ]; then - cp -r * _site/ 2>/dev/null || true - cp -r .??* _site/ 2>/dev/null || true - rm -rf _site/.git _site/.github - else - cp -r * _site/${{ steps.deploy-path.outputs.path }}/ 2>/dev/null || true - rm -rf _site/${{ steps.deploy-path.outputs.path }}/.git - fi + mkdir -p _site + + # Copy main branch content to root + cp -r main-content/* _site/ 2>/dev/null || true + cp -r main-content/.??* _site/ 2>/dev/null || true + + # Copy dev branch content to /dev subdirectory + mkdir -p _site/dev + cp -r dev-content/* _site/dev/ 2>/dev/null || true + cp -r dev-content/. ??* _site/dev/ 2>/dev/null || true + + # Clean up git directories + rm -rf _site/. git _site/.github _site/dev/.git _site/dev/.github - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v3 - name: Deploy to GitHub Pages id: deployment @@ -58,8 +60,6 @@ jobs: - name: Comment deployment URL run: | - if [ "${{ steps.deploy-path.outputs.environment }}" == "production" ]; then - echo "✅ Production deployed to main site" - else - echo "✅ Development deployed to /dev subdirectory" - fi \ No newline at end of file + echo "✅ Deployed successfully!" + echo "📦 Main branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/" + echo "🔧 Dev branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/dev/" From 60de9a1c846238da3766e9329c8909944cb25862 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:09:15 -0500 Subject: [PATCH 05/14] Refactor deploy.yml for improved formatting and consistency --- .github/workflows/deploy.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f113062..110a639 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,7 +1,7 @@ name: Deploy to GitHub Pages on: - push: + push: branches: - main - dev @@ -9,8 +9,8 @@ on: permissions: contents: read - pages: write - id-token: write + pages: write + id-token: write concurrency: group: "pages" @@ -18,7 +18,7 @@ concurrency: jobs: build-and-deploy: - runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - name: Checkout main branch uses: actions/checkout@v4 @@ -29,27 +29,25 @@ jobs: - name: Checkout dev branch uses: actions/checkout@v4 with: - ref: dev + ref: dev path: dev-content - name: Setup Pages uses: actions/configure-pages@v4 - - name: Prepare combined deployment - run: | + - name: Prepare combined deployment + run: | mkdir -p _site # Copy main branch content to root cp -r main-content/* _site/ 2>/dev/null || true - cp -r main-content/.??* _site/ 2>/dev/null || true # Copy dev branch content to /dev subdirectory mkdir -p _site/dev cp -r dev-content/* _site/dev/ 2>/dev/null || true - cp -r dev-content/. ??* _site/dev/ 2>/dev/null || true # Clean up git directories - rm -rf _site/. git _site/.github _site/dev/.git _site/dev/.github + rm -rf _site/. git _site/.github _site/dev/.git _site/dev/. github - name: Upload artifact uses: actions/upload-pages-artifact@v3 @@ -58,8 +56,8 @@ jobs: id: deployment uses: actions/deploy-pages@v4 - - name: Comment deployment URL + - name: Comment deployment URL run: | echo "✅ Deployed successfully!" echo "📦 Main branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/" - echo "🔧 Dev branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/dev/" + echo "🔧 Dev branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/dev/" \ No newline at end of file From 7f22ef3b2a5d051d44a8afac59d4e1a256891298 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:10:05 -0500 Subject: [PATCH 06/14] Refactor deploy.yml for improved formatting and consistency --- .github/workflows/deploy.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 110a639..e774050 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,7 +1,7 @@ name: Deploy to GitHub Pages on: - push: + push: branches: - main - dev @@ -9,16 +9,16 @@ on: permissions: contents: read - pages: write - id-token: write + pages: write + id-token: write concurrency: group: "pages" - cancel-in-progress: true + cancel-in-progress: true -jobs: - build-and-deploy: - runs-on: ubuntu-latest +jobs: + build-and-deploy: + runs-on: ubuntu-latest steps: - name: Checkout main branch uses: actions/checkout@v4 @@ -29,14 +29,14 @@ jobs: - name: Checkout dev branch uses: actions/checkout@v4 with: - ref: dev + ref: dev path: dev-content - name: Setup Pages uses: actions/configure-pages@v4 - - name: Prepare combined deployment - run: | + - name: Prepare combined deployment + run: | mkdir -p _site # Copy main branch content to root @@ -47,7 +47,7 @@ jobs: cp -r dev-content/* _site/dev/ 2>/dev/null || true # Clean up git directories - rm -rf _site/. git _site/.github _site/dev/.git _site/dev/. github + rm -rf _site/. git _site/. github _site/dev/.git _site/dev/.github - name: Upload artifact uses: actions/upload-pages-artifact@v3 @@ -56,8 +56,8 @@ jobs: id: deployment uses: actions/deploy-pages@v4 - - name: Comment deployment URL + - name: Comment deployment URL run: | echo "✅ Deployed successfully!" - echo "📦 Main branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/" + echo "📦 Main branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/" echo "🔧 Dev branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/dev/" \ No newline at end of file From 5ad01e8992dc0e987d67a75cdcad93471bfcc50a Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:10:58 -0500 Subject: [PATCH 07/14] Refactor deploy.yml for improved formatting and consistency --- .github/workflows/deploy.yml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e774050..fe15735 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,13 +1,13 @@ name: Deploy to GitHub Pages on: - push: + push: branches: - main - dev workflow_dispatch: -permissions: +permissions: contents: read pages: write id-token: write @@ -19,9 +19,9 @@ concurrency: jobs: build-and-deploy: runs-on: ubuntu-latest - steps: - - name: Checkout main branch - uses: actions/checkout@v4 + steps: + - name: Checkout main branch + uses: actions/checkout@v4 with: ref: main path: main-content @@ -38,26 +38,20 @@ jobs: - name: Prepare combined deployment run: | mkdir -p _site - - # Copy main branch content to root cp -r main-content/* _site/ 2>/dev/null || true - - # Copy dev branch content to /dev subdirectory mkdir -p _site/dev cp -r dev-content/* _site/dev/ 2>/dev/null || true - - # Clean up git directories - rm -rf _site/. git _site/. github _site/dev/.git _site/dev/.github + rm -rf _site/. git _site/.github _site/dev/.git _site/dev/. github - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v3 - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v4 - name: Comment deployment URL run: | echo "✅ Deployed successfully!" - echo "📦 Main branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/" - echo "🔧 Dev branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/dev/" \ No newline at end of file + echo "📦 Main branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/" + echo "🔧 Dev branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/dev/" \ No newline at end of file From d3040c8aff39f588144e34d404330d4ac760f145 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:20:42 -0500 Subject: [PATCH 08/14] Refactor deploy.yml for improved structure and clarity, including version injection and updated deployment messages --- .github/workflows/deploy.yml | 54 ++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fe15735..d7e372b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,57 +1,75 @@ name: Deploy to GitHub Pages -on: - push: - branches: +on: + push: + branches: - main - dev workflow_dispatch: -permissions: +permissions: contents: read - pages: write + pages: write id-token: write concurrency: - group: "pages" + group: "pages" cancel-in-progress: true -jobs: - build-and-deploy: +jobs: + build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout main branch uses: actions/checkout@v4 - with: + with: ref: main path: main-content - - name: Checkout dev branch + - name: Checkout dev branch uses: actions/checkout@v4 - with: + with: ref: dev path: dev-content - - name: Setup Pages + - name: Get latest release version + id: get_release + run: | + RELEASE_TAG=$(curl -s https://api.github.com/repos/MrAlders0n/MeshCore-GOME-WarDriver/releases/latest | jq -r '.tag_name') + echo "version=$RELEASE_TAG" >> $GITHUB_OUTPUT + + - name: Setup Pages uses: actions/configure-pages@v4 - - name: Prepare combined deployment + - name: Prepare combined deployment + env: + RELEASE_VERSION: ${{ steps.get_release. outputs.version }} run: | mkdir -p _site cp -r main-content/* _site/ 2>/dev/null || true + + # Inject version into main branch + sed -i 's|MeshCore Wardrive|MeshCore Wardrive '"${RELEASE_VERSION}"'|' _site/index.html + mkdir -p _site/dev cp -r dev-content/* _site/dev/ 2>/dev/null || true - rm -rf _site/. git _site/.github _site/dev/.git _site/dev/. github + + # Inject dev badge with date + DEV_DATE=$(date -u +"%Y-%m-%d %H:%M UTC") + sed -i 's|MeshCore Wardrive|MeshCore Wardrive DEV '"${DEV_DATE}"'|' _site/dev/index.html + + find _site -name ". git" -exec rm -rf {} + 2>/dev/null || true + find _site -name ".github" -exec rm -rf {} + 2>/dev/null || true - name: Upload artifact uses: actions/upload-pages-artifact@v3 - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 - + uses: actions/deploy-pages@v4 + - name: Comment deployment URL run: | echo "✅ Deployed successfully!" - echo "📦 Main branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/" - echo "🔧 Dev branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/dev/" \ No newline at end of file + echo "📦 Main branch (${{ steps.get_release.outputs.version }}): https://mralders0n.github.io/MeshCore-GOME-WarDriver/" + echo "🔧 Dev branch: https://mralders0n.github.io/MeshCore-GOME-WarDriver/dev/" \ No newline at end of file From bf23ff853f3c85f61ab7eb1843ed13d60a5b81e2 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:27:34 -0500 Subject: [PATCH 09/14] Update iframe source URL to increase coverage area from 1500m to 5000m --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 652bea0..598c74f 100644 --- a/index.html +++ b/index.html @@ -149,7 +149,7 @@

+ src="https://yow.meshmapper.net/embed.php?cov_grid=1&fail_grid=1&pings=0&repeaters=1&rep_coverage=0&grid_lines=0&lat=45.42150&lon=-75.69720&meters=5000">

This preview recenters after each ping is sent. From 4f1dbb2492d2ef10f7ff0b2a5251b75c06e9d465 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:30:20 -0500 Subject: [PATCH 10/14] Update iframe source URL to increase coverage area from 5000m to 10000m --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 598c74f..e367651 100644 --- a/index.html +++ b/index.html @@ -149,7 +149,7 @@

+ src="https://yow.meshmapper.net/embed.php?cov_grid=1&fail_grid=1&pings=0&repeaters=1&rep_coverage=0&grid_lines=0&lat=45.42150&lon=-75.69720&meters=10000">

This preview recenters after each ping is sent. From b964002a5ca1cf32d310d0eff6e6fff558b715f6 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:33:14 -0500 Subject: [PATCH 11/14] Update iframe source URL to increase coverage area to 10000m and add direction parameter --- content/wardrive.js | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/wardrive.js b/content/wardrive.js index 5735252..c130622 100644 --- a/content/wardrive.js +++ b/content/wardrive.js @@ -184,7 +184,7 @@ function updateAutoButton() { } function buildCoverageEmbedUrl(lat, lon) { const base = - "https://yow.meshmapper.net/embed.php?cov_grid=1&fail_grid=1&pings=0&repeaters=1&rep_coverage=0&grid_lines=0&meters=1500"; + "https://yow.meshmapper.net/embed.php?cov_grid=1&fail_grid=1&pings=0&repeaters=1&rep_coverage=0&grid_lines=0&dir=1&meters=1500"; return `${base}&lat=${encodeURIComponent(lat)}&lon=${encodeURIComponent(lon)}`; } let coverageRefreshTimer = null; diff --git a/index.html b/index.html index e367651..0f59ec8 100644 --- a/index.html +++ b/index.html @@ -149,7 +149,7 @@

+ src="https://yow.meshmapper.net/embed.php?cov_grid=1&fail_grid=1&pings=0&repeaters=1&rep_coverage=0&grid_lines=0&lat=45.42150&lon=-75.69720&dir=1&meters=10000">

This preview recenters after each ping is sent. From fefaa1be49a004644f606acd2a90e5ead18611a9 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:34:34 -0500 Subject: [PATCH 12/14] Remove direction parameter from iframe source URL for coverage preview --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0f59ec8..e367651 100644 --- a/index.html +++ b/index.html @@ -149,7 +149,7 @@

+ src="https://yow.meshmapper.net/embed.php?cov_grid=1&fail_grid=1&pings=0&repeaters=1&rep_coverage=0&grid_lines=0&lat=45.42150&lon=-75.69720&meters=10000">

This preview recenters after each ping is sent. From bd53b46e150996a313438479371c2ea6252e55b6 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 21:50:45 -0500 Subject: [PATCH 13/14] Add pull request template for improved contribution guidelines --- .github/PULL_REQUEST_TEMPLATE.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..3d47a9c --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,22 @@ +## Description + + +## Type of Change +- [ ] Bug fix +- [ ] New feature +- [ ] Breaking change +- [ ] Documentation update + +## Related Issues + + +## Checklist +- [ ] I have tested these changes +- [ ] I have updated the documentation +- [ ] My code follows the project's style guidelines +- [ ] All tests pass +- [ ] I have added tests for new features + +## Screenshots (if applicable) + +## Additional Notes \ No newline at end of file From 11dc4707ed371404f5635679c26e5f2d95566abf Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 17 Dec 2025 22:04:10 -0500 Subject: [PATCH 14/14] Add issue templates for bug reports, documentation issues, and feature requests --- .github/CODEOWNERS | 6 +++ .github/ISSUE_TEMPLATE/bug_report.yml | 54 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++++ .github/ISSUE_TEMPLATE/documentation.yml | 45 ++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 43 +++++++++++++++++ 5 files changed, 156 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/documentation.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..9f2e589 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,6 @@ +# Default owners for everything +* @MrAlders0nHelp + +# Specific files/directories +/docs/ @MrAlders0nHelp +*. js @MrAlders0nHelp \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..a6859b3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,54 @@ +name: Bug Report +description: Report a bug or issue +title: "[Bug]: " +labels: ["bug", "triage"] +assignees: + - MrAlders0n +body: + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Describe the bug in a few sentences + placeholder: Tell us what went wrong + validations: + required: true + + - type: textarea + id: steps + attributes: + label: How to reproduce + description: Quick steps to reproduce the issue + placeholder: | + 1. Go to... + 2. Click... + 3. See error + validations: + required: true + + - type: textarea + id: expected + attributes: + label: What should happen instead? + placeholder: Describe what you expected + validations: + required: true + + - type: dropdown + id: severity + attributes: + label: How bad is it? + options: + - "Critical - Can't use it" + - "High - Major problem" + - "Medium - Annoying but workable" + - "Low - Minor issue" + validations: + required: true + + - type: textarea + id: extra + attributes: + label: Anything else? + description: Screenshots, device info, browser, etc. + placeholder: Add screenshots or extra details here \ 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 0000000..170059c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: 💬 Questions & Discussion + url: https://github.com/MrAlders0n/MeshCore-GOME-WarDriver/discussions + about: Ask questions about the MeshCore coverage map + - name: 🔒 Security Issue + url: https://github.com/MrAlders0n/MeshCore-GOME-WarDriver/security/advisories/new + about: Report security vulnerabilities privately \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml new file mode 100644 index 0000000..b147071 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -0,0 +1,45 @@ +name: Documentation Issue +description: Report docs that are wrong, missing, or confusing +title: "[Docs]: " +labels: ["documentation", "triage"] +assignees: + - MrAlders0n +body: + - type: dropdown + id: doc-type + attributes: + label: What's the issue? + options: + - Missing documentation + - Wrong or outdated info + - Confusing or unclear + - Typo or grammar + - Need example code + - Other + validations: + required: true + + - type: input + id: location + attributes: + label: Where? + description: File path or URL + placeholder: e.g., README.md or https://... + validations: + required: true + + - type: textarea + id: problem + attributes: + label: What's wrong? + placeholder: Describe the issue + validations: + required: true + + - type: textarea + id: fix + attributes: + label: What should it say? + placeholder: Your suggested fix or content + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..ff6e337 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,43 @@ +name: Feature Request +description: Suggest a new feature +title: "[Feature]: " +labels: ["enhancement", "triage"] +assignees: + - MrAlders0n +body: + - type: textarea + id: feature + attributes: + label: What feature do you want? + description: Describe the feature you'd like to see + placeholder: I want to be able to... + validations: + required: true + + - type: textarea + id: why + attributes: + label: Why do you need it? + description: What problem would this solve? + placeholder: This would help me... + validations: + required: true + + - type: dropdown + id: priority + attributes: + label: How important is this? + options: + - "Critical - Really need this" + - "High - Would help a lot" + - "Medium - Nice to have" + - "Low - Just an idea" + validations: + required: true + + - type: textarea + id: extra + attributes: + label: Anything else? + description: Add screenshots, mockups, or examples + placeholder: Any additional details \ No newline at end of file