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
Displaying proper error when user doesn't have Rx or SM access #4195
Comments
Comment above updated with new copy from @AnitraAppa here |
@ayaleloehr Thanks! |
Tagging @melwoodard and @emilyville for awareness because today we talked about adding similar alert for users who haven't signed in LOA1 and for profile page. |
For Secure Messaging: Link "visit MyHealtheVet" to: https://www.myhealth.va.gov/web/myhealthevet/user-registration |
I think what needs to happen is this:
I'm sure I'm not explaining this well, but I think that's what needs to happen. Update: This is close, but not it. I'm also too lazy to type what the correct way to do this is. But I think I'm closing in on a fix. |
^ I see you've already updated on your findings, but I think the minimum necessary change for this to work is to match Disability Benefits' usage of the |
Alright, taking this from Github (https://github.com/department-of-veterans-affairs/kudos-team/issues/271). Will restate the problem here first:
"To refill prescriptions, you need to be registered as a VA patient through MyHealtheVet.
To register, visit MyHealtheVet. If you're registered but you don't see your prescriptions here, please call the Vets.gov Help Desk at 1-855-574-7286, Monday‒Friday, 8:00 a.m.‒8:00 p.m. (ET)."
The "visit MyHealtheVet" section should link to: https://www.myhealth.va.gov/web/myhealthevet/user-registration
(note, all the above applies to SM as well, I'm just using Rx as the first example as I assume once we do it for Rx it will be trivial to add it for SM as well)
Jeff Balboni [3:13 PM]
@ayaleloehr Yep. The RequiredLoginView component passes a prop down to its child component called
isDataAvailable
if a user fails the serviceRequired check.[3:13]
We handle that here: https://github.com/department-of-veterans-affairs/vets-website/blob/master/src/js/disability-benefits/containers/DisabilityBenefitsApp.jsx
[3:14]
It's a little odd because you have to make the child of RequiredLoginView a React component, not an element, and the prop is only passed when it's false.
The text was updated successfully, but these errors were encountered: