EmerisHQ / demeris

Emeris web app
https://app.emeris.com/
Apache License 2.0
12 stars 2 forks source link

Staking: (Low priority) No option to connect to wallet in final staking route #1013

Open caudurodev opened 2 years ago

caudurodev commented 2 years ago

What is the issue? If the user reaches the staking page and is not connected to his/her wallet there is no option to do so - on this route for example: https://develop--emeris-app.netlify.app/staking/uosmo/stake

How should the issue be resolved? (if known) Turning the button into "connect to wallet" instead of disabled would allow the user to remain in the flow.

image
nassdonald commented 2 years ago

To add a bit more context to this issue, I believe we need to address this more holistically, as it happens in quite a lot of cases where a user is half-way through a flow but they need to connect a wallet to continue, or the state doesn't reset when a wallet is connected (#826).

For example, in the current staking flow, it's actually possible to start the restaking flow, connect a wallet at the "Review" step and even sign a transaction to restake funds you don't have from validators you didn't stake with – obviously the tx will fail at this point.

This is a problem with UX which must be solved by limiting the scope of what's possible in the Demo account mode.

clockworkgr commented 2 years ago

I already fixed the issue you describe on swap on Friday (ie resetting the form if not valid after connecting)...will fix for staking flows too