Agoric / dapp-inter

User application for Agoric Inter Protocol—Vaults, BLD Boost, Liquidations, etc.
2 stars 10 forks source link

User doesn't know minimum initial debt when creating a vault #97

Closed otoole-brendan closed 1 year ago

otoole-brendan commented 1 year ago

What is the Problem Being Solved?

When a user is creating a new vault, if they enter desired IST to mint value that is less that the defined minimum initial debt per governed parameter - they get a 'Below Minimum' error. It is not that informative however as user does not know min value they need to enter unless they play around. We should inform user what the minimum value is so they can adjust accordingly.

Description of the Design

Security Considerations

N/A

Test Plan

Will be smoke-tested

samsiegart commented 1 year ago

@otoole-brendan The message is a bit too long to fit comfortably, what about just "X minimum"?

otoole-brendan commented 1 year ago

Latest per https://agoricopco.slack.com/archives/C038TM0EUKG/p1680553358582629?thread_ts=1680545521.231489&cid=C038TM0EUKG agreed on 'Below minimum of X'. But punting to V+1