You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain window sizes cause a problem displaying the "error" notification when trying to use Uphold rewards in a region without support (ex. NY). From what I've observed, in this case the error flashes on screen but doesn't persist. This then puts the user into a bad state because they haven't been given the error, so they have no information. If they click on "Verify Wallet" nothing happens on screen - basically it appears as though the integration is broken.
Note - in the terminal logs you do see this when clicking on Verify Wallet
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me
> Method: UrlMethod::GET
[15114:775:0929/074839.490957:INFO:uphold_wallet.cc(89)] BAT not allowed
Steps to Reproduce
Clean profile, staging, enable Rewards. Note your window size.
Claim UGP grant.
Click on Verify Wallet.
Login with credentials for an NY account.
You will be redirected back to brave://rewards page
Actual result:
when window size is 1013px tall and 1200px wide (my default window size) the error message flashes and goes away quickly. Note how clicking on Verify Wallet doesn't do anything from brave://rewards and clicking on this from the panel opens a blank new tab. User is in a bad state at this point. (gif picks up at step 4 from above)
it's tough to see in the above gif, but here's a slightly different window size where you can see the flash of the error a bit better:
Expected result:
If I size the window down (to 699px tall by 928 px wide), no issues with error message displaying:
Description
Certain window sizes cause a problem displaying the "error" notification when trying to use Uphold rewards in a region without support (ex. NY). From what I've observed, in this case the error flashes on screen but doesn't persist. This then puts the user into a bad state because they haven't been given the error, so they have no information. If they click on "Verify Wallet" nothing happens on screen - basically it appears as though the integration is broken.
Note - in the terminal logs you do see this when clicking on
Verify Wallet
Steps to Reproduce
Actual result:
when window size is 1013px tall and 1200px wide (my default window size) the error message flashes and goes away quickly. Note how clicking on
Verify Wallet
doesn't do anything from brave://rewards and clicking on this from the panel opens a blank new tab. User is in a bad state at this point. (gif picks up at step 4 from above)it's tough to see in the above gif, but here's a slightly different window size where you can see the flash of the error a bit better:
Expected result:
If I size the window down (to 699px tall by 928 px wide), no issues with error message displaying:
Reproduces how often:
easily depending on window size
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
cc @NejcZdovc @brave/legacy_qa @rebron
The text was updated successfully, but these errors were encountered: