fixed a bug I found where a Point geometry type would cause the map to crash when clicked on
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.
Overview
Closes:
151
152
150
134
Point
geometry type would cause the map to crash when clicked onNotes
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
ccfp-asset-dashboard test user
complex
(like camp dan beard)grove