Closed ebma closed 4 weeks ago
Name | Link |
---|---|
Latest commit | 000204f0c1466844542801588edbd1d27fbd01b1 |
Latest deploy log | https://app.netlify.com/sites/rococo-souffle-a625f5/deploys/665d88f59dc706000894c9f0 |
Deploy Preview | https://deploy-preview-477--rococo-souffle-a625f5.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
I left the 'My pool balance: 0' at the backstop pool because I thought it might look weird because it's so empty otherwise. But I can remove that too, no problem.
Please check again @prayagd
@ebma the text "My pool balance" also went away, no worries lets merge. This is for the testnet campaign anyway
Wait, I thought that's how you wanted it to look like? 😅 At least that's exactly what I changed it to. Did you expect something else? I can also change it again.
"My pool balance"
@ebma oh sorry for the confusion. just show this text back, that's it
Out of the three options we have: 1) Show 'My pool balance: 0' 2) Don't show 'My pool balance' at all 3) Only show 'My pool balance' but without an actual number after it
Isn't option 3) the most confusing? 😅
If there is nothing the user can do on that page, without connecting their wallet, then that's where we should be sending them (and so should be what they see).
References from other DEXes
HydraDX's Wallet Page:
Pablo's portfolio view
Both dApps:
My Pool Balance
Specifically on the options:
Since my suggested solution might require some more work, can the immediate solution just be that the animation is made static, everything else remaining the same? See HydraDX's wallet view without connecting wallet for reference.
I suggest: remove "My pool balance" as @ebma did and just add a "Connect Wallet" button instead. Don't we have a component for this and adding such a button is a trivial change?
Thanks for providing some references. Personally, I think it's fine the way it is now with not showing anything related to balances as long as no wallet is connected. I can add the change @TorstenStueber suggested and instead make the button for depositing/swapping prompt to connect a wallet account instead. The same is already done when you go to the Spacewalk issue/redeem dialog without being connected to a wallet.
Sounds good, so both buttons become Connect Wallet, when the user connects wallet, the My Pool Balance appears with the correct amount.
I changed it so that all Nabla primary action buttons are replaced with 'Connect to Wallet'. And I added the change to make the wallet account selection scrollable.
@ebma looks good we can merge, checked all the buttons and all the connect wallet buttons work and open the pop-up
I replaced all related loaders I could find with just 'nothing' expect for the Backstop Pool screen where 'My pool balance' now shows
0
if no account is connected.Closes #469.