lbry-desktop/ui
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
..
component Add SITE_HELP_EMAIL in strings to ease Odysee string merge and maintenance. 2021-03-08 11:33:33 -05:00
constants re-unify icons with master 2021-03-08 11:08:23 -05:00
effects fix bad lighthouse results 2021-01-28 15:35:15 -05:00
modal New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
page Add SITE_HELP_EMAIL in strings to ease Odysee string merge and maintenance. 2021-03-08 11:33:33 -05:00
redux Don't clear all notifications when only 1 is clicked. 2021-03-08 11:41:04 -05:00
scss Move videojs sass file 2021-03-05 16:51:45 -05:00
util increase file thumbnail size in cdn url 2021-03-05 16:51:38 -05:00
analytics.js buffer id 2021-01-05 16:29:04 -05:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
i18n.js zh languages 2021-01-11 10:30:26 -05:00
index.jsx When a new reward is acquired, only close modals if the reward comes from reward_code 2021-01-08 08:16:41 -07:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
reducers.js sync reducer stuff 2020-10-27 10:17:11 -04:00
rewards.js When a new reward is acquired, only close modals if the reward comes from reward_code 2021-01-08 08:16:41 -07:00
store.js New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00