tnc-ca-geo / animl-frontend

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

Image-level "comment" fields #164

Open nathanielrindlaub opened 8 months ago

nathanielrindlaub commented 8 months ago

I think adding a comment field to all images would be useful. See this comment for more context.

This seems like a straightforward thing to implement on the front and back end, but it would also be nice to implement some sort of search/filtering capabilities. It looks like MongoDB supports this: https://www.mongodb.com/docs/manual/reference/operator/query/text/#mongodb-query-op.-text. I would put comment searching as a bit lower priority (perhaps an enhancement after we implement the basic functionality). A simpler, more MVP solution might be checkbox filters for "has comment" / "doesn't have comment".

nathanielrindlaub commented 7 months ago

The resolvers are implemented in animl-api (and wired up to the frontend/redux in this PR: https://github.com/tnc-ca-geo/animl-frontend/pull/178), but we still need to create a UI for viewing the comment threads and creating/editing/deleting comments.