Opened 9 years ago

Closed 8 years ago

#1151 closed enhancement (fixed)

User profile page output should include username

Reported by: mcguive7's profile McGuive7 Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Profiles Keywords:


Example page:

At present, the only reference to the username on a user's profile page is in the browser's address bar. Username is a piece of information that is useful at times (see #1150), and should be more obviously featured on user profile pages. Here's a possible layout:

Or possibly with the @ symbol:

Happy to submit this patch, but can someone please tell me how I can do that against the .org site? For some reason I seem to remember hearing this wasn't possible.

Change History (10)

#1 @SergeyBiryukov
9 years ago

  • Component changed from General to Profiles

#2 @iandunn
9 years ago

  • Type changed from defect to enhancement

+1 from me. @jenmylo or @melchoyce, do you have any thoughts on it?

I think including the @ symbol is necessary to make it obvious that it's a username.

The Profiles theme isn't open source yet (see #1152), so that will need to happen first, or someone with commit will need to make time for it.

#3 @samuelsidler
9 years ago

That @ symbol can get confusing on profile pages as we use it for Slack username too. We should make sure to differentiate it well.

#4 @coffee2code
9 years ago

Also bear in mind that username (aka user_nicename aka user slug) is not the same as user login, though it is for the majority.

In the case of the aforementioned #1150 (despite it ultimately being a caching issue), if you wanted to add a user as a committer to a plugin, you'd actually need to know their user login and not their nicename. An argument could be made for it to take either, but that's a separate issue.

So, considerations:

  • Logins can contain spaces, so prepending the @ symbol does't quite work (e.g. "@A J Williams")
  • Logins can match the user's actual display name, so that might look weird to have their name appear twice back-to-back (this could be the case even if we show nicenames), e.g.

A J Williams
A J Williams

Offhand I'm not sure where else user login needs to be known, so the committers form might be an exception that warrants changing (as well as any other place that may also be the case). At which point, we could continue pursuing this proposal for user_nicename.

#5 @melchoyce
9 years ago

+1 from me, too.

#6 @SergeyBiryukov
8 years ago

  • Keywords needs-patch removed

Removing 'needs-patch' from components that are not open sourced yet, to help focus on tickets that actually need a patch.

This ticket was mentioned in Slack in #meta by ocean90. View the logs.

8 years ago

#8 @samuelsidler
8 years ago

  • Owner set to samuelsidler
  • Status changed from new to assigned

This ticket caused a long conversation in Slack (see link above).

We're going to do the following:

  1. Change the "chat" icon to say "@coffee2code on and Slack" when the Slack and usernames match, and "@samuelsidler on, @sam on Slack" when they don't match.
  2. Add a fixed "Your username: samuelsidler" option on the profile edit screen.

I'll take this for now, but hand off when I can't get further.

#9 @coffee2code
8 years ago

  • Owner changed from samuelsidler to coffee2code
  • Status changed from assigned to accepted

#10 @coffee2code
8 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in [dotorg-11614] and [dotorg-11615].

Note: See TracTickets for help on using tickets.