CodeForPhilly / clean-and-green-philly

Dashboard to target Philly vacant properties for anti-gun violence interventions
https://www.cleanandgreenphilly.org/
MIT License
25 stars 51 forks source link

Bug: Selected Filter Panels Lose Their 'Selected' Appearance #685

Open jgrimes86 opened 3 weeks ago

jgrimes86 commented 3 weeks ago

Describe the bug When a panel in the 'Get Access' section is selected, the color changes to its selected state. However, if you toggle to the property card view and then back to the filter panel view, the panel no longer appears to be selected, even though the filter is still active.

To Reproduce Steps to reproduce the behavior:

  1. Go to the filter view.
  2. Click on one or more panels in the 'Get Access' section to active those filters.
  3. Exit the filter view so that you can see the property cards, then go back to the filter view.
  4. See that the selected panels appear to not be active

Expected behavior Filter panels will remain in their 'selected' state when toggling between the property card view and filter view

Screenshots This is what a selected panel looks like when first selected. It should continue to look like this as long as the filter is active: Filter showing panel selected

This is what the the selected panel currently looks like after leaving and returning to the filter view: Filter not showing panel selected

jgrimes86 commented 3 weeks ago

Also, I think I know how to correct this, so I would like to be assigned to it. Thank you.

nlebovits commented 3 weeks ago

Assigned @jgrimes86!