Page MenuHomePhabricator

Provide warning to user when they exit the reporting system interface
Closed, DeclinedPublic

Description

User story 1
As someone who has filled out a bit of the form in the IRS but now wants to exit the process, I want to know that the sensitive material I may have added will not be stored or saved anywhere.

User story 2
As someone who is filling out a form and accidentally hits the "exit" icon , I want the system to confirm with me that I actually want to exit the process instead of automatically closing the form and losing my report.

Description of the feature
If a user makes it to step 2 in the IRS, which is the "form" step, and then tries to exit by:

A) clicking the 'X' icon in the top right of the dialog
B) hitting the 'back' button and then clicking "I don't want to file a report" or the 'X' icon

we must ask them to confirm that they want to exit the process.

Mockups

Exit confirmation dialog.png (812×375 px, 48 KB)

Event Timeline

Should we have a distructive cancel button?

Should we have a distructive cancel button?

@Madalina @JSengupta-WMF Figma shows a destructive "Delete" button.

image.png (1×764 px, 161 KB)

I'm unsure of the word "Delete" here, since we haven't stored anything yet; it seems like "Cancel" is more accurate.

Another point about the wording is that we are transmitting instrumentation data as a user navigates the form, so I'm not sure about saying "no sensitive data saved or stored anywhere".

@kostajh it should be a "destructive" delete per Codex / DS guidelines which I agree with it's a major action that we want to effectively communicate to the user. This pop up only shows when the user has made it to the step with the form which auto-populates with information. Even if we're not saving anything in the back-end, this experience still gives the impression that we've saved some possibly sensitive information so, after back and forth with DS, we went with the copy "Delete".

Re: the copy, I'll let you all figure that one out.

Again, ball's now fully in Joydeep's court! Just wanted to chime in, in case it's helpful and unblocks you.

Looking at the user flow on figma, I realized that to prevent pop up on pop up, the IRS form is minimized when the delete pop up appears. Before addressing the above topic, I would like to understand what happens if the user clicks Cancel on this pop up? Does the IRS form reappear?

kostajh renamed this task from What happens when a user tries to exit the IRS? to Provide warning to user when they exit the reporting system interface.Sep 20 2023, 11:58 AM

@JSengupta-WMF @Madalina just checking if there are updates on the specifications for this?

Here is the updated UI behaviour

Screenshot 2023-10-02 at 08.50.41.png (1×1 px, 290 KB)

Screenshot 2023-10-02 at 08.55.31.png (1×2 px, 307 KB)

When user clicks on the X or 'Delete' button, the footer of the dialog changes to the confirmation state with message.

kostajh added a subscriber: eigyan.

This feature will NOT be implemented for MTP. Please do not refer to the designs above for MTP.

@KColeman-WMF @Madalina is this task still important? My 2c, I would not include this for pilot wiki launch and think just letting "X" close the dialog without any other prompts is sufficient.

Yes I agree this task is no longer important. We have reworked the designs to include footer text making it explicit to users when they are filing a report. This is something we can include after pilot wiki launch.

Yes I agree this task is no longer important. We have reworked the designs to include footer text making it explicit to users when they are filing a report. This is something we can include after pilot wiki launch.

I am going to decline this, then, but please feel free to reopen if you decide we need it.