- Issue created by @hestenet
As noted by @alexpott in this review of the announcements feed, the current implementation does not store per-user notification settings, and the mark as read functionality is fairly limited and could be overlooked without a user actually *reading* the content.
I think the code above leads to unexpected behaviour. By marking everything as seen here it means if someone quickly navigates through the announcement page then all of the announcements will be marked as seen. We also have some javascript that pretends to mark the announcement as read but really it only does a visual change. Ideally that would behave more like an inbox mark as read ie. we'd be posting something back to the site to mark the announcement as read.
Also the way the limit behaves feels wrong. If there are 10 announcements and you view the page you'll see all 10. Then if another announcement is posted the last announcement will disappear. If that contained information that you wanted to recall you might be very frustrated that there is no way to view older announcements.
I realise that some of this behaviour has been debated in the contrib module for example https://www.drupal.org/project/announce/issues/3249644 → but the UX of new and limit don't feel right.
However, implementing a proper solution would require:
These are all good things to do, but because there is an outstanding proposal to convert this whole feature to be part of a more modern dashboard implementation, it seems like the next best step might be:
TBD
TBD
TBD
TBD
TBD