|Resolved||mepps||T226438 Epic: Rebase and finish Geotargeting (sub national targeting)|
|Resolved||mepps||T243012 Show selected countries and regions under tree selector|
In my initial investigation, it looks like we can't mimic the exact way it looks in the columns because as of now, the columns in Special:CentralNotice use region numerical codes and what's available in js for the selector tree is either the text name or a letter code.
- If we're going to display the regions the same way as the dashboard, I for some reason am blanking on how to group them all by country and then convert to a string. In one iteration I had the object but my brain wouldn't recreate how to pull it out into a string.
- I've wondered how the UX will be if the list is too long and played with some other formats, though as I write I'm thinking the first is probably best. (Other formats like, listing countries, then saying X number regions in another countries list.)
Check out the changes we have made for Geotargeting in the CN staging sever here:
That link will take you directly to a test campaign where you can see the tree selector for countries (screenshot also below). Let us know what you think of this.