Skip to content
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

Open
wants to merge 22 commits into
base: EP-2517-branded-checkout-improvements
Choose a base branch
from

Conversation

Copy link
Contributor

@wrandall22 wrandall22 left a 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!

src/app/branded/step-1/branded-checkout-step-1.tpl.html Outdated Show resolved Hide resolved
src/app/branded/step-1/branded-checkout-step-1.tpl.html Outdated Show resolved Hide resolved
src/app/branded/step-1/branded-checkout-step-1.tpl.html Outdated Show resolved Hide resolved
src/common/components/Recaptcha/Recaptcha.tsx Outdated Show resolved Hide resolved
src/common/components/Recaptcha/Recaptcha.tsx Outdated Show resolved Hide resolved
src/common/components/loading/loading.scss Show resolved Hide resolved
}))
}

submitOrderInternal () {
Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

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?

Copy link
Contributor

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)

Copy link
Contributor

@wrandall22 wrandall22 left a 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.

src/common/services/api/order.service.spec.js Show resolved Hide resolved
src/common/services/api/order.service.spec.js Outdated Show resolved Hide resolved
src/common/services/api/order.service.spec.js Outdated Show resolved Hide resolved
src/common/services/api/order.service.spec.js Outdated Show resolved Hide resolved
src/common/services/api/order.service.spec.js Outdated Show resolved Hide resolved
src/common/services/api/order.service.spec.js Outdated Show resolved Hide resolved
src/common/services/api/order.service.spec.js Outdated Show resolved Hide resolved
src/common/services/api/order.service.spec.js Outdated Show resolved Hide resolved
@@ -1,3 +1,47 @@
<div class="alert alert-danger" role="alert" ng-if="$ctrl.needinfoErrors || $ctrl.submissionError">
Copy link
Contributor

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.

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.

3 participants