-
-
Save johnfriel/0d02c4b76e8bc1e51cf2afec79db9b18 to your computer and use it in GitHub Desktop.
Rental and Purchase Lifecycle v1
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
| Rental and Purchase Lifecycle v1 | |
| Potential Transaction | |
| collectorRentalRequest -> Pending Artist Rental Approval | |
| collectorPurchaseRequest -> Pending Artist Purchase Approval | |
| Pending Artist Rental Approval | |
| artistDecline -> Rental Declined | |
| artistAccept -> Pending Initial Handoff | |
| artistChange -> Pending Collector Rental Approval | |
| collectorCancel -> Cancelled | |
| requestExpire -> Request Expired | |
| Pending Collector Rental Approval | |
| collectorCancel -> Cancelled | |
| collectorAccept -> Pending Initial Handoff | |
| collectorChange -> Pending Artist Rental Approval | |
| Pending Artist Purchase Approval | |
| artistDecline -> Purchase Declined | |
| artistAccept -> Purchased but Pending Handoff Negotiation | |
| collectorCancel -> Potential Transaction | |
| requestExpire -> Request Expired | |
| Pending Initial Handoff | |
| artistConfirm -> Only Artist Confirmed Initial Handoff | |
| collectorConfirm -> Only Collector Confirmed Initial Handoff | |
| artistDeny -> Only Artist Denied Initial Handoff | |
| collectorDeny -> Only Collector Denied Initial Handoff | |
| Only Artist Confirmed Initial Handoff | |
| collectorConfirm -> Renting but Pending Return Negotiation | |
| collectorDeny -> Dispute Over Initial Handoff Occurrence | |
| Only Collector Confirmed Initial Handoff | |
| artistConfirm -> Renting but Pending Return Negotiation | |
| artistDeny -> Dispute Over Initial Handoff Occurrence | |
| Only Artist Denied Initial Handoff | |
| collectorConfirm -> Dispute Over Initial Handoff Occurrence | |
| collectorDeny -> Initial Handoff Failed | |
| Only Collector Denied Initial Handoff | |
| artistConfirm -> Dispute Over Initial Handoff Occurrence | |
| artistDeny -> Initial Handoff Failed | |
| Dispute Over Initial Handoff Occurrence | |
| adminDecideHandoffOccurred -> Renting but Pending Return Negotiation | |
| adminDecideHandoffFailed -> Initial Handoff Failed | |
| Initial Handoff Failed | |
| artistDecline -> Rental Declined | |
| collectorCancel -> Cancelled | |
| artistSuggest -> Pending Collector Rental Approval | |
| collectorSuggest -> Pending Artist Rental Approval | |
| Renting but Pending Return Negotiation | |
| collectorExtend -> Pending Artist Extension Approval without Return in Place | |
| collectorPurchase -> Purchased | |
| collectorSuggestReturn -> Return Pending Artist Approval | |
| artistSuggestReturn -> Return Pending Collector Approval | |
| Pending Artist Extension Approval with Return in Place | |
| artistAccept -> Renting but Pending Return Negotiation | |
| artistDecline -> Renting with Confirmed Return Handoff | |
| Pending Artist Extension Approval without Return in Place | |
| artistAccept -> Renting but Pending Return Negotiation | |
| artistDecline -> Renting but Pending Return Negotiation | |
| Return Pending Artist Approval | |
| artistAccept -> Renting with Confirmed Return Handoff | |
| artistChange -> Return Pending Collector Approval | |
| Return Pending Collector Approval | |
| collectorAccept -> Renting with Confirmed Return Handoff | |
| collectorChange -> Return Pending Artist Approval | |
| Renting with Confirmed Return Handoff | |
| collectorExtend -> Pending Artist Extension Approval with Return in Place | |
| collectorPurchase -> Purchased | |
| rentalCompleted -> Rental Completed | |
| Rental Declined | |
| reset -> Potential Transaction | |
| Purchase Declined | |
| reset -> Potential Transaction | |
| Cancelled | |
| reset -> Potential Transaction | |
| Request Expired | |
| reset -> Potential Transaction | |
| Rental Completed | |
| reset -> Potential Transaction | |
| Purchased but Pending Handoff Negotiation | |
| collectorSuggestHandoff -> Purchased Pending Artist Handoff Approval | |
| artistSuggestHandoff -> Purchased Pending Collector Handoff Approval | |
| Purchased Pending Artist Handoff Approval | |
| artistAccept -> Purchased | |
| artistChange -> Purchased Pending Collector Handoff Approval | |
| Purchased Pending Collector Handoff Approval | |
| collectorAccept -> Purchased | |
| collectorChange -> Purchased Pending Artist Handoff Approval | |
| Purchased |
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