|
Some checks are pending
build-gate / build (push) Waiting to run
The Regions bundle shipped only tab 1, so the Select View switcher the UPG-100 list shows had nowhere to live. Adds the composite that carries it over two panes -- Regions List and Region Dashboards -- plus the Region Dashboards tab itself, which summarises a region or a country from the same live endpoint and the same rollup tab 1 uses. Clicking a region heading or a country row on tab 1 now forwards that selection and swaps to tab 2 with it applied. The switcher itself is extracted into library/components/ViewSelect.vue rather than copied a third time: it had two implementations already, in the app shell and hand-copied into upg-100-mfe. It takes the views and the current id as props and knows nothing about maps or panes, so the placement stays with each header. UPG-100 now renders from the shared component and is unchanged on screen -- same 45px height, 13px labels, 8px radius. |
||
|---|---|---|
| .. | ||
| charts | ||
| hints | ||
| legends | ||
| map-controls | ||
| poster | ||
| qa | ||
| search | ||
| tables | ||
| PeopleGroupDetail.vue | ||
| README.md | ||
| ResearchMapFilterPanel.vue | ||
| ResearchMapSideMenu.vue | ||
| SideMenuDrawer.vue | ||
| ViewSelect.vue | ||
| WARNING.md | ||
library/components/ — shared Vue components
The map UI, built from parameterized pieces every app-profile reuses. Fix one here and every map benefits — never edit a shared component to customize one map.
library/components/
┌───────────────────────────────────────────┐
│ legends/ map-controls/ poster/ │
│ charts/ tables/ │
│ PeopleGroupDetail.vue SideMenuDrawer.vue │
│ ResearchMapFilterPanel.vue …SideMenu.vue │
└───────────────────────────────────────────┘
reused by every app-profile via @map/components/…
legends/,map-controls/,poster/each have their own README.- Every component uses
<script setup>, callsuseShadowStyles(), and reaches stores viainject('mapStore' | 'uiStore' | 'dataStore')— never a direct store import.
Full catalog + conventions:
../../documentation/architecture/components.md ·
per-file roles: ../../documentation/reference.md.