From d080a50aeb40fd51be17686a632250e3097d8067 Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Wed, 30 Sep 2026 07:03:51 +0000 Subject: [PATCH] Research Gallery: each map's info says only what that map does - Simple Research drops the example packet (a UPG-100 zone's, not something its own view makes) and its takeaway line, which promised a poster and a prayer packet a reader cannot reach from this map. - Every tab whose map draws people-group pins (UPG-100, Simple Research, Prayer Progress, Cities with Internet, Gospel Resources) carries the approximate-location caveat as its info note (pins.approximate), so it stays findable where a phone legend no longer states it. - The Regions comment no longer says China is withheld: China prints. The gallery bundle grows by about 3.6 KB raw (1.1 KB gzipped) for the pins catalogue area; the rebuild is in the commit that closes this series. --- plugin-designs/doxa-maps-spa/src/tabInfo.js | 23 +++++++++++---------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/plugin-designs/doxa-maps-spa/src/tabInfo.js b/plugin-designs/doxa-maps-spa/src/tabInfo.js index e0469bfb3..ffbf477c6 100644 --- a/plugin-designs/doxa-maps-spa/src/tabInfo.js +++ b/plugin-designs/doxa-maps-spa/src/tabInfo.js @@ -44,6 +44,7 @@ export const TAB_INFO = { pos: { side: '56px', narrow: { placement: 'top-left', side: '12px' } }, leadKey: 'mapInfo.tab.upg-100.lead', takeawayKey: 'mapInfo.tab.upg-100.takeaway', + noteKey: 'pins.approximate', examples: [ { kind: 'image', src: 'previews/middle-east-core.webp', full: 'posters/middle-east-core.html' }, { kind: 'pages', pages: MEC_PAGES }, @@ -55,12 +56,9 @@ export const TAB_INFO = { pos: { side: '56px', narrow: { placement: 'top-left', side: '8px' } }, leadKey: 'mapInfo.tab.regions-dashboard.lead', takeawayKey: 'mapInfo.tab.regions-dashboard.takeaway', - // "except India and China": India is genuinely unsupported -- no sheet, no geometry, and 855 - // people groups, too many to fit one poster legibly (library/data/country-posters.json carries - // that reason itself). CHINA IS DIFFERENT: it is technically supported TODAY (sheet 3x4, - // geometry present, 154 groups -- the 3x4 tier exists precisely so it renders) and is withheld - // deliberately, not because the pipeline cannot do it. Do not "fix" this by enabling China; - // that is a decision above this file. + // The note names India as the one country without prints: no sheet, no geometry, and 855 people + // groups, too many to fit one poster legibly (library/data/country-posters.json carries that + // reason itself). China prints (a 3x4 sheet, 154 groups), so the note must not list it. noteKey: 'mapInfo.tab.regions-dashboard.note', // The Sudan poster, packet pages and card deck join when rega's shots are in the tree. examples: [], @@ -106,11 +104,11 @@ export const TAB_INFO = { trigger: 'control', pos: { top: '56px', side: '56px' }, leadKey: 'mapInfo.tab.research-map-plus-grid.lead', - takeawayKey: 'mapInfo.tab.research-map-plus-grid.takeaway', - // Its own poster joins when rega's shot is in the tree. - examples: [ - { kind: 'pages', pages: MEC_PAGES, titleKey: 'mapInfo.tab.research-map-plus-grid.examplePacket' }, - ], + // No takeaway: this map's own view does not make a poster or a packet a reader can reach (its export + // is behind the export switch), so the line that promised both is gone rather than reworded. + noteKey: 'pins.approximate', + // No example: the packet shown here was a UPG-100 zone's, not something this map's own view makes. + examples: [], }, 'prayer-map': { storageKey: 'prayer-map', @@ -120,6 +118,7 @@ export const TAB_INFO = { pos: { side: '56px' }, leadKey: 'mapInfo.tab.prayer-map.lead', takeawayKey: 'mapInfo.tab.prayer-map.takeaway', + noteKey: 'pins.approximate', examples: [], }, 'cities-internet': { @@ -128,6 +127,7 @@ export const TAB_INFO = { pos: { side: '56px', narrow: { side: '4px' } }, leadKey: 'mapInfo.tab.cities-internet.lead', takeawayKey: 'mapInfo.tab.cities-internet.takeaway', + noteKey: 'pins.approximate', examples: [], }, 'gospel-resources': { @@ -136,6 +136,7 @@ export const TAB_INFO = { pos: { side: '56px', narrow: { side: '4px' } }, leadKey: 'mapInfo.tab.gospel-resources.lead', takeawayKey: 'mapInfo.tab.gospel-resources.takeaway', + noteKey: 'pins.approximate', examples: [], }, }