lbry-desktop/ui/redux/reducers
infinite-persistence 1e4c79cf06 Don't clear all notifications when only 1 is clicked.
## Issue:
Closes 5515: All videos marked as read when clicking a single notification from notification list

## Change:
- Augment `doReadNotifications` to only clear the given IDs. If the argument is `null` or is not a valid array (e.g. when used as a click handlers, the click event object is passed in), all notifications will be cleared.

- Augment `NOTIFICATION_READ_COMPLETED` to only clear the given IDs.

## Notes:
- Wasn't sure of the API will fail if the ID is invalid, so I start from `unreadNotifications` first, then only filtering it further with the given ID. Otherwise, we could just skip the `unreadNotifications` filtering.
2021-03-08 11:41:04 -05:00
..
app.js add initial support for comment API outside of SDK 2021-02-11 10:45:34 -05:00
blocked.js New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
comments.js New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
content.js refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
notifications.js Don't clear all notifications when only 1 is clicked. 2021-03-08 11:41:04 -05:00
reactions.js add file reactions code from odysee 2020-10-02 15:28:00 -04:00
rewards.js add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
search.js wunderbar improvements 2020-12-03 12:39:12 -05:00
settings.js Make zoom level persistent on Desktop 2021-01-26 10:20:59 -05:00
subscriptions.js per channel notification settings 2020-11-02 14:13:13 -05:00
sync.js Don't hard fail on sync set error 2020-11-14 01:17:26 -05:00
tags.js sync reducer stuff 2020-10-27 10:17:11 -04:00
user.js Clear 'passwordSet*' flags too in USER_PASSWORD_SET_CLEAR 2020-09-15 12:52:12 -04:00