fpdcc / ccfp-asset-dashboard

CCFP Asset Dashboard
0 stars 1 forks source link

Add improvements to the GIS search #164

Closed smcalilly closed 2 years ago

smcalilly commented 2 years ago

Overview

Closes:

Notes

For $150 and #151, I added some javascript code to dynamically render the table columns based on the incoming geojson. It's a bit hacky but it works. The geojson serializers fields are standardized across the different types of assets. If they want to keep adding attributes to the different asset types, then we might want to change our approach and make something more flexible, otherwise this could become messy and unwieldy to deal with.

Also, a thought I had while adding a new attribute and filter to the picnic grove... We could improve the search results by adding a dropdown selection in the UI that allows them what field they want to search on. This would take some work with more significant changes but would be a nice thing to have.

Testing Instructions