superset icon indicating copy to clipboard operation
superset copied to clipboard

fix(plugin/country/map): rectify naming for some Vietnamese provinces

Open hainenber opened this issue 1 year ago • 7 comments

fix(plugin/country/map): rectify naming for some Vietnamese provinces

SUMMARY

Some Vietnamese provinces are incorrectly named without diacritics and "Hồ Chí Minh City" should be named natively as "Thành phố Hồ Chí Minh". This PR is to remediate such issue

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • [ ] Has associated issue:
  • [ ] Required feature flags:
  • [ ] Changes UI
  • [ ] Includes DB Migration (follow approval process in SIP-59)
    • [ ] Migration is atomic, supports rollback & is backwards-compatible
    • [ ] Confirm DB migration upgrade and downgrade tested
    • [ ] Runtime estimates and downtime expectations provided
  • [ ] Introduces new feature or API
  • [ ] Removes existing feature or API

hainenber avatar Jul 01 '24 15:07 hainenber

Hi! This is much appreciated, but we need to make edits in the Jupyter notebook that generates these files. If we only edit the GeoJson files, they will be overwritten the next time someone runs the notebook. Hopefully this blog post explains it, but if not I'm happy to improve it. https://preset.io/blog/how-and-when-and-why-to-update-apache-supersets-country-maps/

rusackas avatar Jul 01 '24 16:07 rusackas

Awesome! Thanks for the lead. I'll be checking the referred blog 😄

hainenber avatar Jul 01 '24 16:07 hainenber

I've updated the Notebook! No idea why other countries's geojson has a new name attribute though :D

hainenber avatar Jul 18 '24 14:07 hainenber

oh I saw you were having the side effects also :D

https://github.com/apache/superset/pull/29627

hainenber avatar Jul 18 '24 14:07 hainenber

Heya! Yep... and that PR of mine just merged. If you don't mind rebasing (which might have some notebook changes to sort out) I think this'll be easy to review/merge after that.

rusackas avatar Jul 25 '24 21:07 rusackas

Rebased and now pending for review/approval :D

hainenber avatar Jul 28 '24 06:07 hainenber

hi @rusackas, is this PR still eligible? A bit rusty in the shed now :D

hainenber avatar Aug 27 '24 15:08 hainenber

Sorry I missed this! Yes, it's fine! Will merge as soon as it turns green again.

rusackas avatar Sep 27 '24 15:09 rusackas