Frankencoin-ZCHF / frankencoin-dapp

Frankencoin Web App to interact with the Eco System
https://app.frankencoin.com/
MIT License
1 stars 4 forks source link

Mint page #83

Closed luziusmeisser closed 1 month ago

luziusmeisser commented 1 month ago

This is about how to adjust the mint page that currently looks like this:

image

The url currently has this format: https://app.test.frankencoin.com/position/0x98725eE62833096C1c9bE26001F3cDA9a6241EF3/borrow

I personally would prefer to have the path as follows: https://app.test.frankencoin.com/mint/0x98725eE62833096C1c9bE26001F3cDA9a6241EF3

luziusmeisser commented 1 month ago

Here is how I would revise this dialog:

image
  1. Remove the link "back to position". Instead, there is a line "parent position" in the notes section that links to the position page, e.g. https://app.frankencoin.com/position/0x98725eE62833096C1c9bE26001F3cDA9a6241EF3
  2. Amount field should be pre-filled with the minimum, i.e. minimum collateral * liquidation price
  3. I would tend to have only one place to show the error, namely below the button. Here, the user has insufficient BTC in his wallet.
  4. We can remove the explanation below the collateral field "Valued at...." in the previous screenshot. The minimum will be communicated in the error text when below, the liquidation price is shown in notes.
  5. In the Outcome section, the percentages for sent to the wallet and for the retained reserve should be given. The fee percentage is the same.
  6. We adjust the notes section to show how the effective interest and the loan-to-value shown on the borrow page are calculated.
samclassix commented 1 month ago

Outcome % are dependent on expiration

Screenshot 2024-08-07 at 11 24 11 AM

incl. Bug #100

done.