ArdanaLabs / Ardana-dApps

BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

dUSD Browser - Create Vault UX #83

Open epiro-ps opened 1 year ago

epiro-ps commented 1 year ago

Description

To support the creation of vaults through browser interactions, we need to implement a necessary interface to do so. The purpose of this task is to build out the views defined in the dApps figma.

Acceptance Criteria

As a user interested in opening a vault, I would like to see the following views corresponding to the actions defined in the view state diagram defined below.

Default

Create Vault Layout - Unset

Error

Create Vault Layout - Error

Submitting

Create Vault Layout - Submitting

State Diagram

Screen Shot 2022-11-17 at 5 59 34 PM

Implementation Notes

If possible, we could use an dummy function for opening a vault that just contains a timeout to force the view state to expose the interfaces for testing purposes. Then once the API work for opening a vault is complete, we can swap out the function. If this isn't feasible here then we can find other means to validate the behaviors.