Last active
December 20, 2018 22:55
-
-
Save johnfriel/6464dd06e10614522f8d6110a64f5ff2 to your computer and use it in GitHub Desktop.
Artwork
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Artwork | |
| In Progress | |
| New Artwork | |
| prepared -> Prepared but not Approved | |
| approved -> Approved but not Prepared | |
| hidden -> Hidden but not Approved or Prepared | |
| Approved but not Prepared | |
| prepared -> Free to Transact | |
| hidden -> Hidden and Approved but not Prepared | |
| Prepared but not Approved | |
| approved -> Free to Transact | |
| hidden -> Hidden and Prepared but not Approved | |
| Active | |
| Free to Transact | |
| dataScrewedUp -> Approved but not Prepared | |
| requestRental -> Negotiating Rental | |
| requestPurchase -> Negotiating Purchase | |
| artistHides -> Hidden and Approved and Prepared | |
| Rental Flow | |
| Negotiating Rental | |
| rentalAccepted -> In Rental | |
| rentalDeclined -> Free to Transact | |
| In Rental | |
| rentalCompletes -> Free to Transact | |
| Purchase Flow | |
| Negotiating Purchase | |
| purchaseAccepted -> Purchased | |
| purchaseDeclined -> Free to Transact | |
| Purchased | |
| Hidden | |
| Hidden and Approved and Prepared | |
| unHidden -> Free to Transact | |
| Hidden but not Approved or Prepared | |
| unHidden -> New Artwork | |
| Hidden and Approved but not Prepared | |
| unHidden -> Approved but not Prepared | |
| Hidden and Prepared but not Approved | |
| unHidden -> Prepared but not Approved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function render(model){ | |
| let current_state_name = model.active_states[0].name; | |
| return $("h1", | |
| {style: {color: "darkBlue"}}, | |
| `The current state is: ${current_state_name}`); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment