HathorNetwork / hathor-wallet-mobile

Hathor official mobile wallet
https://hathor.network/
MIT License
24 stars 22 forks source link

Add negative option for users in push notification's opt-in model #429

Open alexruzenhack opened 7 months ago

alexruzenhack commented 7 months ago

In the current implementation we only provides a positive option "Yes, enable". The negative feedback is done by dismissing the modal. But is this the correct UX? Should be add a negative option like "No"?

anafigueired commented 7 months ago

Normally, when there is an opt-in for push notifications, there is the option to 'Allow' and 'Don't Allow' (e.g., Apple notifications for apps).

In this case, I think we should have both options available so the user feels more secure and in line with the guideline of giving the user control over their notifications. Seeing only one option might lead them to think it's the only one available.

Moreover, since there isn't an 'X' on the modal for dismissibility, the only option is clicking outside, which doesn't visibly present a 'no' option at first glance.

So, it would be more prudent to have 'Allow' and 'Don't Allow', but, following the tone of voice we communicate with and answering the question in the modal title: 'Yes, enable' and 'No, not now'. - the second one using a secondary button.

pedroferreira1 commented 7 months ago

I like @anafigueired's comment, it's aligned with what I proposed at first. We can create the issue and handle this as a KTLO later.