Fixes a display bug: a region whose country had been taken (ownership transferred) still showed the old country's code (e.g. "FRA") on hover and in the dossier "Selected" label. That came from the static GeoJSON properties.parent (the region's geographic origin), which never updates when ownership changes.
The tooltip and the "Selected" label now show the region's name + current owner only. Ownership resolution and the choropleth are unchanged (still keyed on properties.parent for the country-level model).
src/components/WorldMap.tsx: removed the static parent-code sub-line from the hover tooltip (owner chip + stats intact).
src/App.tsx: the dossier "Selected" label no longer prints (parent).
Typecheck, lint, 59 unit tests, and build all pass.
Part of #16
Fixes a display bug: a region whose country had been **taken** (ownership transferred) still showed the old country's code (e.g. "FRA") on hover and in the dossier "Selected" label. That came from the static GeoJSON `properties.parent` (the region's geographic origin), which never updates when ownership changes.
The tooltip and the "Selected" label now show the region's **name + current owner** only. Ownership resolution and the choropleth are unchanged (still keyed on `properties.parent` for the country-level model).
- `src/components/WorldMap.tsx`: removed the static parent-code sub-line from the hover tooltip (owner chip + stats intact).
- `src/App.tsx`: the dossier "Selected" label no longer prints `(parent)`.
Typecheck, lint, 59 unit tests, and build all pass.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #16
Fixes a display bug: a region whose country had been taken (ownership transferred) still showed the old country's code (e.g. "FRA") on hover and in the dossier "Selected" label. That came from the static GeoJSON
properties.parent(the region's geographic origin), which never updates when ownership changes.The tooltip and the "Selected" label now show the region's name + current owner only. Ownership resolution and the choropleth are unchanged (still keyed on
properties.parentfor the country-level model).src/components/WorldMap.tsx: removed the static parent-code sub-line from the hover tooltip (owner chip + stats intact).src/App.tsx: the dossier "Selected" label no longer prints(parent).Typecheck, lint, 59 unit tests, and build all pass.