Change fallback for logged-out sidebar
What does this MR do and why?
Change fallback for logged-out sidebar
Currently the logged-out sidebar will fall-back to the "Your Work" panel. Unfortunately this doesn't make a lot of sense, because the "Your Work" panel relies on a user object existing. It also leads to exceptions currently.
Furthermore we add missing specs and insure that all the panels render fine, even if the user object is nil.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- In rails console enable the experiment fully
Feature.enable(:super_sidebar_logged_out)
- Make sure you are logged out.
- Visit the in-product help page
/help
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.
Edited by Lukas Eipert