Recidiviz / public-dashboard

A public-facing dashboard to help educate citizens and build accountability
GNU General Public License v3.0
5 stars 3 forks source link

Change the color of the dropdown component when a non-default option is selected. #146

Closed hobuobi closed 4 years ago

hobuobi commented 4 years ago

Currently, when a user selects an slicing option from the dropdown, the change is reflected in the visualization but not thoroughly reflected in the UI.

Changing the background color of the component when it is "active" (that is, a non-default option is selected) could help users understand and remember that they have turned on a slicing/filtering option. This is common practice in other UI and visualization applications.

For example, see the styling of the dropdown component on the Racial Disparities page:

Screen Shot 2020-08-05 at 9 26 47 AM

Already included in the design spec (Label: [ACTIVE]). See here.

macfarlandian commented 4 years ago

this is fixed in #138