What does this MR do and why?
When impersonating a user, shows the "Stop impersonating" button in the super sidebar, next to the user menu.
Screenshots or screen recordings
How to set up and validate locally
-
Enable the
super_sidebar_nav
feature flag:echo "Feature.enable(:super_sidebar_nav)" | rails c
-
Navigate to Admin Area > Overview > User.
-
Select any user and click on the
Impersonate
button in the top right. -
Enable the new nav user setting from the user dropdown:
-
Click on the
incognito
button in the super sidebar to stop the impersonation.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #396689 (closed)