WalletConnect / gm-dapp

dapp publishing example of WalletConnect Push
https://gm.walletconnect.com
MIT License
9 stars 2 forks source link

Show subscription status when there is an active subscription #14

Open chadyj opened 1 year ago

chadyj commented 1 year ago

Problem

As a user, I have an existing GM subscription, then connect to gm.walletconnect.com, and the UI says "subscribe to gm". This is confusing because I thought I already had a subscription. I click "subscibe" and there is an error "user has an existing subscription".

This is bad UX as the user should be informed of their subscription, and be given appropriate actions such as "unsubscribe" or "manage"

To repro:

Note:

Solution

Show an unsubscribe/manage button, or some text like "you are subscribed".

chadyj commented 1 year ago

Some more context:

Screenshot shows 2 different browser tabs. 1 is incognito, and 1 has been previously used. Both show different states after connecting with auth.

Note: The user is stuck when using an incognito window. The user cannot subscribe again, so they are in a bad state.

Screenshot 2023-07-14 at 15 12 34

devceline commented 1 year ago

This is a limitation that would be resolved if gm-dapp had push client with history - however, since we're getting rid of dapp client, I don't see this as a priority.

Subscribing will be done with the widget, which would detect if you were subscribed in incognito mode due to the fact it's powered by history api