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

Stub out checkout subflows #147

Closed
jimbo opened this issue Jul 12, 2018 · 0 comments
Closed

Stub out checkout subflows #147

jimbo opened this issue Jul 12, 2018 · 0 comments
Assignees
Milestone

Comments

@jimbo
Copy link
Contributor

jimbo commented Jul 12, 2018

This issue is for the following packages:

[x] venia-concept
[ ] pwa-buildpack
[ ] peregrine
[ ] pwa-module
[ ] pwa-devdocs

This issue is a:

[ ] Bug
[x] Feature suggestion
[ ] Documentation issue
[ ] Other (Please Specify)

Description

Related to #68.

As designed, the checkout workflow consists of three subflows. Future iterations could include more, fewer, or different subflows. Current subflows:

  • Shipping address
  • Billing address
  • Shipping method

A subflow is a workflow that spawns from and returns to the main checkout workflow. The purpose of a subflow is to collect, validate, and save user input. In the current design, subflows operate as modal experiences; control passes from the main workflow to the subflow, then returns to the main workflow when the subflow is complete. In a future design or at an alternate breakpoint, subflows could operate differently; for example, all subflows could be present simultaneously on a single page, and operate on an inline basis rather than a modal one.

Expected result:

Subflow state will be stored in the checkout reducer, and clicking each section of the checkout form will spawn the appropriate subflow. This issue only expects these subflows to exist as stubs; they do not need to contain content or be usable at this point.

@jimbo jimbo self-assigned this Jul 12, 2018
@jimbo jimbo added this to the Sprint 20 milestone Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants