diff --git a/map/app/public/js/location-manager.js b/map/app/public/js/location-manager.js index 4872a56..4baa851 100644 --- a/map/app/public/js/location-manager.js +++ b/map/app/public/js/location-manager.js @@ -330,4 +330,10 @@ export function openAddModal(lat, lng) { // Show modal modal.classList.remove('hidden'); + + // Trigger custom event for auto address lookup + const autoLookupEvent = new CustomEvent('autoAddressLookup', { + detail: { mode: 'add', lat, lng } + }); + document.dispatchEvent(autoLookupEvent); } diff --git a/map/app/public/js/ui-controls.js b/map/app/public/js/ui-controls.js index 3a255a8..e1b8437 100644 --- a/map/app/public/js/ui-controls.js +++ b/map/app/public/js/ui-controls.js @@ -284,6 +284,7 @@ export function setupGeoLocationSync() { } } +// ...existing code... export function setupEventListeners() { // Desktop controls document.getElementById('refresh-btn')?.addEventListener('click', () => { @@ -345,6 +346,17 @@ export function setupEventListeners() { lookupAddress('edit'); }); + // Auto address lookup event listener + document.addEventListener('autoAddressLookup', (e) => { + const { mode } = e.detail; + if (mode === 'add') { + // Add a small delay to ensure the form is fully rendered + setTimeout(() => { + lookupAddress('add'); + }, 200); + } + }); + // Geo-location field sync setupGeoLocationSync(); @@ -361,4 +373,4 @@ export function setupEventListeners() { } } }); -} +} \ No newline at end of file diff --git a/mkdocs/docs/assets/repo-data/admin-changemaker.lite.json b/mkdocs/docs/assets/repo-data/admin-changemaker.lite.json index 026c967..b3dd33b 100644 --- a/mkdocs/docs/assets/repo-data/admin-changemaker.lite.json +++ b/mkdocs/docs/assets/repo-data/admin-changemaker.lite.json @@ -7,10 +7,10 @@ "stars_count": 0, "forks_count": 0, "open_issues_count": 0, - "updated_at": "2025-07-09T15:57:35-06:00", + "updated_at": "2025-07-09T17:18:52-06:00", "created_at": "2025-05-28T14:54:59-06:00", "clone_url": "https://gitea.bnkops.com/admin/changemaker.lite.git", "ssh_url": "git@gitea.bnkops.com:admin/changemaker.lite.git", "default_branch": "main", - "last_build_update": "2025-07-09T15:57:35-06:00" + "last_build_update": "2025-07-09T17:18:52-06:00" } \ No newline at end of file diff --git a/mkdocs/docs/assets/repo-data/anthropics-claude-code.json b/mkdocs/docs/assets/repo-data/anthropics-claude-code.json index d7852a6..f8be7d0 100644 --- a/mkdocs/docs/assets/repo-data/anthropics-claude-code.json +++ b/mkdocs/docs/assets/repo-data/anthropics-claude-code.json @@ -4,10 +4,10 @@ "description": "Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.", "html_url": "https://github.com/anthropics/claude-code", "language": "PowerShell", - "stars_count": 18368, + "stars_count": 18369, "forks_count": 1038, - "open_issues_count": 1717, - "updated_at": "2025-07-09T23:09:07Z", + "open_issues_count": 1718, + "updated_at": "2025-07-09T23:22:25Z", "created_at": "2025-02-22T17:41:21Z", "clone_url": "https://github.com/anthropics/claude-code.git", "ssh_url": "git@github.com:anthropics/claude-code.git", diff --git a/mkdocs/docs/assets/repo-data/go-gitea-gitea.json b/mkdocs/docs/assets/repo-data/go-gitea-gitea.json index 5fcabf1..52cb214 100644 --- a/mkdocs/docs/assets/repo-data/go-gitea-gitea.json +++ b/mkdocs/docs/assets/repo-data/go-gitea-gitea.json @@ -4,10 +4,10 @@ "description": "Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD", "html_url": "https://github.com/go-gitea/gitea", "language": "Go", - "stars_count": 49481, + "stars_count": 49482, "forks_count": 5907, "open_issues_count": 2720, - "updated_at": "2025-07-09T22:11:47Z", + "updated_at": "2025-07-09T23:14:46Z", "created_at": "2016-11-01T02:13:26Z", "clone_url": "https://github.com/go-gitea/gitea.git", "ssh_url": "git@github.com:go-gitea/gitea.git", diff --git a/mkdocs/docs/assets/repo-data/n8n-io-n8n.json b/mkdocs/docs/assets/repo-data/n8n-io-n8n.json index a391e60..9d85669 100644 --- a/mkdocs/docs/assets/repo-data/n8n-io-n8n.json +++ b/mkdocs/docs/assets/repo-data/n8n-io-n8n.json @@ -12,5 +12,5 @@ "clone_url": "https://github.com/n8n-io/n8n.git", "ssh_url": "git@github.com:n8n-io/n8n.git", "default_branch": "master", - "last_build_update": "2025-07-09T23:06:18Z" + "last_build_update": "2025-07-09T23:22:28Z" } \ No newline at end of file diff --git a/mkdocs/docs/build/index.md b/mkdocs/docs/build/index.md index f45660d..a77094b 100644 --- a/mkdocs/docs/build/index.md +++ b/mkdocs/docs/build/index.md @@ -1,10 +1,17 @@ -# Getting Started with Digital Liberation +# Getting Started Welcome to Changemaker-Lite! You're about to reclaim your digital sovereignty and stop feeding your secrets to corporations. This guide will help you set up your own political infrastructure that you actually own and control. +This documentation is broken into a few sections: + +- **Build:** Instructions on how to build the cm-lite on your own hardware +- **Services:** Overview of all the services that are installed when you install cm-lite +- **Configuration:** Information on how to configure all the services that you install in cm-lite +- **Manuals:** Manuals on how to use the applications inside cm-lite (with videos!) + ## Quick Start -### Build Changemkaer-Lite +### Build Changemaker-Lite ```bash # Clone the repository diff --git a/mkdocs/docs/manual/map.md b/mkdocs/docs/manual/map.md index 18c2bf1..6699944 100644 --- a/mkdocs/docs/manual/map.md +++ b/mkdocs/docs/manual/map.md @@ -1,5 +1,9 @@ # Map Manual +Quick Tips: + +- Map works best when you clear your cookies, cache, and other data before use! This is because it is a web-app that pushes information to your phone. By clearing that data, you will always load the most recent version of the app to your browser. + ## How to add new location - Video
Welcome to Changemaker-Lite! You're about to reclaim your digital sovereignty and stop feeding your secrets to corporations. This guide will help you set up your own political infrastructure that you actually own and control.
+This documentation is broken into a few sections:
+# Clone the repository
git clone https://gitea.bnkops.com/admin/changemaker.lite
cd changemaker.lite
diff --git a/mkdocs/site/build/server/index.html b/mkdocs/site/build/server/index.html
index bec8da0..0084528 100644
--- a/mkdocs/site/build/server/index.html
+++ b/mkdocs/site/build/server/index.html
@@ -2169,7 +2169,7 @@ Changemaker Archive. Learn more