Skip to content

ios: Make notifications "actionable", for mark-as-read etc. #2414

Description

@chrisbobbe

iOS offers a way to provide action buttons on a notification:

https://developer.apple.com/documentation/usernotifications/declaring-your-actionable-notification-types
Image

It would be helpful to offer buttons like "Mark this message as read" and "Mark whole conversation as read". On #2169 (grouping notifications by conversation), a user wrote:

Related and worth considering alongside grouping: notification actions — at minimum mark-as-read/dismiss — so users can do light triage from the lock screen (clear the conversations they can see are low-priority, keep the rest as unread pointers into the app). Today the only options are open-the-app or swipe away notifications with no effect on unreads, which pushes people toward the mute-everything workaround.

Implementation

See API doc linked above.

Prerequisites

We should implement #1847 first. The natural "success" feedback for a mark-as-read button is the notification disappearing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-iOSIssues specific to iOS, or requiring iOS-specific worka-notificationsuser feedbackThings users have specifically asked for

    Type

    No type

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions