Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Default owners for everything
* @MrAlders0nHelp

# Specific files/directories
/docs/ @MrAlders0nHelp
*. js @MrAlders0nHelp
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -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
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Description
<!-- Briefly describe what this PR does -->

## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation update

## Related Issues
<!-- Link to related issues using: Fixes #123, Closes #456 -->

## 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
69 changes: 53 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,75 @@
name: Deploy to GitHub Pages

on:
on:
push:
branches:
branches:
- main
- dev
workflow_dispatch:

permissions:
permissions:
contents: read
pages: write
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
group: "pages"
cancel-in-progress: true

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout main branch
uses: actions/checkout@v4
with:
ref: main
path: main-content

- name: Checkout dev branch
uses: actions/checkout@v4
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
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</h1>|MeshCore Wardrive <span class="text-sm text-slate-400">'"${RELEASE_VERSION}"'</span></h1>|' _site/index.html

mkdir -p _site/dev
cp -r dev-content/* _site/dev/ 2>/dev/null || true

# Inject dev badge with date
DEV_DATE=$(date -u +"%Y-%m-%d %H:%M UTC")
sed -i 's|MeshCore Wardrive</h1>|MeshCore Wardrive <span class="ml-2 px-2 py-0.5 text-xs font-semibold rounded bg-amber-600/20 text-amber-400 border border-amber-600/40">DEV</span> <span class="text-xs text-slate-500">'"${DEV_DATE}"'</span></h1>|' _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
with:
path: '.'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

- name: Comment deployment URL
run: |
echo "✅ Deployed successfully!"
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/"
2 changes: 1 addition & 1 deletion content/wardrive.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h1 class="flex items-center gap-2 text-xl font-semibold"><img class="h-8 w-8" s
style="width: 100%; height: min(80vh, 95vw); border: 0; border-radius: 12px;"
loading="lazy"
referrerpolicy="no-referrer"
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=1500">
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">
</iframe>
<p class="text-xs text-slate-400 mt-2">
This preview recenters after each ping is sent.
Expand Down