tbtc-dapp icon indicating copy to clipboard operation
tbtc-dapp copied to clipboard

Make lot sizes inactive in the tbtc dapp if there are not enough operators in pool

Open dnkta opened this issue 5 years ago • 1 comments

Hello everyone,

I have a suggestion for the tBTC dapp.

When someone wants to mint 5 or 10 tBTC and there are not enough operators with ETH available for bonding, currently you can still select 5 or 10 tBTC and go to STEP 2/5 where it says Initiating deposit. Then nothing happens until you check the error log to see that there are not enough operators in pool.

I would suggest to create a check at "Select Lot Size" and if there are not enough operators with ETH available, make the 5 or 10 tBTC option inactive/grayed out.

dnkta avatar Nov 26 '20 12:11 dnkta

Thanks for this suggestion @dnkta, this is indeed a very good idea. I guess some UX challenge is going to be to clearly express why those buttons are greyed out. Also, I am not sure if it is possible to read the required information from the sortition pool 🤔

pdyraga avatar Nov 26 '20 13:11 pdyraga