hackforla / hackforla/311-data
DEV - Filter service requests when NC is selected
- Dominant language
- JavaScript
- Stars
- 73
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
### Overview
We need to filter out service request (SR) pins that are outside of a selected NC's boundary so that users don't get confused about the relationship between selected NC and visible pins.
### More Info (optional)
This also sets up for Blank Map requirements, we will only be showing pins for one NC at a time, aka disabling showing all pins for all NCs (too much data).
### Action Items
When an NC is selected via boundary dropdown menu OR address search...
- [ ] filter SR data: check that `SR.nc_id` matches `selectedNc.nc_id` (pseudocode)
When an NC selection is removed...
- [ ] allow for all SR data to be rendered
Hand Off Instructions
- [ ] update "Screenshot of new feature from localhost" with an image of the map where no SR pins are visible outside of the selected NC
### Resources/Instructions
The following sections list useful links, as well as sections to be updated for hand-off.
#### Dev Resources
#### Hand Off Resources
Screenshot before proposed changes
Screenshot of new feature from localhost
[insert screenshot here]
Contributor guide
Assessment
This issue has not been assessed yet.