diff --git a/plugin-designs/regions-dashboard/regions-list.vue b/plugin-designs/regions-dashboard/regions-list.vue index b73e2e6a0..0e1f3ff58 100644 --- a/plugin-designs/regions-dashboard/regions-list.vue +++ b/plugin-designs/regions-dashboard/regions-list.vue @@ -171,7 +171,17 @@ const loadFailed = ref(false) // ── same field list the source page's PEOPLE_GROUP_LIST_FIELDS asks for ───── // Their PEOPLE_GROUP_LIST_FIELDS, imported rather than restated — one list, one source. -const FIELDS = PEOPLE_GROUP_LIST_FIELDS +// ★ THIS PAGE ASKS FOR TWO FIELDS, NOT EIGHT. The Driver reported the list page being slow and +// guessed the posters; the posters are behind a v-if and never load until a region is opened. The cost +// was this fetch: it requested the full PEOPLE_GROUP_LIST_FIELDS for EVERY people group, then +// summarizeRegions computed population, adoption, engagement, commitment and pin lat/lngs from them — +// and this page renders NONE of that. It shows a region's label, its group count, its country count +// and its country names, all of which come from country_code and wagf_region alone. Verified by +// running summarizeRegions on two-field rows: the four values this page binds all come out. +// The shared PEOPLE_GROUP_LIST_FIELDS is left alone — the DASHBOARD tab genuinely needs all eight for +// its map pins and its stat cards, so this is a narrower request for a narrower page, not a change to +// what the list means. +const FIELDS = 'country_code,wagf_region' function formatNumber(n) { // Theirs, RegionDetail.vue:16: n.toLocaleString(`${locale}-u-nu-latn`) — locale grouping diff --git a/public/dx-maps/doxa-maps-spa/manifest.json b/public/dx-maps/doxa-maps-spa/manifest.json index 58c02b829..a092b2e0b 100644 --- a/public/dx-maps/doxa-maps-spa/manifest.json +++ b/public/dx-maps/doxa-maps-spa/manifest.json @@ -1050,7 +1050,7 @@ "bundle": "regions-dashboard", "scriptUrl": "./regions-dashboard/regions-dashboard.js", "output": "dx-maps/regions-dashboard/regions-dashboard.js", - "integrity": "sha384-IYWDzSmVuKuPrd5MVAi9J/Ojo4JDvMVw+g80Tk+vfZxi8Kr/GLFSNYpwBg8aQ192", + "integrity": "sha384-p58xpd9mTuaBMgLUpAZjwq2HWTQk0qUkq9vkyzchTDjqbNg+k5VG+5oFlxC7pRBZ", "elements": [ "regions-dashboard" ], @@ -1072,7 +1072,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -1087,7 +1087,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -1102,7 +1102,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] diff --git a/public/dx-maps/manifest.json b/public/dx-maps/manifest.json index 58c02b829..a092b2e0b 100644 --- a/public/dx-maps/manifest.json +++ b/public/dx-maps/manifest.json @@ -1050,7 +1050,7 @@ "bundle": "regions-dashboard", "scriptUrl": "./regions-dashboard/regions-dashboard.js", "output": "dx-maps/regions-dashboard/regions-dashboard.js", - "integrity": "sha384-IYWDzSmVuKuPrd5MVAi9J/Ojo4JDvMVw+g80Tk+vfZxi8Kr/GLFSNYpwBg8aQ192", + "integrity": "sha384-p58xpd9mTuaBMgLUpAZjwq2HWTQk0qUkq9vkyzchTDjqbNg+k5VG+5oFlxC7pRBZ", "elements": [ "regions-dashboard" ], @@ -1072,7 +1072,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } }, { @@ -1087,7 +1087,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n" + "script": "\n\n" } }, { @@ -1102,7 +1102,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n" + "script": "\n\n\n\n" } } ] diff --git a/public/dx-maps/regions-dashboard/region-dashboards/index.html b/public/dx-maps/regions-dashboard/region-dashboards/index.html index b273b3dcd..2725c9c8b 100644 --- a/public/dx-maps/regions-dashboard/region-dashboards/index.html +++ b/public/dx-maps/regions-dashboard/region-dashboards/index.html @@ -36,7 +36,7 @@ - + - + - +