tnc-ca-geo / animl-frontend

A frontend web app for viewing & labeling camera trap data by The Nature Conservancy.
https://animl.camera
Other
16 stars 0 forks source link

Create hidden filter to paste in complex custom queries #58

Closed nathanielrindlaub closed 2 years ago

nathanielrindlaub commented 2 years ago

This would be useful for admin & data QA (e.g., after running a scripted update on subset of images and want to view those images). Maybe you pass in a semi-secret query param and the filter appears? Treat the query just like an additional filter, just tack it on to the rest of them in the getImages request, allow for it to be saved in views, etc.

It looks like there are some modules for validating mongoDB queries and for parsing string queries into JSON queries.

nathanielrindlaub commented 2 years ago

done