doxa-maps/plugin-designs/regions-dashboard/regions-list.meta.json
doxa-maps-88655c70 06c6455fdc Regions: the selected page is now an exact clone; the chooser is the one addition
The rule: a SELECTED region or country must look identical to the DX-life page
you land on when you click it, and the ONLY thing we add is the state their
site has no route for. Three things followed from that.

1. THE BAR CHART IS GONE. It was ours, not theirs. RegionDetail.vue is four
   stat cards, the map, three goal cards and the country table — nothing else.
   The goal cards and the country table now belong to a SELECTED region only;
   they were showing on the no-selection view as totals, which made the chooser
   look like a region page wearing the wrong numbers.

2. THE COUNTRY LIST IS THEIR UupgsList, ported. CountryDetail.vue:63-69 nests
   <UupgsList :lock-country-code hide-see-all-link />, so cloning that page
   means cloning that component — a DataTable of ours was a stand-in, not a
   clone. src/UupgsList.vue carries their markup and their class names so the
   CSS is theirs rather than a lookalike: .filters / .filters__toggle /
   .filters__panel / .filters__active / .filter-chip, the .search-box with its
   1.5em text-indent, the .grid[data-width-lg] 400px track, and the
   .uupg__card grid-template-areas with its 576px reflow. Their endpoint and
   field list too, and .uupg__content stays display:none as theirs is.
   Scoped to what the page can actually reach: CountryDetail passes none of
   useSelectCard / useHighlightedUUPGs / randomizeList / dontShowListOnLoad, so
   the select-card variant, the /highlighted endpoint and the see-all link are
   branches no consumer runs.

3. THE CHOOSER is the one deliberate difference, and it is now the only one.
   Opening tab 2 first is a state DX-life cannot reach (/regions is the list,
   /regions/<slug> always has a subject, [slug].vue 404s otherwise), so it gets
   a generic map of everything plus three ways in: a region dropdown, a country
   dropdown (both the shared FilterDropdown), and the all-regions table whose
   rows were already clickable. Choosing a subject replaces it with the clone.

Also removed a visible difference nothing had flagged: the shared PinHint's
"Tap a coloured dot" coach-mark was floating over the cloned map, and their
page has no such overlay. pinHint:false now, and the fix had to go in the
COMPOSITE — a child profile's meta only configures its own leaf page, while a
nested pane is handed the config regions-mfe.vue builds, and PinHint reads it
off the injected profileConfig. Same cap-4 inheritance gap assetsBase hit, so
pinHint joined INHERITED_PAGE_KEYS as well.

Verified against the LIVE page, not the stylesheet: doxa.life/regions/cameroon
at 1440x1000, filter panel open on both sides, 28 of 28 computed properties
IDENTICAL, 0 differ. That diff found the one real error — their .button sets no
font-size so it inherits 19.5312px, and I had hardcoded 15.625px. Two rows it
could NOT measure are reported as unmeasured rather than counted either way:
.filter-chip is absent on both sides with no filter selected.

Every suite still green: the map draws 934 pins / 51 outline for a region and
61 / 5 for a country, the country page renders 8 UupgsList cards with their
filter toggle and search box, no page has a coach-mark, and all six viewports
still match their container formula.
2026-09-24 00:59:10 +00:00

8 lines
407 B
JSON

{
"type": "single",
"label": "Regions — the list page",
"config": {
"pinHint": false
},
"note": "pinHint:false: this profile draws NO map at all (it is the clone of DX-life's /regions index), but it now sits in a bundle that owns a map, so generate-tree classifies it isMap and would bake the coach-mark onto a page with no dots. Same shape as cities-internet/connectivity-map.meta.json."
}