SPA composition gaps: wire the charts pane, honest 'soon' badges
- gospel-resources gains its built-but-never-composed Charts pane (public/ doxa-maps/gospel-resources/charts/ existed since the build; now it's a pane). - The three nav items that render permanent placeholders (All People Groups, Nationmapper, Outreach Planner) carry an honest 'soon' badge; the shell's badge renderer generalized from the hardcoded desktop-only case to any n.badge value.
This commit is contained in:
parent
5ef3c01c8d
commit
98aa53b16a
4 changed files with 12 additions and 8 deletions
|
|
@ -676,7 +676,7 @@ let active = DEFAULT_PROFILE
|
|||
|
||||
function rowHTML(n, cur){
|
||||
return `<button class="row" data-id="${n.id}" aria-current="${n.id===cur}">
|
||||
${icon(n.icon)}<span class="lbl">${n.label}</span><span class="mini">${n.label.split(' ')[0]}</span>${n.target==='desktop' ? '<span class="badge">desktop</span>' : ''}
|
||||
${icon(n.icon)}<span class="lbl">${n.label}</span><span class="mini">${n.label.split(' ')[0]}</span>${n.badge ? `<span class="badge">${n.badge}</span>` : (n.target==='desktop' ? '<span class="badge">desktop</span>' : '')}
|
||||
</button>`
|
||||
}
|
||||
function drawSide(){
|
||||
|
|
@ -874,6 +874,8 @@ const PROFILES = {
|
|||
config: { profile:'resources-list', instanceId:'wrapper-gospel-resources' } },
|
||||
{ id:'tables', label:'Data', at:[2,0],
|
||||
config: { profile:'data-tables', instanceId:'wrapper-gospel-resources' } },
|
||||
{ id:'charts', label:'Charts', at:[3,0],
|
||||
config: { profile:'charts', instanceId:'wrapper-gospel-resources' } },
|
||||
],
|
||||
},
|
||||
// The RESEARCH map — the full multi-tab research tool, under Research.
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export const NAV = [
|
|||
// keep them straight. (The "15k" suffix was dropped from the label at the
|
||||
// maintainer's request 2026-07-29; the distinction is recorded here instead.)
|
||||
// ⚠ NO BUNDLE YET — renders the placeholder card.
|
||||
{ kind: 'item', id: 'all-people-groups', label: 'All People Groups', icon: 'globe', target: 'both' },
|
||||
{ kind: 'item', id: 'all-people-groups', label: 'All People Groups', badge: 'soon', icon: 'globe', target: 'both' },
|
||||
// REMOVED 'Reached People Groups' (2026-07-29) — added and withdrawn the
|
||||
// same round; do not re-add without an explicit ask.
|
||||
// REMOVED 'Simple Map' (2026-07-29). REASON WORTH KEEPING: the
|
||||
|
|
@ -97,11 +97,11 @@ export const NAV = [
|
|||
kind: 'folder', id: 'experimental', label: 'Experimental maps', icon: 'flask', target: 'both',
|
||||
open: false,
|
||||
children: [
|
||||
{ kind: 'item', id: 'nationmapper', label: 'Nationmapper', icon: 'share', target: 'both' },
|
||||
{ kind: 'item', id: 'nationmapper', label: 'Nationmapper', badge: 'soon', icon: 'share', target: 'both' },
|
||||
// Country Posters MOVED here from Prayer Mobilization to Experimental.
|
||||
{ kind: 'item', id: 'countries-map', label: 'Country Posters', icon: 'poster', target: 'both' },
|
||||
// Outreach Planner = geo-steward, renamed + moved out of the Dashboard folder.
|
||||
{ kind: 'item', id: 'geo-steward', label: 'Outreach Planner', icon: 'layers', target: 'both' },
|
||||
{ kind: 'item', id: 'geo-steward', label: 'Outreach Planner', badge: 'soon', icon: 'layers', target: 'both' },
|
||||
// Key City Posters MOVED here from Laborer Mobilization.
|
||||
{ kind: 'item', id: 'key-city-posters', label: 'Key City Posters', icon: 'poster', target: 'both' },
|
||||
// Full UPG-Neighbor hub (all lenses: cockpit / flower / lang-cluster / send).
|
||||
|
|
|
|||
|
|
@ -676,7 +676,7 @@ let active = DEFAULT_PROFILE
|
|||
|
||||
function rowHTML(n, cur){
|
||||
return `<button class="row" data-id="${n.id}" aria-current="${n.id===cur}">
|
||||
${icon(n.icon)}<span class="lbl">${n.label}</span><span class="mini">${n.label.split(' ')[0]}</span>${n.target==='desktop' ? '<span class="badge">desktop</span>' : ''}
|
||||
${icon(n.icon)}<span class="lbl">${n.label}</span><span class="mini">${n.label.split(' ')[0]}</span>${n.badge ? `<span class="badge">${n.badge}</span>` : (n.target==='desktop' ? '<span class="badge">desktop</span>' : '')}
|
||||
</button>`
|
||||
}
|
||||
function drawSide(){
|
||||
|
|
@ -874,6 +874,8 @@ const PROFILES = {
|
|||
config: { profile:'resources-list', instanceId:'wrapper-gospel-resources' } },
|
||||
{ id:'tables', label:'Data', at:[2,0],
|
||||
config: { profile:'data-tables', instanceId:'wrapper-gospel-resources' } },
|
||||
{ id:'charts', label:'Charts', at:[3,0],
|
||||
config: { profile:'charts', instanceId:'wrapper-gospel-resources' } },
|
||||
],
|
||||
},
|
||||
// The RESEARCH map — the full multi-tab research tool, under Research.
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export const NAV = [
|
|||
// keep them straight. (The "15k" suffix was dropped from the label at the
|
||||
// maintainer's request 2026-07-29; the distinction is recorded here instead.)
|
||||
// ⚠ NO BUNDLE YET — renders the placeholder card.
|
||||
{ kind: 'item', id: 'all-people-groups', label: 'All People Groups', icon: 'globe', target: 'both' },
|
||||
{ kind: 'item', id: 'all-people-groups', label: 'All People Groups', badge: 'soon', icon: 'globe', target: 'both' },
|
||||
// REMOVED 'Reached People Groups' (2026-07-29) — added and withdrawn the
|
||||
// same round; do not re-add without an explicit ask.
|
||||
// REMOVED 'Simple Map' (2026-07-29). REASON WORTH KEEPING: the
|
||||
|
|
@ -97,11 +97,11 @@ export const NAV = [
|
|||
kind: 'folder', id: 'experimental', label: 'Experimental maps', icon: 'flask', target: 'both',
|
||||
open: false,
|
||||
children: [
|
||||
{ kind: 'item', id: 'nationmapper', label: 'Nationmapper', icon: 'share', target: 'both' },
|
||||
{ kind: 'item', id: 'nationmapper', label: 'Nationmapper', badge: 'soon', icon: 'share', target: 'both' },
|
||||
// Country Posters MOVED here from Prayer Mobilization to Experimental.
|
||||
{ kind: 'item', id: 'countries-map', label: 'Country Posters', icon: 'poster', target: 'both' },
|
||||
// Outreach Planner = geo-steward, renamed + moved out of the Dashboard folder.
|
||||
{ kind: 'item', id: 'geo-steward', label: 'Outreach Planner', icon: 'layers', target: 'both' },
|
||||
{ kind: 'item', id: 'geo-steward', label: 'Outreach Planner', badge: 'soon', icon: 'layers', target: 'both' },
|
||||
// Key City Posters MOVED here from Laborer Mobilization.
|
||||
{ kind: 'item', id: 'key-city-posters', label: 'Key City Posters', icon: 'poster', target: 'both' },
|
||||
// Full UPG-Neighbor hub (all lenses: cockpit / flower / lang-cluster / send).
|
||||
|
|
|
|||
Loading…
Reference in a new issue