cityofaustin / atd-moped

A comprehensive mobility project tracking platform for Austin, Texas.
https://mobility.austin.gov/moped/
4 stars 3 forks source link

Fix filter chips so they don't show a date with "is blank" operator #1410

Closed chiaberry closed 2 months ago

chiaberry commented 2 months ago

Associated issues

https://github.com/cityofaustin/atd-data-tech/issues/18940

Testing

When I updated the chips to format dates to be more legible, I neglected to check if the date actually existed or was null

Steps to test:

Compare https://deploy-preview-1410--atd-moped-main.netlify.app/moped/projects?filters=%5B%7B%22field%22%3A%22completion_end_date%22%2C%22operator%22%3A%22date_is_null%22%2C%22value%22%3Anull%7D%5D&isOr=false

to in staging https://moped.austinmobility.io/moped/projects?filters=%5B%7B%22field%22%3A%22completion_end_date%22%2C%22operator%22%3A%22date_is_null%22%2C%22value%22%3Anull%7D%5D&isOr=false


Ship list