Problem/Motivation

If the user uploads an image, the user menu still shows the icon.

Proposed resolution

If the user fills the user field Picture, the user item on the menu should show the user picture.

After adding #3436526: Adjust custom navigation logo dimensions on upload, the same image style can be reused to create the image.

CommentFileSizeAuthor
user-menu-icon.png24.72 KBckrina

Comments

ckrina created an issue. See original summary.

m4olivei’s picture

Title: Add the user image to the user menu when available » [PP-1] Add the user image to the user menu when available
Status: Active » Postponed
Related issues: +#3441118: Add the user image to the user menu when available

Postponing pending investiagtion on [#].441118

m4olivei’s picture

Title: [PP-1] Add the user image to the user menu when available » [PP1] Add the user image to the user menu when available
ckrina’s picture

Project: Navigation » Drupal core
Version: 1.x-dev » 11.x-dev
Component: Code » navigation.module
aaronmchale’s picture

In comment #2 it looks like this issue is postponed on itself, is that correct?

xmacinfo’s picture

I would expect to see the user image in the expanded panel, at the top (above or below the user name), inside or near the div toolbar-popover__header.

As for the main navigation, I consider that consistency is better. So in short, for the main navigation menu footer, I prefer the statu quo; using the current icon/text.

catch’s picture

Title: [PP1] Add the user image to the user menu when available » Add the user image to the user menu when available
Status: Postponed » Active

Personally like having the consistent/minimalist icons/look here, but it's not up to me.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.