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

Filter Questions and Geographies #50

Closed TaiWilkin closed 3 years ago

TaiWilkin commented 3 years ago

Overview

Allows the list of geographies or questions to be narrowed down to labels which contain the user input.

For the list of geographies, if a user selects an item and then changes the search term, the selected item is shown regardless of if it matches the current query. Text is shown to indicate no results found.

For the list of questions, questions are shown if the question or the answer/cat matches. If no matches are found for a category, that category is replaced by text stating that no results were found.

Connects #24

Demo

Filtered results + previously selected

Screen Shot 2021-01-04 at 10 29 05 AM

No results

Screen Shot 2021-01-04 at 10 28 32 AM

Filtered Questions

Screen Shot 2021-01-04 at 10 26 43 AM

Questions with some empty sections

Screen Shot 2021-01-04 at 10 26 33 AM

Testing Instructions

TaiWilkin commented 3 years ago

we probably should keep it consistent by applying the same logic to the question segments

Definitely. It's much better when it's consistent. It was a pretty small change actually.

This is ready for another look.

TaiWilkin commented 3 years ago

Thank you for the feedback!