azavea / fb-gender-survey-dashboard

Interactive exploration of global results from the Facebook "Survey on Gender Equality At Home
https://gender-survey-dashboard.netlify.app/
Apache License 2.0
2 stars 2 forks source link

Save visualizations #39

Closed TaiWilkin closed 3 years ago

TaiWilkin commented 3 years ago

Overview

Users are able to click 'save' while on the visualizations page, and store their currently selected geographies/questions/etc. into local storage.

Data is stored in an array of objects, with each object containing a title and the information needed to recreate the visualization.

The stored visualization does NOT include the survey data, which means that we don't capture stale state data if the dataset changes. However, when completing the follow-up UI tasks we will need to gracefully handle cases where a persisted question or geography is no longer available.

Connects #19

Demo

Screen Shot 2020-12-29 at 12 17 59 PM

Testing Instructions

TaiWilkin commented 3 years ago

Added a visual "save success" state to the save button. Thanks!