User profile: Add job title/role and timezone
Problem to solve
Via #50157 (closed) we explored that a user's job title/role and their timezone is interesting information that is currently not visible within GitLab.
#51246 (closed) looks at how we can add this information to the user profile.
Let's add a user's job title/role and timezone to the user profile.
- New fields in user profile settings
- Show information in profile page header if set
- Job title should be integrated in the Company field in settings and display
Let's redistribute the information in the header a bit:
1st line: Full name 2nd line: username, joined info 3rd line: location and job title at organization info 4th line: social + website
Here's what it looks like on desktop:
|With bio||Without bio|
The margins between the 2nd and 3rd line (as defined above) should be
8px, the margin between the 1st and the 2nd, 3rd and 4th should be
There won't be enough space to fit the location and job title + org into a single line so it's best we put each in their own lines:
We also need to add a 'Job title' input field to the profile settings page.
Technical implementation for timezones
I intentionally left out the part where we decide about the technical implementation of the timezone, let's leave that for the implementation issue. We should do the smallest thing that allows us to get user's local time.
What does success look like, and how can we measure that?
When completed, other users can see a users role and timezone on the user's profile page if defined