Skip to content

WIP: Implement "Signed in as" in profile dropdown

Achilleas Pipinellis requested to merge signed-in-as into master

What does this MR do?

Show what user you are signed in with. Useful for admins that use the impersonate button and for users with multiple accounts.

Are there points in the code the reviewer needs to double check?

  • How can the text be centered like the rest of the items?
  • We need a more lighter color for the "Signed in as" text as it is not actionable
  • Maybe not use black to display the username. Gray instead?
  • How can we truncate the username? I see it is done automatically for the other items.

Why was this MR needed?

If yo don't have an avatar to at least tell what user you are signed in, there is no easy way to tell apart from going to the user's profile.

Screenshots (if relevant)

Needs revamp. The initial implementation is:

screenshot-localhost_3000_2016-09-16_08-46-47

Next one

screenshot-192.168.0.13_3000_2017-03-27_14-30-50

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports