Open cjyabraham opened 2 weeks ago
I solved (2) by not requiring a minimum-length bio in order to show a popup. Example with no bio is here.
For (1) @thetwopct suggested:
The Search Filter adds the country to the URL, so we could use this to update the map of data?
We could also listen to the Ajax from Search Filter? Instead of the map having its own people data, we use the data from S&F, and then when it updates we parse it and then update the markers.
What about having the modal contents load via ajax when the modal popup opens? This would help with two issue:
The downside is that it might be a bit slower to load modal contents.
When you play around with one of our people listings that have a map, there are a couple of issues:
For (1) we should investigate whether it's possible to load all popup data separate from the filter listing. That way it would make the map popups independent of what is being filtered. For Kubestonauts, this may introduce a scalability issue. The page is going to get even larger than it already is, but we could experiment with it.
For (2) I suggest we revert to always showing a popup for everyone. If a bio isn't provided, we could show text like "Bio not provided" or maybe no special treatment is needed.