Make WordPress Core

Opened 10 years ago

Closed 8 years ago

#28182 closed enhancement (fixed)

Profile edit - display name more prominently

Reported by: seanchayes's profile seanchayes Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version: 3.9
Component: Users Keywords: has-patch
Focuses: ui, administration Cc:

Description

When adding / editing many users or viewing many profiles I find that sometimes the name of the user profile being edited, or to be more precise the Display Name, could be more prominent on the screen.

I have submitted a patch that, on a users profile screen, retrieves the display name and places it up in the title area of the page.

However, this patch still displays the standard word "Profile" when the current user is editing their own profile - this behavior is not changed.

Possibly related #12295 - as there appears to be more profile page edits planned that this could be rolled into.

Attachments (7)

28182.diff (458 bytes) - added by seanchayes 10 years ago.
patch-28182-user-01.jpg (54.5 KB) - added by seanchayes 10 years ago.
patch-28182-user-02.jpg (64.6 KB) - added by seanchayes 10 years ago.
patch-28182-user-03a.jpg (31.0 KB) - added by seanchayes 10 years ago.
Add new button original positioning
patch-28182-user-03b.jpg (30.5 KB) - added by seanchayes 10 years ago.
Add new button adjusted positioning
28182.2.diff (943 bytes) - added by seanchayes 10 years ago.
28182.3.diff (971 bytes) - added by seanchayes 9 years ago.

Download all attachments as: .zip

Change History (13)

@seanchayes
10 years ago

#1 @seanchayes
10 years ago

  • Keywords has-patch added

#2 @helen
10 years ago

  • Version changed from trunk to 3.9

Would be cool to get a screenshot. Not sure the method in your patch would work out with translations.

#3 @seanchayes
10 years ago

I've added example screenshots showing the functionality I described.

The "Edit User" or "Profile" text is already processed for translation earlier in the file - I hope that's enough.

I've also refreshed the patch (28182.2.diff) and re-attached with some minor ui positioning and sizing (in css) of the "Add New" button on smaller device displays. With longer names the button clashed ever so slightly so I made changes to position it better so it would work for shorter name lengths as well. And I attach a screenshot pre (3a) and post (3b) adjustment.

@seanchayes
10 years ago

Add new button original positioning

@seanchayes
10 years ago

Add new button adjusted positioning

@seanchayes
10 years ago

#4 @seanchayes
9 years ago

In the spirit of Trac Gardening - patch refreshed 28182.3.diff incoming.

Comments on this enhancement welcomed as ever.

Last edited 9 years ago by seanchayes (previous) (diff)

@seanchayes
9 years ago

#5 @SergeyBiryukov
8 years ago

  • Milestone changed from Awaiting Review to 4.8

#6 @SergeyBiryukov
8 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 39907:

Users: Display the name of user being edited on Edit User screen.

Props seanchayes.
Fixes #28182.

Note: See TracTickets for help on using tickets.