Skip to content

"Mark as read?" confirmation dialogs should acknowledge muted messages #2030

@chrisbobbe

Description

@chrisbobbe

For our initial solution to

we'll show a confirmation dialog with text like "26 messages will be marked as read." If the view contains muted messages, they won't appear in the message list, and the count in that dialog won't include them. However, on tapping the confirm button, they will be marked as read, just like the visible, unmuted messages.

We should change the message to say something like the following (cc @alya 🙂) depending on whether there are muted and/or unmuted unreads:

  • When none are muted: "26 messages will be marked as read."
  • When some are muted: "10026 messages will be marked as read, including 10000 muted messages." (A high number like that would be common for me in the combined feed.)

Implementation

The Unreads model will need to offer unread counts that include all unreads in a given narrow, including muted unreads.

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-msglistThe message-list screen, except what's label:a-content

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions