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: SR RequesetDetail loading spinner not appearing on subsequent mouse-over popups #1805

Closed
4 tasks done
ryanfchase opened this issue Sep 1, 2024 · 9 comments · Fixed by #1812
Closed
4 tasks done
Assignees
Labels
Bug Something isn't working Complexity: Medium P-feature: Map Role: Frontend React front end work Size: 1pt Can be done in 6 hours
Milestone

Comments

@ryanfchase
Copy link
Member

ryanfchase commented Sep 1, 2024

Overview

We need to fix a bug where the loading spinner on the Service Request inspect modal does not appear on subsequent mouse-overs.

Action Items

In Map.jsx

  • Review usage of <RequestDetail/>
  • Review usage of this.requesetDetail
  • Correct loading behavior of RequestDetail
  • Provide SCREEN CAPTURE of the correct behavior

Resources/Instructions

Abbreviations

  • Service Request = SR
  • Neighborhood Council = NC

Useful Files & Components

  • RequestDetail: components/Map/Map/RequestDetail.jsx
  • Map: components/Map/Map.jsx

Mapbox Docs:

Reproducing the Bug

  1. load the 311 Data site
  2. select an NC (e.g. Koreatown)
  3. Mouse-over to one SR
    3.1. observe the loading spinner that appears immediately on hover
    3.2. take note of the SR Type.
  4. Move-over to a new SR
    4.1. Observe that there is no loading spinner, instead the SR modal is unchanged from step 3
    4.2. Observe that the SR modal will quickly re-render with the correct SR information
Click to see finished result

[TODO: VIDEO GOES HERE]

@ryanfchase ryanfchase added Bug Something isn't working Role: Frontend React front end work Size: 1pt Can be done in 6 hours P-feature: Map labels Sep 1, 2024
@ryanfchase ryanfchase added this to the 05 - Bug Bash milestone Sep 1, 2024
@github-project-automation github-project-automation bot moved this to New Issue Approval in P: 311: Project Board Sep 1, 2024
@bphan002 bphan002 self-assigned this Sep 4, 2024
@bphan002 bphan002 moved this from New Issue Approval to In progress in P: 311: Project Board Sep 4, 2024
@ryanfchase
Copy link
Member Author

@bphan002 thanks for picking this up. When you can, please leave as a comment:

  • ETA
  • availability for comment/discussion

@bphan002
Copy link
Member

bphan002 commented Sep 4, 2024

ETA: Thursday 10/5 3 PM

Availability: Any time before 2 PM

@ryanfchase
Copy link
Member Author

ETA: Thursday 10/5 3 PM

Availability: Any time before 2 PM

@bphan002 did you mean 9/5? 🤣

We can always accommodate if you need more time ofc... 😁

@bphan002
Copy link
Member

bphan002 commented Sep 6, 2024 via email

@ryanfchase
Copy link
Member Author

@bphan002 moving this ticket to In Review since your PR is available

@ryanfchase ryanfchase moved this from In progress to In Review in P: 311: Project Board Sep 6, 2024
@ryanfchase
Copy link
Member Author

Adding my review, eta this evening

@ryanfchase
Copy link
Member Author

@bphan002 I've left you a review on your PR. Please provide an ETA for addressing the review, thanks!

@bphan002
Copy link
Member

bphan002 commented Sep 12, 2024

ETA: Thursday Sept 12 3 PM

@ryanfchase
Copy link
Member Author

Thank you @bphan002, merge when ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment