Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Individual page > Cooccurrence table #619

Open
13 tasks
TanyaStere42 opened this issue Dec 13, 2023 · 0 comments
Open
13 tasks

Individual page > Cooccurrence table #619

TanyaStere42 opened this issue Dec 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@TanyaStere42
Copy link
Member

Context

Users need to know many social aspects of the animals they study. The most primitive is the animals that have been seen at the same time and place together. This information can be generated from sighting information. This information is most useful for defined individuals since it's for social analysis, so will be put on the individual page rather than in the animal tab.

User Story

As a researcher on an individual's overview page, I can see the a table that displays a list of the individuals that have been seen together.

Table name: Seen with
Table columns:

  • Individual (link): FirstName of the individual, link goes to individual overview page
  • Times seen: count of shared sightings
  • Earliest (link): First chronological shared sighting. Links to sighting overview page
  • Most recent (link) Last chronologically shared sighting. Links to sighting overview page

Technical notes

  • endpoint exists in Houston: get_cooccurring_individuals
  • table exists on page, but needs to be connected to endpoint: src/pages/individual/Individual.jsx#line331
  • fake data needs to be removed after the fact: src/pages/individual/fakeCoocs.js

QA

  • table and and column headers are correct (see above)
  • table links work correctly
  • table displays accurate number of individuals
  • each individual is an accurate count
    • remove an individual from a shared sighting and verify count updates
    • add an individual to a shared sighting and verify count updates
  • earliest sighting is accurate
    • create an earlier sighting; verify it updates correctly in table
    • delete the earliest sighting; verify it updates in table
  • most recent sighting is accurate
    • create a more recent sighting; verify it updates in table
    • delete the most recent sighting; verify it updates in table
  • verify fakeCoocs.js is removed (see files changed in PR)
@TanyaStere42 TanyaStere42 added the enhancement New feature or request label Dec 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant