Problem/motivation
An Announcements link was added to the 10.2 release of Drupal. The new toolbar redesign doesn’t include an icon for this new link.
Proposed resolution
Use the megaphone icon from the Phosphoricons. Phosphoricons is the library used for the navigation. Two options for an icon were considered, bell and megaphone. We're going with the megaphone by consuses and because the bell could be confused with a Notifications feature, which Announcements is not. Bells are about getting your attention and notifying you about a certain event. A bell icon is the most common image used in the context of notifications across the web as well as operating systems. While a megaphone you are using to "tell something to the world" which is happening here, eg. the Drupal Association is announcing certain details.

| Comment | File | Size | Author |
|---|---|---|---|
| #38 | Safari.png | 195.67 KB | ahsannazir |
| #35 | AfterMR-icon.png | 22.51 KB | kanchan bhogade |
| #35 | BeforeMR-icon.png | 27.81 KB | kanchan bhogade |
| #26 | megaphone-ok.png | 30.85 KB | ckrina |
| #26 | megaphone-wrong.png | 20.81 KB | ckrina |
Issue fork drupal-3418489
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:
- 3418489-choose-an-icon
changes, plain diff MR !7854
1 hidden branch
Issue fork navigation-3418489
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:
- 1.x
changes, plain diff MR !239
Comments
Comment #2
kostyashupenko@ckrina bump
Comment #3
ckrinaThanks! I'll work on this.
Comment #4
ckrinaI think from Phosphoricons (the library used for the navigation) we could go with this 2 options:
A bell:

A megaphone:

I’d go with the megaphone because the bell could be confused with a Notifications feature.
Comment #5
rkollerbig +1 for the megaphone. bells are about getting your attention and notifying you about a certain event plus a bell icon is the most common image used in the context of notifications across the web as well as operating systems. while a megaphone you are are using to "tell something to the world" which is happening here, the drupal association is announcing certain details.
Comment #6
amandeep123 commentedThanks for the suggestion,@ckrina @rkoller! I completely agree that the megaphone better captures the essence of making announcements, aligning perfectly with the purpose of our navigation. Your insight regarding the common association of bells with notifications further solidifies the choice for the megaphone.
I've gone ahead and implemented the megaphone icon for the announcement, creating a patch to reflect this change. Additionally, I'll be submitting a merge request to ensure this improvement is seamlessly integrated.
Comment #8
ckrinaThanks all for the feedback, un-assigning then to let others contribute here. The the icon to implement this changed can be taken directly from Phosphor and adapted. https://phosphoricons.com/?q=%22megaphone%22
@amandeep_lnwebworks thanks for working on this! We don't use patches anymore, we use to contribute MRs :)
You can read how the workflow works at Creating merge requests and a broader guide in Using GitLab to Contribute to Drupal.
Comment #9
amandeep123 commentedComment #10
amandeep123 commentedHy @ckrina,
I have already created MR !239,Please Review It Once.
Thank You.
Comment #11
m4oliveiComment #12
m4oliveiComment #13
ckrinaComment #15
adwivedi008 commented@ckrine @m4olivei
Implemented the suggested changes but got Merge error
Can we resolve this by rebasing with 11.x
Comment #18
m4oliveiThanks @adwivedi008!
The navigation module moved to core rencently in #3438895: Add the new Navigation to core as an Experimental module, so we need to move this MR to be against Drupal core.
I've gone ahead and done that. Unfortunately there was no easy git way to move the commits since they were against two different repos.
Marking this as Needs Review. For me it's looking good!
Comment #19
finnsky commentedI've added comment in MR
Comment #21
ckrinaComment #22
m4oliveiLooks like @finnsky's feedback on cleaning up the SVG was addressed. Moving to Needs Review.
Comment #23
m4oliveiI've tested locally. It's looking good!
Marking RTBC.
Comment #24
xjmWe should probably have @ckrina or another subsystem maintainer sign off on the icon choice and the changeset. Thanks!
Comment #25
xjmOopsie, did not mean to remove the event tag.
Comment #26
ckrinaSorry, small detail! The icon megaphone should be pointing to the other direction, so moving this again to Needs work:
Wrong:

It should actually be:

Comment #28
patrickfgoddard commentedFlipped icon per request (so megaphone is pointing to right). First time using drupalpod, so please excuse if issues with process.
Comment #29
patrickfgoddard commentedComment #30
ckrinaWould it be possible to clean-up&minimize the SVG itself too through a tool like https://jakearchibald.github.io/svgomg/? Sorry I didn't see it sooner :)
Comment #31
rkollerhm i've applied MR7854 and on ltr the announcement icon is still facing to the left for me? and talking of the reading direction. if the icon should point to the right for ltr, should then the icon point to the left for rtl?
Comment #32
patrickfgoddard commentedI think I need to rebuild css. Trying to figure out how to do within Drupalpod now.
Comment #33
ckrinaComment #34
ahsannazir commentedComment #35
kanchan bhogade commentedHi
I've tested MR !7854 on Drupal 11.x
MR is applied cleanly...
The Megaphone icon is added for the Announcements link with the correct direction.
Adding SS for reference
RTBC+1
Comment #36
smustgrave commentedCan the issue summary be updated to include what icon was being chosen and possibly why
Comment #37
rkollerI've applied the latest changes. When I test in Edge in LTR the megaphone points to the right while on RTL i can confirm it points to the left - that is the expected behavior. BUT when i test in Safari (17.4.1 on macOS 14.4.1) it is the other way around, LTR still points to the left and RTL points to the right.
Comment #38
ahsannazir commentedThe issue was happening due to transform property in the svg itself. Fixed the SVG and moved style to stylesheet
Comment #39
smustgrave commented#36 still needs to happen.
Comment #40
m4oliveiUpdated the issue description summarizing comments in favor of using the Megaphone.
Comment #41
m4oliveiComment #42
plopescMR looks good and S has been updated as requested in #36.
Marking as RTBC.
Comment #43
nod_Committed and pushed ebb6a6e331 to 11.x and bf6a394c50 to 11.0.x and 67178dbf06 to 10.4.x and 02b12c1e11 to 10.3.x. Thanks!
Comment #48
nod_