Updates the meta tags to use new text for 2021 (swapping out "Visualize aggregate data from over the 2020 Survey on Gender Equality at Home, which reached over 460,000 Facebook users in 208 locations around the world" with "Explore the country and region-level data from the 2020 and 2021 waves of the Survey on Gender Equality at Home.") per client request.
Adds protections to handle a null or invalid geoMode. The geography mode (region or country) must be selected for the app to successfully access the data and work as expected. This value is set to countries by default, but in the case of an invalid value somehow entering the system, the app will reset the value to countries, and prevent content from loading until a valid value is found.
Connects #131, #139
Notes
A separate commit with an invalid geoMode set by default has been pushed. Drop this before merging.
Testing Instructions
Copy the URL for the Netlify preview and send it to yourself in Slack. You should see the new meta text.
View the app in the Netlify preview and confirm that countries is selected automatically and the app does not crash.
Overview
Updates the meta tags to use new text for 2021 (swapping out "Visualize aggregate data from over the 2020 Survey on Gender Equality at Home, which reached over 460,000 Facebook users in 208 locations around the world" with "Explore the country and region-level data from the 2020 and 2021 waves of the Survey on Gender Equality at Home.") per client request.
Adds protections to handle a null or invalid geoMode. The geography mode (region or country) must be selected for the app to successfully access the data and work as expected. This value is set to countries by default, but in the case of an invalid value somehow entering the system, the app will reset the value to countries, and prevent content from loading until a valid value is found.
Connects #131, #139
Notes
A separate commit with an invalid geoMode set by default has been pushed. Drop this before merging.
Testing Instructions