Species: add species filter input back into Verify and Captures filters #1017
Labels
dependency: api
Depends on a change to a Greenstand API
dependency: db
Requires a change to treetracker-database
Hackathon
February 2023 Hackathon Material
tool: Species
Relates to the Species management tool
This is a temporary step before building out the full new Species Management tool.
The goal is to make use of the current species data by migrating it to a similar table in the new microservices and start building the infrastructure to identify species tags as being "owned" by a particular organization (similar to how Tags are currently implemented)
FYI:
To do on back-end:
create table for species (w/ owner_id field)
migrate the species information with the uuids as ids in the new table:
-- add owner_id column and fill with the stakeholder_id of the capture that has been assigned that species (so that only the species applied to that org's captures are added with their owner_id)
-- duplicate the species for each new owner_id that uses them
confirm there's an api query by /species/:id (with a uuid)
confirm there's an api query for /species that returns JSON for all the logged in org's species
confirm the raw-capture and capture queries in the Query Api include a join to the species table
To do on front-end:
The future plans for Species Management can be found here:
The text was updated successfully, but these errors were encountered: