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

Subscribing will stop the button spinner before the subscription is complete #327

Closed
chadyj opened this issue Jan 4, 2024 · 2 comments
Closed
Assignees

Comments

@chadyj
Copy link
Contributor

chadyj commented Jan 4, 2024

Describe the bug
Subscribing will stop the button spinner before the subscription is complete

To Reproduce
Steps to reproduce the behavior:

  1. Visit app.web3inbox.com
  2. Wipe out all localStorage and sessionStorage
  3. Empty cache and hard reload
  4. Enter Vercel password
  5. Connect Wallet
  6. Select WalletConnect
  7. Sign message
  8. Allow Notifications
  9. Expect Subscribed apps from apps that I’ve used
    1. This was the first bug because I saw one app
    2. But I had more subscribed ones and they were missing
  10. Subscribe to PancakeSwap
    1. Subscribed successfully to PancakwSwap
    2. suddenly my other missing subscriptions showed up
  11. Unsubscribe all of them
  12. Empty cache and hard reload
  13. Enter Vercel password
  14. Connect Wallet
  15. Select Metamask
  16. Sign Message
  17. No subscribed apps
    1. This was working fine so no complains here
  18. Subscribe to GM app
    1. This had a spinner on the button itself but it ended too quick
    2. The spinner stopped but the app didn’t show as subscribed
    3. A bit later the app shows as subscribed
  19. Subscribe to PancakeSwap
    1. Same issue as before where the spinner stopped too quickly
    2. An error message showed “subscribe failed”
    3. Later the app showed as subscribed
  20. Did a soft refresh of the page
  21. The Wallet was still connected as expected
    1. However I noticed that I can see the discovery where apps show as unsubscribed
    2. I would expect here for the Discovery view to have a loading state
  22. Tried the settings
    1. Added “display app on discover page”
    2. Typed “robots.farm”
    3. There was no feedback or toast when typing it
    4. This filtered out the other apps on Discovery
    5. Only saw Robots.farm on the Discovery page but expected it to be additive
    6. Then tried typing only “robots.far”
    7. Expected error message or any negative feedback but notihing happened
    8. Visited the discovery page and it was empty

Expected behavior
Spinner will continue

Screenshots
n/a

Additional context
n/a

@chadyj
Copy link
Contributor Author

chadyj commented Jan 5, 2024

Related: WalletConnect/notify-server#259

@enesozturk
Copy link
Contributor

This should be fixed with our previous improvements. As for my recent tests, I cannot reproduce and the subscription status changes as we get the subscribed list update:

Screen.Recording.2024-01-11.at.18.17.28.mov

Ref PR:

cc @chadyj

@chadyj chadyj closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants