Offline regions for the whole world: the region list comes from Geofabrik's index (bin/geofabrik-regions-sync.mjs → geofabrik_regions.geojson, 193 countries plus subregions like the US states), keeping the European ISO codes; the picker folds it by continent with a search box and subregions under their country, flags for all of them
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-11-19 10:03:47 +01:00
1 parent df69886220
commit ff5924faf1
155 files changed
+5465 -113

No files matched your search

+2 -1
View File
@@ -445,7 +445,8 @@ class AppTest < Minitest::Test
def test_offline_regions_lists_available_and_selected
body = json_body(request.get("/api/offline-regions"))
assert_operator body["available"].size, :>, 0
assert_includes body["available"], { "code" => "SK", "name" => "Slovakia" }
assert_includes body["available"], { "code" => "SK", "name" => "Slovakia", "continent" => "europe", "parent" => nil }
assert_includes body["continents"], { "id" => "europe", "name" => "Europe" }
assert_equal [], body["selected"]
end