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

Error Message for Community Care Data Not Loading #19801

Closed
4 tasks done
Agile6MSkinner opened this issue Nov 6, 2024 · 2 comments
Closed
4 tasks done

Error Message for Community Care Data Not Loading #19801

Agile6MSkinner opened this issue Nov 6, 2024 · 2 comments
Assignees
Labels
Facilities Facilities products (VAMC, Vet Center, etc) Facility Locator product owned by Facilities team sitewide VA.gov frontend CMS team practice area

Comments

@Agile6MSkinner
Copy link

Agile6MSkinner commented Nov 6, 2024

Description

When PPMS data does not load for community care services, the current behavior is to have the drop down selector disabled. In #19800, we will add a loading animation that will display during data load. If there is an error, that loading animation should be replaced with an error message as shown in these designs

User story

AS A user searching for services at a community care provider
I WANT an error message to display when data on community care providers doesn't load
SO THAT I am aware that there has been an error and I am not confused about why I can't select anything.

Engineering notes / background

Needs a separate error handler from the one used for search.

Acceptance criteria

  • New specific error handler is created
  • Exiting error for timeout is included in this error handler
  • When error handler is triggered, facility type is cleared to prevent infinite loop
  • When data for community care providers fails to load, an error message displays
@Agile6MSkinner Agile6MSkinner changed the title Error Message for Community Care Services Data Not Loading Error Message for Community Care Data Not Loading Nov 6, 2024
@Agile6MSkinner Agile6MSkinner added VA.gov frontend CMS team practice area Needs refining Issue status Facility Locator product owned by Facilities team sitewide Facilities Facilities products (VAMC, Vet Center, etc) labels Nov 6, 2024
@Agile6MSkinner Agile6MSkinner removed the Needs refining Issue status label Nov 20, 2024
@eselkin
Copy link
Contributor

eselkin commented Dec 27, 2024

Because the specialties/services uses a redux system already, we can tap into the errors created on the currentQuery object for services/specialties and handle with watching that data.

@jilladams
Copy link
Contributor

This work is tested, and merged to an integration branch. We will track next steps for it merging to main under #20306. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Facilities Facilities products (VAMC, Vet Center, etc) Facility Locator product owned by Facilities team sitewide VA.gov frontend CMS team practice area
Projects
None yet
Development

No branches or pull requests

3 participants