LG-3605: Remove doc_success step from doc auth flow#4368
Conversation
|
The Or, as @mitchellhenke put it so well last time we encountered similarly:
|
mitchellhenke
left a comment
There was a problem hiding this comment.
😁
looks good to me!
Yeah, it should. Good call 👍 |
There was a problem hiding this comment.
Do we know if any of our reporting consumers rely on this column? Or rely on a specified # of columns?
If so, should we put a 0, -1 or "N/A" there?
There was a problem hiding this comment.
Do we know if any of our reporting consumers rely on this column? Or rely on a specified # of columns?
If so, should we put a 0, -1 or "N/A" there?
I'm not totally familiar with how these are used, so I'd defer to others for specifically how they're used. I wasn't able to find many resources on how these reports are used. Do you know if any exist?
Though, as I look at it again, this may need to stay regardless, because success_view_at corresponds to the CAC flow success step, which is not intended to be removed with these changes†.
So it might instead need to stay as...
| count(COALESCE(doc_success_view_at,success_view_at)) as doc_success, | |
| count(success_view_at) as doc_success, |
† It seems to serve a very similar purpose to the doc auth success step though, so if we're removing one, we should probably remove the other as well. Not something I'd expect to be covered by the current incarnation of the ticket.
There was a problem hiding this comment.
Restored this for success_view_at in 0857bcc, so we're only disregarding the now-removed doc_success_view_at column.
Could still do for a second set of eyes (@stevegsa or yourself) to confirm though.
There was a problem hiding this comment.
Unfortunately, I don't have a good sense of how these are used, Chris and Silke had workflows for these but they've left the project so I don't know who looks at them now 😬
There was a problem hiding this comment.
The metrics will still work for the other steps after doc_success so it's ok to take it out in both instances (cac and doc_auth). I don't think there are any queries where we specifically check doc_success other than just reporting that step in the funnel. After this change we can just remove that step in the funnel. Then the people that make it to phone screen should still be the same but it would necessarily imply that they succeeded the verify step.
There was a problem hiding this comment.
Thanks @stevegsa . If I read correctly, it sounds like we'll want to (or are at least covered in reporting) to remove both the DocSuccessStep and Cac::Success steps. Since this ticket only accounted for the first of these, I'll plan to keep everything as-is for the CAC success step, and open a ticket to explore its removal in the future (UX feedback, etc).
Let me know if I've misunderstood or if there are any concerns to do this separately.
anniehirshman-gsa
left a comment
There was a problem hiding this comment.
Screenshot looks good! With the caveat that the margin below the success alert should match other success alerts in the flow (it looks like it does from the image, just double-checking). Thanks!
**Why**: As a user, I don't want the Social Security number/personal information success step to look like the end of the flow, so that I am not frustrated when I realize I am not done. Instead, I want to see feedback that my personal information was verified and go directly to the next step.
0857bcc to
b84c479
Compare
There is a bit of inconsistency here, due to the fact that the alerts we use elsewhere in the IDP are custom (not USWDS). I didn't use the same approach here as with the alert added in #4165 (LG-3267) since there appear to be multiple paths which can lead to this phone screen, some of which need to show their own alerts or error texts (e.g. invalid phone number, phone confirmation failure, etc). Ideally we update all alerts to use USWDS and eliminate this custom variant, which I hoped to capture in LG-3711. As a short-term solution, I could imagine one of:
I'll plan to think on this a little more. |
| click_on 'Continue' | ||
| expect(page).to have_current_path('/verify/doc_auth/doc_success') |
There was a problem hiding this comment.
Just ran into a smoke test flake and I'm very glad we're updating this here :]
There was a problem hiding this comment.
Just ran into a smoke test flake and I'm very glad we're updating this here :]
I don't know that I'd have a ton of confidence that this won't just flake on the next screen, but at least one fewer assertion that can go awry. 😄
I created #4375 to correspond to the second option. The third option is the next best bet, if we'd rather not deal with potential fallout from updating flash alerts across the application. The other two seem to be hacking around the problem of something we'll eventually want to address anyways (i.e. increase technical debt). |
|
Also, for what it's worth, the notice we're showing here is the same as currently shown in further steps. Which is technically not USWDS (yet, 'til #4375), but at least consistently inconsistent 🤷 |
|
Thanks, this all sounds good! I dug in a bit today, and if the bottom margin is (There may actually be an inconsistency on other success alerts I need to clean up elsewhere, but that's for another day, another PR.) |
Yeah, unfortunately there's inconsistency any way we look at it, since all doc auth flow steps except document capture and the hybrid flow confirmation screen use the custom non-USWDS alerts. The changes here fall in line with those other steps. #4375 can push us closer to having consistent USWDS alerts. It sounds to me like we're fine to leave that as a separate task from this one, but I wanted to make sure to at least get that one prepared to avoid contributing to the technical debt. |

Why: As a user, I don't want the Social Security number/personal information success step to look like the end of the flow, so that I am not frustrated when I realize I am not done. Instead, I want to see feedback that my personal information was verified and go directly to the next step.
This removes the
doc_successstep of thedoc_authflow, including associated funnel reporting database columns (cc @stevegsa).The acceptance criteria "Use success alert component in login.gov design system" is not reflected here, due to the fact that IDP flash uses custom alert styling. I've created LG-3711 as a follow-on task.