Skip to content

Remove RedoDocumentCaptureAction and CancelLinkSentAction#8600

Merged
soniaconnolly merged 1 commit intomainfrom
sonia-lg-10075-delete-doc-auth-actions
Jun 15, 2023
Merged

Remove RedoDocumentCaptureAction and CancelLinkSentAction#8600
soniaconnolly merged 1 commit intomainfrom
sonia-lg-10075-delete-doc-auth-actions

Conversation

@soniaconnolly
Copy link
Contributor

🎫 Ticket

LG-10075

🛠 Summary of changes

Now that HybridHandoff is outside the FSM, we are using redirects rather than FSM actions to go back to that step, so RedoDocumentCaptureAction and CancelLinkSentAction can be deleted. This is a followup to PRs #8557 and #8581.

Feature specs have been moved, not deleted.

📜 Testing Plan

  • Create account, start IdV
  • On DocumentCapture step, upload yaml file with barcode read error
  • Continue to VerifyInfo
  • Click "upload new images" in the banner
  • Expect to go back to HybridHandoff step
  • Choose Send Link
  • Click back
  • Expect to go back to HybridHandoff step
  • Choose Upload Photos
  • On DocumentCapture, upload valid yaml file or photos
  • Continue with IdV, expect no errors

Now that HybridHandoff is outside the FSM, we are using redirects rather than
FSM actions to go back to that step.

Feature specs have been moved, not deleted.

changelog: Internal, Refactor, Remove unused doc_auth flow state machine actions
@soniaconnolly soniaconnolly requested a review from a team June 14, 2023 20:10
Copy link
Contributor

@eric-gade eric-gade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from one inline, code looks good to me. I'm having some trouble testing manually so I've messaged you about it separately on slack

track_event('IdV: doc auth agreement visited', **extra)
end

def idv_doc_auth_cancel_link_sent_submitted(**extra)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these analytics events re-implemented elsewhere or are they not relevant anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They were only used by the actions being deleted, and have been replaced in #8581 with additional params for hybrid_handoff_visited and document_capture_visited.

Copy link
Contributor

@eric-gade eric-gade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: the testing worked for me!

@soniaconnolly soniaconnolly merged commit f425c7d into main Jun 15, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-10075-delete-doc-auth-actions branch June 15, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants