Skip to content

Desktop notifications: ask for notification permission only when saving the form #247

@julianbrost

Description

@julianbrost

When enabling the desktop notifications in the user settings, the site asks for the notification permission immediately. However, to actually enable the feature, you still have to save the updated settings. I failed to do so for the second time now because asking for the permission felt like the feature was already activated and I continued without explicitly saving and wondered why it didn't work. I think this could be improved by simply delaying the permission request until the save button is clicked (or maybe until the next page is loaded where it actually subscribes to the event stream).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions