Problem/Motivation
The new Announcements feed (created as part of the 'Project messaging in core initiative') is being added to Drupal core as an experimental module, using a toolbar based feed user interface.
However, in the time that this initiative has been underway, a new proposal for a modern dashboard has been developed: #3244581: Enhance user experience with customizable dashboards
Proposed resolution
As the dashboard concept is developed, move the announcements UI elements from the toolbar into a block on the dashboard.
Remaining tasks
- Wait for initial development of dashboard concept
- Migrate feed display into dashboard content (likely a block?)
- Check caching and cron behaviors and make sure they are integrated with similar patterns for other dashboard items
- Full usability review
- Full accessibility review
User interface changes
- Announcement content moves from a toolbar to a block on the dashboard
- The 'notification' bell should probably remain, but perhaps might be superceded by a notification bell for any changes to the dashboard, not just to this feed.
API changes
n/a
Data model changes
n/a
Release notes snippet
The Drupal Announcements feed has been moved from a toolbar into the new Drupal dashboard interface. [TBA]
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | Screenshot 2023-10-23 at 10.23.15.png | 152.77 KB | fjgarlin |
Issue fork drupal-3349394
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3349394-convert-announcements-feed
changes, plain diff MR !5073
Comments
Comment #2
hestenetComment #3
hestenetPostponed on further progress on: #3244581: Enhance user experience with customizable dashboards
Comment #5
plopescIn order to integrate announcements feed into the dashboard, #3375851: Provide a block with DA announcements was created.
It provides a block and some tests in the attached patch.
Would be great to include this new block as part of the announcements module.
That would be the 1st step to integrate it within dashboards as soon as they are available.
What do you think?
Comment #6
fjgarlin commentedI'll comment on the issue. Thanks for linking it here.
Comment #8
plopescThank you for the quick response!
Created MR with 1st approach to include the Announcements block in the module.
Thanks!
Comment #9
fjgarlin commentedThis is a great refactoring into a reusable service, leaving both the controller and the block definition in a very clean way. Thanks for adding additional tests as well for the new service and the block. The new changes make the announcements be available as a block as well.
I reviewed the code and couldn't find anything to report, so it looks good from my end. I also tested the new block via the UI using block layout and it looks good. I tested logged in and logged out too.

Tests are passing for both DrupalCI and GitLabCI.
Marking this RTBC.
Comment #10
lauriiiPosted a minor nitpick on the MR. Feel free to move back to RTBC after addressing the feedback.
Comment #11
penyaskitoWe should provide credit also to friera, who worked initially on this as part of the dashboard initiative: https://www.drupal.org/project/3327580/issues/3375851
Comment #12
fjgarlin commentedRTBC based on #10 as the changes were addressed.
Comment #16
lauriiiCommitted 529c793 and pushed to 11.x. Also cherry-picked to 10.2.x. Thanks!