mirror of
https://github.com/apache/superset.git
synced 2026-07-16 03:35:45 +00:00
The control was removed earlier because it was a documented no-op — the build pipeline repositioned features per flying_islands.yaml but didn't tag them, so the runtime drop logic had nothing to filter on. Now actually functional: - build.py: apply_flying_islands sets `_flying: true` on every feature it repositions (FRA's 5 DROMs, USA's Hawaii/Alaska/Puerto Rico, ESP Canary Islands, NOR Svalbard, PRT Madeira/Azores, etc.) - controlPanel.tsx: re-add the `show_flying_islands` checkbox (default on, renderTrigger so the projection refits without re-querying) - CountryMap.tsx: filterFeatures drops _flying-tagged features when the toggle is off; fit-to-selection projection automatically zooms to the remaining mainland - types: declare optional `_flying` property - Tests: assert control presence + default value; remove the intentionally-absent assertion - Regenerated 5 admin1 files + the france_overseas composite to embed the new tags (only countries with flying_islands rules differ) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>