Implement Segmented Workflows 61/65861/5
authorSawyer Bergeron <sawyerbergeron@gmail.com>
Fri, 14 Dec 2018 21:05:47 +0000 (16:05 -0500)
committerSawyer Bergeron <sawyerbergeron@gmail.com>
Thu, 3 Jan 2019 15:34:13 +0000 (10:34 -0500)
commit4df434cdfb42b7afac3f8a4781c4aa0a3005d092
treeccdd7c5b93e91f5ae8d30819fa6d09d1bf950c7f
parent74923100444ad669f63293466880ac59b05f5585
Implement Segmented Workflows

A major source of bugs has been how we've approached inlining
workflows. We no longer inline them as of this commit, and instead
use a stack structure. This commits the result of workflows to the
database before other workflows try to read them, so we don't have
to maintain a code path for when something is or isn't committed
to db.

This patchset allows for workflows to pass limited information
to preset selections

Change-Id: I3d040c7f3024c7420017ae4ec66a23219303dcb6
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
13 files changed:
dashboard/src/templates/booking/steps/booking_meta.html
dashboard/src/templates/dashboard/searchable_select_multiple.html
dashboard/src/templates/workflow/confirm.html
dashboard/src/templates/workflow/exit_redirect.html [new file with mode: 0644]
dashboard/src/templates/workflow/no_workflow.html
dashboard/src/templates/workflow/viewport-base.html
dashboard/src/workflow/booking_workflow.py
dashboard/src/workflow/forms.py
dashboard/src/workflow/models.py
dashboard/src/workflow/sw_bundle_workflow.py
dashboard/src/workflow/views.py
dashboard/src/workflow/workflow_factory.py
dashboard/src/workflow/workflow_manager.py