wp-feature-notifications
wp-feature-notifications copied to clipboard
Send back the notifications that have been read
Part of #30
~~After opening the Notifications Hub, every notifications in the current list should be considered as 'read'.~~ See https://github.com/WordPress/wp-notify/issues/35#issuecomment-758017970
So we need to send a call to the back-end to update their status for the current recipient.
This may need for an endpoint / AJAX script to be defined first.
Blocked by #31 , #37
Note here that's not the case. Per latest design (see #23) items are marked as read either:
- By clicking on them
- By clicking "Mark all as read"
When the menu opens it should not clear notifications.