DigitalCommons / land-explorer-front-end

React app for the Land Explorer front end
http://landexplorer.cc
GNU Affero General Public License v3.0
1 stars 0 forks source link

Ownership Search - highlighting fix for selected properties #323

Open ms0ur1s opened 2 weeks ago

ms0ur1s commented 2 weeks ago

What? Why?

Currently, when an arrow next to a property within the 'Ownership Search' panel is clicked, the property is not highlighted in red on the map.

Closes #311

After investigation the handlePropertyClick function only needed to be be added to the gotoProperty function within RelatedProperties.js.

I was unable to reproduce the second bug mentioned in issue #311 locally, on staging or on live (click 'clear all' within the 'Ownership Search' panel, click another property within this panel and all properties listed in the panel are highlighted green).

What should we test?

  1. Turn on ownership search
  2. Zoom in and click on a green poly
  3. Open the 'Land Information' panel and click 'Check for other properties'
  4. Click an arrow to the right of a property within the 'Ownership Search' panel