hypercerts icon indicating copy to clipboard operation
hypercerts copied to clipboard

Improve UX for ClaimAllFractionsButton

Open denkeni opened this issue 2 years ago • 1 comments

Describe the feature you'd like to request

For connected wallet of zero balance, the button of "Claim all fractions" will be disabled (code).

That results in :

  • Confusing for EOA wallet users, not showing any errors on the frontend
  • Unusable for smart contract wallet users, when paying gas fee through a third party (ex. ERC-4337 wallet)

Describe the solution you'd like

Remove balance checking (code). Leave the issue for the crypto wallet side.

Describe alternatives you've considered

Improve relevant error handling and message displayed (code).

denkeni avatar Nov 02 '23 11:11 denkeni

The reason we went for this solution is that remarkably many users didn't understand why the transaction got rejected when having no balance. Admittedly, the UX on the reason why this button is disabled can be improved.

This will be worked on as part of the front-end refactor as discussed here: https://github.com/hypercerts-org/HIPs/discussions/5

bitbeckers avatar Apr 08 '24 12:04 bitbeckers