uber-common / cadence-samples

Other
191 stars 92 forks source link

Feature/pageflow ui #39

Closed just-at-uber closed 3 years ago

just-at-uber commented 3 years ago

This cadence sample workflow demonstrates how to use Cadence workflow to power UI application through a series of state transitions.

The artificial use case started by creating a proposal workflow, and then going through content revision, approval/rejection phases.

User interactions are implemented through workflow signals, and the latest workflow state can be fetched through workflow query.

To run

Follow README.md to run the UI & worker. You will need node v14 to run the node server. You will also need cadence server running separately.

Screenshots

Home page

Screen Shot 2021-03-29 at 11 47 18 AM

Create product page

Screen Shot 2021-03-29 at 11 47 40 AM

Product already exists

Screen Shot 2021-03-29 at 11 49 00 AM

Product page (created)

Screen Shot 2021-03-29 at 11 47 59 AM

Product/Review split page (submitted)

Screen Shot 2021-03-29 at 11 48 10 AM

Product approved page (approved)

Screen Shot 2021-03-29 at 11 48 24 AM

Withdrawn page (withdrawn)

Screen Shot 2021-03-29 at 11 48 50 AM

Cadence workflow (cadence-flow - approved)

Screen Shot 2021-03-29 at 11 49 29 AM

Cadence workflow (cadence-flow02 - withdrawn)

Screen Shot 2021-03-29 at 11 49 40 AM
CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.