diff --git a/.github/workflows/superset-frontend.yml b/.github/workflows/superset-frontend.yml index 20add61f7..016c082a6 100644 --- a/.github/workflows/superset-frontend.yml +++ b/.github/workflows/superset-frontend.yml @@ -20,6 +20,7 @@ jobs: - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" uses: actions/checkout@v4 with: + fetch-depth: 0 # Fetch all history persist-credentials: false submodules: recursive - name: Check npm lock file version diff --git a/docs/data/countries.json b/docs/data/countries.json new file mode 100644 index 000000000..a0807a9a1 --- /dev/null +++ b/docs/data/countries.json @@ -0,0 +1,102 @@ +{ + "countries": [ + "Afghanistan", + "Albania", + "Algeria", + "Argentina", + "Australia", + "Austria", + "Belgium", + "Bolivia", + "Brazil", + "Bulgaria", + "Burundi", + "Canada", + "Chile", + "China", + "Colombia", + "Costa Rica", + "Cuba", + "Cyprus", + "Czech Republic", + "Denmark", + "Dominican Republic", + "Ecuador", + "Egypt", + "El Salvador", + "Estonia", + "Ethiopia", + "France", + "France (regions)", + "Finland", + "Germany", + "Guatemala", + "Haiti", + "Honduras", + "Iceland", + "India", + "Indonesia", + "Iran", + "Italy", + "Italy (regions)", + "Japan", + "Jordan", + "Kazakhstan", + "Kenya", + "Korea", + "Kuwait", + "Kyrgyzstan", + "Latvia", + "Liechtenstein", + "Lithuania", + "Malaysia", + "Mexico", + "Morocco", + "Myanmar", + "Netherlands", + "Nicaragua", + "Nigeria", + "Norway", + "Oman", + "Pakistan", + "Panama", + "Papua New Guinea", + "Paraguay", + "Peru", + "Philippines", + "Philippines (regions)", + "Portugal", + "Poland", + "Puerto Rico", + "Qatar", + "Russia", + "Rwanda", + "Saint Barthelemy", + "Saint Martin", + "Saudi Arabia", + "Singapore", + "Slovenia", + "Spain", + "Sri Lanka", + "Sweden", + "Switzerland", + "Syria", + "Tajikistan", + "Tanzania", + "Thailand", + "Timorleste", + "Turkey", + "Turkey (regions)", + "Turkmenistan", + "Uganda", + "UK", + "Ukraine", + "United Arab Emirates", + "Uruguay", + "USA", + "Uzbekistan", + "Venezuela", + "Vietnam", + "Zambia" + ] +} diff --git a/docs/docs/configuration/country-map-tools.mdx b/docs/docs/configuration/country-map-tools.mdx index 9795f973f..691f1fa1d 100644 --- a/docs/docs/configuration/country-map-tools.mdx +++ b/docs/docs/configuration/country-map-tools.mdx @@ -5,6 +5,8 @@ sidebar_position: 10 version: 1 --- +import countriesData from '../../data/countries.json'; + ## The Country Map Visualization The Country Map visualization allows you to plot lightweight choropleth maps of @@ -21,102 +23,11 @@ The current list of countries can be found in the src The Country Maps visualization already ships with the maps for the following countries: -- Afghanistan -- Albania -- Algeria -- Argentina -- Australia -- Austria -- Belgium -- Bolivia -- Brazil -- Bulgaria -- Burundi -- Canada -- Chile -- China -- Colombia -- Costa Rica -- Cuba -- Cyprus -- Denmark -- Dominican Republic -- Ecuador -- Egypt -- El_salvador -- Estonia -- Ethiopia -- France -- France Regions -- Finland -- Germany -- Guatemala -- Haiti -- Honduras -- Iceland -- India -- Indonesia -- Iran -- Italy -- Italy Regions -- Japan -- Jordan -- Kazakhstan -- Kenya -- Korea -- Kuwait -- Kyrgyzstan -- Latvia -- Liechtenstein -- Lithuania -- Malaysia -- Mexico -- Morocco -- Myanmar -- Netherlands -- Nicaragua -- Nigeria -- Norway -- Oman -- Pakistan -- Panama -- Papua New Guinea -- Paraguay -- Peru -- Philippines -- Portugal -- Poland -- Puerto_rico -- Qatar -- Russia -- Rwanda -- Saint Barthelemy -- Saint Martin -- Saudi Arabia -- Singapore -- Slovenia -- Spain -- Sri Lanka -- Sweden -- Switzerland -- Syria -- Tajikistan -- Tanzania -- Thailand -- Timorleste -- Turkey -- Turkey Regions -- Turkmenistan -- Uganda -- Uk -- Ukraine -- United Arab Emirates -- Uruguay -- USA -- Uzbekistan -- Venezuela -- Vietnam -- Zambia +