Re: [Push API] Fine-grained unsubscription

2016-04-05 Thread Marco Colli
If you show some pieces of information to the user when he allows the
notifications he won't remember that when he unsubscribes.

However the point really is to remember to the user that he can turn off
some notifications through the website and not necessarily all. This is
exactly how it works for emails. When you click the "Unsubscribe" link many
times you have the option to unsubscribe only partially.

2016-04-04 23:40 GMT+02:00 Jonathan Garbee <jonathan.gar...@gmail.com>:

> I come across the "Are You Sure?" when unsubscribing from email lists a
> lot. I don't think it is something we should allow, it is annoying and
> sounds condescending to people. I'm making a choice to press this thing, i
> mean it.
>
> I think it is best if sites simply offer notification preferences in their
> settings and when a user initially allows for notifications then you alert
> them that the preferences exist to control which ones you send.
>
> I think what is currently offered is right, if the user chooses to
> opt-out, just let them without friction. It is up to sites to not spam
> users with unwanted notifications anyways, not for users to prune what
> types they see to not be notified as much.
>
> On Mon, Apr 4, 2016 at 3:39 PM Marco Colli <collimarc...@gmail.com> wrote:
>
>> Currently the user can turn off notifications for a website directly from
>> the browser. When he unsubscribes all notifications from that website are
>> turned off.
>>
>> However, it is a common practice (for example with email) to allow the
>> user to turn off only some topics (i.e. fine grained preferences). I think
>> this is a must for push notifications too.
>>
>> A simple way to implement this would be to add an editPreferencesUrl
>> option to the pushManager.subscribe(). Then, when the user clicks the wheel
>> to turn off push notifications sees two options: "Turn off all
>> notifications" and "Manage push preferences on the website". When he clicks
>> the latter is sent to the editPreferencesUrl on the website.
>>
>> It would also be very useful to be able to display a custom message
>> before the unsubscription happens. That message can appear above the
>> unsubscribe actions.
>>
>> Another option would be to have a callback *before* the unsubscription:
>> that callback can show a single prompt to the user with a custom message
>> (e.g. "Are you sure? Remember that you can visit example.com if you want
>> to turn off only some notifications").
>>
>>
>> Marco Colli
>> Pushpad (https://pushpad.xyz)
>>
>


[Push API] Fine-grained unsubscription

2016-04-04 Thread Marco Colli
Currently the user can turn off notifications for a website directly from
the browser. When he unsubscribes all notifications from that website are
turned off.

However, it is a common practice (for example with email) to allow the user
to turn off only some topics (i.e. fine grained preferences). I think this
is a must for push notifications too.

A simple way to implement this would be to add an editPreferencesUrl option
to the pushManager.subscribe(). Then, when the user clicks the wheel to
turn off push notifications sees two options: "Turn off all notifications"
and "Manage push preferences on the website". When he clicks the latter is
sent to the editPreferencesUrl on the website.

It would also be very useful to be able to display a custom message before
the unsubscription happens. That message can appear above the unsubscribe
actions.

Another option would be to have a callback *before* the unsubscription:
that callback can show a single prompt to the user with a custom message
(e.g. "Are you sure? Remember that you can visit example.com if you want to
turn off only some notifications").


Marco Colli
Pushpad (https://pushpad.xyz)