Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Searching an address outside of an NC boundary silently fails #1840

Closed
1 task
ryanfchase opened this issue Oct 3, 2024 · 7 comments · Fixed by #1852
Closed
1 task

Bugfix: Searching an address outside of an NC boundary silently fails #1840

ryanfchase opened this issue Oct 3, 2024 · 7 comments · Fixed by #1852
Assignees
Labels
Bug Something isn't working Complexity: Small Good First Issue Good for newcomers P-feature: Map P-feature: Search/Filter Modal Role: Frontend React front end work size: 0.25pt Can be done in 1.5 hours
Milestone

Comments

@ryanfchase
Copy link
Member

ryanfchase commented Oct 3, 2024

Overview

We need to fix a regression so that users can still look up addresses outside of NC boundaries.

Action Items

  • Modify behavior of the else block on L663 of Map.jsx
    • if ncIdOfAddressSearch is empty, still attempt to set the address state so that a geocoder pin is placed

Dev Resources

Useful Files and Components

  • MapSearch.jsx (see props)
  • Map.jsx (see L534, onGeocoderResult(result)

Mapbox Docs

Resources/Instructions

Screen recording after proposed changes

[insert screenshot here]

@ryanfchase ryanfchase added Bug Something isn't working Good First Issue Good for newcomers Role: Frontend React front end work P-feature: Map size: 0.25pt Can be done in 1.5 hours P-feature: Search/Filter Modal Complexity: Small labels Oct 3, 2024
@ryanfchase ryanfchase added this to the 05 - Bug Bash milestone Oct 3, 2024
@github-project-automation github-project-automation bot moved this to New Issue Approval in P: 311: Project Board Oct 3, 2024
@ryanfchase ryanfchase moved this from New Issue Approval to Prioritized Backlog (ready to be assigned) in P: 311: Project Board Oct 3, 2024
@ryanfchase
Copy link
Member Author

I'm opening this up as ready to work on. Smaller than 1pt, skipping dev lead review.

@bphan002 bphan002 self-assigned this Oct 12, 2024
@bphan002 bphan002 moved this from Prioritized Backlog to In progress in P: 311: Project Board Oct 12, 2024
@bphan002
Copy link
Member

ETA Oct Oct 17 Thursday

@bphan002
Copy link
Member

bphan002 commented Oct 14, 2024

@ryanfchase
I need a bit of clarification.

I was able to have the marker placed, but did we want it to zoom in on the location?
If we want that to still occur I'll have to look into it deeper since I believe the zoom is based on the neighborhood council.

Screenshot 2024-10-14 at 11 14 11 AM

@ryanfchase
Copy link
Member Author

Adding this as a point of discussion for today's agenda. I'll add a response soon:

@ryanfchase ryanfchase moved this from In progress to Questions in P: 311: Project Board Oct 16, 2024
@ryanfchase ryanfchase added Question Further information is requested Discussion Needs to be discussed as a team labels Oct 16, 2024
@ryanfchase
Copy link
Member Author

Design team to discuss in breakouts this evening. Follow up coming after meeting is over.

@ryanfchase
Copy link
Member Author

ryanfchase commented Oct 17, 2024

@bphan002 for now, when an address is provided outside of an NC, can we fly to that address with a zoom level of 9? Design will be working on a ticket to decide how to message to the user that the search did not fall within an NC. Please move this ticket to "In Progress" if this clarification is sufficient.

Resources

@ryanfchase ryanfchase removed Question Further information is requested Discussion Needs to be discussed as a team labels Oct 17, 2024
@bphan002
Copy link
Member

New ETA Friday Oct 25th EOD

@github-project-automation github-project-automation bot moved this from Questions to Done (without merge) in P: 311: Project Board Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Complexity: Small Good First Issue Good for newcomers P-feature: Map P-feature: Search/Filter Modal Role: Frontend React front end work size: 0.25pt Can be done in 1.5 hours
Projects
Status: Done (without merge)
2 participants