ConservationMetrics / guardianconnector-views

A Nuxt.js tool that reads data from a SQL database and renders it on different views (map, gallery, alerts dashboard)
MIT License
3 stars 0 forks source link

Add an `AlertsSlider` component to filter map and download selection based on date #27

Closed rudokemper closed 5 months ago

rudokemper commented 5 months ago

Knocks a couple of tasks off the list in #25 by adding a date slider that filters the alerts on the map, and what is provided via the Download CSV / GeoJSON buttons.

image

This PR:

Still to do (as noted in comments) is ensuring that filtering is working correctly when there are more than 12 dates... so maybe that's a good call to action to add tests! :)