Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement request: Improve feedback when attempting to withdraw without being logged in #269

Closed
sgornick opened this issue May 9, 2023 · 0 comments
Labels

Comments

@sgornick
Copy link

sgornick commented May 9, 2023

If I am logged out but have navigated to the /wallet page and attempt to Withdraw, the message shown will be:

Error: Cannot read property 'id' of null

This gives the user the impression the withdrawal issue is with the Stacker.News website, when it is actually user error.

This occurred, in my instance, on my Android where I switched to my LN wallet (WoS) to get the invoice for my withdrawal to pay. When I switched back to SN, my browser session did not persist, so I was essentially no longer logged in.. This can occur with incognito mode / Private browsing when switching back and forth between the browser and other apps.

This request is to have SN respond with a better error message when a user attempts to withdraw when not logged in. It may even be good to display a warning message when providing a response for GET on /wallet and the user is not logged in / not authenticated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants