department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
280 stars 195 forks source link

[a11y support] MHV Secure Messaging: Submission delay, due to the inclusion of attachments #59425

Open sara-amanda opened 1 year ago

sara-amanda commented 1 year ago

The Problem

Inquiry from MHV - Secure Messaging

c/o 5/30/2023 c/o Joel (MHV SM):

We're working on a flow for when users send a large file size attachment packet on a message, there's a potentially long wait time. Currently, we don't have a way to alert users that the system is processing and that they'll need to wait on the current screen to get a system confirmation of the message sending or failing. If they navigate away, the message can still be sent, but they'll need to "manually check" in their sent messages folder to confirm it. I've [Joel] worked w/ Coulton to establish a flow + design elements to use

Link to the Sketch File Flow Created by Joel and Coulton

Draft Images 5/31/2023

Sketch Screens SM Submission Delay May 31 2023.png

Pictured (left to right): Draft screen, spinner screen, modal screen, success screen, error screen and inbox screens, as shown in Sketch on 5/31/2023.

Feedback & Questions

On 5/31/2023, @sara-amanda (CAIA) met with the Platform Governance Team to discuss this issue, during office hours. The following feedback and questions came out of that meeting. Please reach out to @sara-amanda with any questions.

Existing Pattern

Next Steps

Resources

sara-amanda commented 1 year ago

CAIA Ticket :ticket:

Please find this newly-created ticket, as it relates to this :thread: thread in Slack #mhv-secure-messaging on form submission delays, due to the inclusion of attachments.@VA-Dook this should help guide your work on this issue. Happy to sync with you further to discuss.

Note: I will be OOO 6/2-6/9/2023, please reach out to @SarahKay8 and @coforma-terry in my absence.

cc: @VA-Dook @underpaid1ntern @coforma-terry @joshkimux @coultonbunney-usds @SarahKay8 @allison0034 @briandeconinck

sara-amanda commented 1 year ago

CAIA Functionality Inquiry

Automate Failure Message

Is there a way to automate a failure email, much like the success email - in the sent files? Can they be sent to the inbox with the subject noting at the front success or failure?

If so the alert message could say and link to the inbox for them to check back after xx amount of time?

Inbox contents:

Successful Send: Subject of Email Failure to Send: Subject of Email

Alert message

Your file(s) appear to be xxx size. Due to the large size, it will take a bit to send. Please check your inbox (link) in xx minutes to verify the send?

Feedback from Oleksii Morgun:

We would need to initiate the discussion with MHV Communications team that maintains APIs. I am not sure what LOE is involved. This would be an enhancement to their API functionality which may be a long term solution. If we would absolutely need to go that route, then Bryan Riley and Lichelle Bain would need to coordinate that with MHV Communications.

sara-amanda commented 1 year ago

A11y Spinner Discussion

Notes from Spinner Discussion 6/8/2023.

Spinner Accessibility

Spinner to Modal Screen

Spinner screen to the modal discussion Aliyah and Randy (Duke) Larson in Slack 6/8/2023

aliyahblackmore commented 1 year ago

Hi Joel and Randy (it doesn't seem that I can tag you here, so I'll post the ticket on the Slack thread as well)

This is the content for the spinner and modal screens. Randy previously mentioned that at this time there isn't a content need for the success and failure messages.

Spinner

https://www.sketch.com/s/23f63aae-1e68-46fb-a197-af29ee4d3fd4/a/K0APq0V#Comment

Suggested content:

We’re still sending your message…

Notes:

Modal

https://www.sketch.com/s/23f63aae-1e68-46fb-a197-af29ee4d3fd4/a/w52mg29#Comment

Suggested content:

[title] Leave this page?

Your message is still sending.

If you leave this page now, you’ll need to check your Sent folder to confirm that your message successfully sent.

If your message isn’t there, check your Draft folder and try sending it again. You’ll need to attach your files again when you’re ready to send the message.

Stay on page [button] Leave this page [button]

Notes:

One last question is about the type of modal you all are planning to use. Will this be a default modal or a warning modal?

underpaid1ntern commented 1 year ago

Hi @aliyahblackmore , thanks for the content and the question about the modal type - it's a good point to bring up.

Since this is a type of warning/pause for the user to consider what action they might want to take + its consequences - we'll use the warning type since there's a destructive possibility of attachments not being saved. The modals communicating that attachments aren't saved on drafts use a warning style alert/modal.

sara-amanda commented 1 year ago

CAIA A11y Inquiry Follow-Up

Hi @underpaid1ntern - as you are wrapping up the content items with @aliyahblackmore , can you fill in the blanks here for the questions posed earlier, from my meeting with the Platform team, regarding this ticket? They are in the original ticket body above, but will paste them here for quick reference.Just wanting to make sure all of these were reviewed.

Note: I wasn't able to test the warning. I did however log into staging and test uploading a document. The first test instance it appears to have sent 3x and there is still 1 in the draft folder. The second test instance it said there was an error that occurred. It said it could not save my draft. It still let me attach and send though. It sent one version.

I filled out what I know from what I can see, and from conversations with @aliyahblackmore, below.

Feedback/Questions from Platform Office Hours

Existing Pattern

Your file should be no larger than …

cc: @coforma-terry @SarahKay8

sara-amanda commented 1 year ago

CAIA Note

QQ: @underpaid1ntern have you had a chance to look at the above comment addressing the Platform feedback provided in Office Hours? (cc: @AngelaFowler82 )

coforma-terry commented 11 months ago

@sara-amanda will follow up :)

underpaid1ntern commented 10 months ago

Hi @sara-amanda , sorry this has taken me forever to return to. I got pulled onto some critical tasks that took a while.

Responses:

Existing Pattern

What happens if you close the browser?

Timeout?

Be specific?

How long does the alert message show up?

Sent folder to confirm it was sent...

Message could not be sent

Context to make sure it makes sense

If there are more questions, I think a meeting would make sense to wrap up this ticket. Happy to schedule something.

cc: @coforma-terry @SarahKay8

sara-amanda commented 10 months ago

CAIA Update

@underpaid1ntern, thank you for getting to this and for your updates! cc: @coultonbunney-usds

After reviewing your updates in this ticket above (#59425), I also met with @briandeconinck , @humancompanion-usds and @allison0034 of Platform, and then with @SarahKay8 and @AngelaFowler82.

There are three issue areas outstanding since they aren't resolved completely, from the original list above, additional group feedback can be found in this comment below.

  • [ ] Be specific
  • [ ] Confirm in sent folder
  • [ ] Message could not be sent

Additional Questions

Here are some additional questions that came up, during these review discussions:

Happy vs. Unhappy Path Questions

Recommendation from Platform:

New Collab Cycle (Abbreviated) Ticket Needed

Based on the initial findings above, and those remaining, to make sure, ultimately, that the best product is shipped.

Secure Messaging needs another staging review. There are still a lot of unknowns. It is hard to look at it and give feedback, since there are so many unknowns.

CAIA Additional Testing

Please tag @SarahKay8 and myself @sara-amanda , along with @coforma-terry - if you would like us to retest anything, just provide the following:

Group Feedback Followups

Feedback Key:

(1) BE SPECIFIC :red_circle:

1.a ORIGINAL FEEDBACK: BE SPECIFIC

1.b. RESPONSE FROM JOEL: Be specific?

:new: 1.c. Follow-up feedback from Platform: Be specific?

(2) CONFIRM IN SENT FOLDER :red_circle:

2.a. ORIGINAL FEEDBACK: Sent folder to confirm it was sent …

2.b. FEEDBACK FROM JOEL: Sent folder to confirm it was sent... The alert would appear when navigating away.

:new: 2c. Follow-up feedback from Angela: Sent folder to confirm it was sent... OK, so when I send a message it doesn't say anything for a few seconds and then it says secure message is successfully sent then it takes me to the inbox and places focus on the h1. I'm going to try again and see if I can't find that spinner., Didn't find it.

:new: 2d. Follow-up feedback from CAIA:Sent folder to confirm it was sent...

  • This functionality hasn't been built yet which is why that couldn't be tested.
  • We don't know when the message might appear due to system malfunction.

(3) MESSAGE COULD NOT BE SENT :red_circle:

3.a. ORIGINAL FEEDBACK: Message could not be sent

Feedback is:

3.b. FEEDBACK FROM JOEL: Message could not be sent

:new: 3c. Follow-up feedback from CAIA: Message could not be sent.

sara-amanda commented 6 months ago

@coforma-terry feedback shared

coforma-terry commented 6 months ago

Hi @underpaid1ntern - just checking in with this - do you still require a review? Thanks! cc @sara-amanda