-
Notifications
You must be signed in to change notification settings - Fork 1
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
EP-2518 Remove ConfirmationStep #1119
base: EP-2517-branded-checkout-improvements
Are you sure you want to change the base?
EP-2518 Remove ConfirmationStep #1119
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still have a lot of digging to do, but figured I'd give an initial pass. Good job so far!
})) | ||
} | ||
|
||
submitOrderInternal () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to dig deeper, but I'm hoping I can find a way to not have to recreate this logic here by including step-3 on this step-1 page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure it's possible, but there will be more branching in step-3
. The tricky part will be changing step-3
to accept a new prop that lets us save the 3 forms and wait for them to finish saving before doing the submission.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or we could possibly do the handling of the 3 forms in an intermediary, invisible-to-the-user step?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess, step-3 itself has review data in the template, so we probably don't want to use it directly; however, it might make sense to refactor the common logic out to a service and use it in both places (step-3 and branded-step-1)
Co-authored-by: Caleb Cox <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got a start on the review, a few minor things to change so far. Will try to get more done tomorrow.
@@ -1,3 +1,47 @@ | |||
<div class="alert alert-danger" role="alert" ng-if="$ctrl.needinfoErrors || $ctrl.submissionError"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we were going to put these error messages in a separate component.
https://jira.cru.org/secure/RapidBoard.jspa?rapidView=126&view=detail&selectedIssue=EP-2518&sprint=1285#