From 6a2cccf2ac0b5e1f86aeb547179fce7179ba24f7 Mon Sep 17 00:00:00 2001 From: doxa-maps Date: Wed, 16 Sep 2026 07:34:14 +0000 Subject: [PATCH] doxa-maps-build: bundler output in public/, embeddables retired, All People Groups added --- .env.example | 10 +- app/app.vue | 7 +- app/components/public/UupgsList.vue | 5 +- app/pages/doxa-maps.vue | 66 + app/pages/research/index.vue | 1 + bun.lock | 22 +- embeddables/micro-frontends/README.md | 52 - embeddables/web-components/README.md | 34 - nuxt.config.ts | 10 +- package.json | 2 - public/embed/map/index.html | 173 + public/js/doxa-maps-build/README.md | 24 - .../assets/tables/field-access-visas.json | 17259 ---------------- .../doxa-maps-build/assets/tables/index.json | 6 +- .../all-people-groups/all-people-groups.js | 109 + .../all-people-groups/index.html | 126 + .../doxa-maps/all-people-groups/index.html | 371 + .../cities-internet/cities-internet.js | 60 +- .../connectivity-list/index.html | 4 +- .../connectivity-map/index.html | 4 +- .../cities-internet/data-tables/index.html | 4 +- .../doxa-maps/cities-internet/index.html | 25 +- .../country-posters/countries-map/index.html | 4 +- .../country-poster-wall/index.html | 4 +- .../country-posters/country-posters.js | 126 +- .../doxa-maps/country-posters/index.html | 25 +- .../doxa-maps/demo-map/demo-map.js | 98 +- .../doxa-maps/demo-map/demo-map/index.html | 4 +- .../demo-map/demo-map/maplibre/index.html | 4 +- .../doxa-maps/demo-map/index.html | 25 +- .../doxa-research-map/doxa-research-map.js | 136 +- .../doxa-maps/doxa-research-map/index.html | 25 +- .../doxa-research-map/research-map/index.html | 4 +- .../doxa-simple-map/doxa-simple-map.js | 116 +- .../doxa-simple-map/adoption/index.html | 4 +- .../doxa-simple-map/engagement/index.html | 4 +- .../doxa-simple-map/index.html | 4 +- .../doxa-simple-map/prayer/index.html | 4 +- .../doxa-maps/doxa-simple-map/index.html | 25 +- .../gospel-resources/charts/index.html | 4 +- .../gospel-resources/data-tables/index.html | 4 +- .../gospel-resources/gospel-resources.js | 60 +- .../doxa-maps/gospel-resources/index.html | 25 +- .../resources-list/index.html | 4 +- .../gospel-resources/resources-map/index.html | 4 +- .../js/doxa-maps-build/doxa-maps/index.html | 25 +- .../doxa-maps/key-cities/key-cities.js | 58 +- .../doxa-maps-build/doxa-maps/manifest.json | 122 +- .../doxa-maps/my-upg-100-list/index.html | 25 +- .../my-upg-100-list/my-upg-100-list.js | 78 +- .../my-upg-100-list/poster-wall/index.html | 4 +- .../my-upg-100-list/upg-100-list/index.html | 4 +- .../doxa-maps/research-dashboard/index.html | 25 +- .../research-dashboard/research-dashboard.js | 86 +- .../research-dashboard/index.html | 4 +- .../doxa-maps/template-bundle/index.html | 25 +- .../template-bundle/template-bundle.js | 60 +- .../template-bundle/template-map-a/index.html | 4 +- .../template-bundle/template-map-b/index.html | 4 +- .../external/research-dashboard-map.js | 337 + .../doxa-maps-build/external/upg-neighbor.js | 548 + public/js/doxa-maps-build/icons.js | 62 + public/js/doxa-maps-build/index.html | 1174 ++ public/js/doxa-maps-build/languages.js | 62 + public/js/doxa-maps-build/nav.js | 128 + .../pane-wrapper/pane-wrapper.js | 176 + server/utils/email.ts | 81 +- server/utils/sendgrid.ts | 108 + 68 files changed, 4176 insertions(+), 18111 deletions(-) create mode 100644 app/pages/doxa-maps.vue delete mode 100644 embeddables/micro-frontends/README.md delete mode 100644 embeddables/web-components/README.md create mode 100644 public/embed/map/index.html delete mode 100644 public/js/doxa-maps-build/assets/tables/field-access-visas.json create mode 100644 public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups.js create mode 100644 public/js/doxa-maps-build/doxa-maps/all-people-groups/all-people-groups/index.html create mode 100644 public/js/doxa-maps-build/doxa-maps/all-people-groups/index.html create mode 100644 public/js/doxa-maps-build/external/research-dashboard-map.js create mode 100644 public/js/doxa-maps-build/external/upg-neighbor.js create mode 100644 public/js/doxa-maps-build/icons.js create mode 100644 public/js/doxa-maps-build/index.html create mode 100644 public/js/doxa-maps-build/languages.js create mode 100644 public/js/doxa-maps-build/nav.js create mode 100644 public/js/doxa-maps-build/pane-wrapper/pane-wrapper.js create mode 100644 server/utils/sendgrid.ts diff --git a/.env.example b/.env.example index 4c1c9cce..ba410fab 100644 --- a/.env.example +++ b/.env.example @@ -5,10 +5,12 @@ NUXT_PUBLIC_SITE_URL=http://localhost:3000 JWT_SECRET=your-super-secret-jwt-key-change-this -MAILGUN_API_KEY=your-mailgun-api-key -MAILGUN_DOMAIN=mg.yourdomain.com -# Optional: Use 'api.eu.mailgun.net' for EU region -MAILGUN_HOST= +# SendGrid (transactional email: invites, password resets, verification). +# Sends through the v3 JSON API. The From address in SMTP_FROM must be on a +# domain authenticated in the SendGrid account. +SENDGRID_API_KEY=your-sendgrid-api-key +# Optional API host override; defaults to api.sendgrid.com (use api.eu.sendgrid.com for EU) +SENDGRID_HOST= SMTP_FROM=noreply@yourdomain.com SMTP_FROM_NAME=My App diff --git a/app/app.vue b/app/app.vue index f93fb729..849bd49f 100644 --- a/app/app.vue +++ b/app/app.vue @@ -7,6 +7,11 @@ // Destination comes from NUXT_PUBLIC_FEEDBACK_API_BASE / _PROJECT_ID. With no // project id there is nowhere to post, so the widget and its bundle are skipped. const { public: pub } = useRuntimeConfig() +// Bare pages (layout:false — e.g. /doxa-maps, the full-page maps SPA) get NO +// site chrome at all: the fixed feedback bubble lives outside NuxtLayout, so it +// must opt out here or it floats over the map. +const route = useRoute() +const isBarePage = computed(() => route.meta.layout === false) const feedbackEnabled = Boolean(pub.feedbackProjectId) if (feedbackEnabled) useFeedbackScript() @@ -27,7 +32,7 @@ const siteFeedbackConfig = JSON.stringify({
diff --git a/app/components/public/UupgsList.vue b/app/components/public/UupgsList.vue index a8d31ced..1d5f4699 100644 --- a/app/components/public/UupgsList.vue +++ b/app/components/public/UupgsList.vue @@ -600,7 +600,7 @@ const showMore = computed(() => hasMore())
-

+

@@ -633,9 +633,10 @@ const showMore = computed(() => hasMore())

() + > ()