nextcloud / nextcloud/news-android

Notifications should stay hidden once they are dismissed

Open
#974 2 comments 1 reaction 0 assignees View on GitHub
enhancement feature :: notifications
Dominant language
Java
Stars
764
Forks
262
Avg merge
1d 13h
Merged PRs (30d)
13

Description

Given you get a notification about `A` and you swipe it away to dismiss it, and a new notification `B` arrives, i'd expect **only** `B` to be shown.
Currently it shows `A` **and** `B` which is nagging because the notification recurs apparently on each synchronization.

Attention: The "Mark as read" action of the notification must only be applied to the notifications that are shown, so given you dismissed `A`, it should only not appear in the notifications again - the state is still `unread`. Given `B` arrives, and we trigger the "Mark as read" action in the notifications, only `B` must be set to `read`.

cc @desperateCoder

Update: The wording of the notification action should of course be `Mark as read` instead of `Mark all as read`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.