digidem / digidem/comapeo-core
Make it easier to look up an observation's tracks
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 24
- Forks
- 6
- Avg merge
- 1d 40m
- Merged PRs (30d)
- 8
Description
The frontend needs to look up an observation's tracks. For example, you're looking at an observation and you want to see all of its associated tracks.
Currently, it does this inefficiently, by looping over all tracks to find those who link back to the given observation. (See findAssociatedTrack.ts.)
It would be nice for Core to expose a way to do this more efficiently.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/frontend/screens/Observation/findAssociatedTrack.ts to understand the current scan of all tracks, then inspect the Core interfaces used by that frontend code. Done means Core exposes an efficient way to retrieve all tracks associated with an observation and the frontend can use it without scanning every track.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100