Skip to content

Styled the collapsed state of the left sidepanel

Denys Mishunov requested to merge 322680-collapsed-panel-styling into master

What does this MR do?

Introduces the collapsed state styles for the left side panel in the course of &5647 (closed).

To click-test, enable the :sidebar_refactor feature flag for your user:

  gitlab git:(322680-contextual-header-styling)  rails c
...
[1] pry(main)> Feature.enable(:sidebar_refactor, User.find_by_username('root'))

This MR also fixes an issue introduced in !62905 (merged) where the template changes were not protected by the feature flag check leaking the avatars size changes to the "flag-off" scenario.

Screenshots (strongly suggested)

With the flag OFF With the flag ON
Screenshot_2021-06-03_at_12.31.52 Screenshot_2021-06-03_at_11.44.40

Interaction:

With the flag OFF With the flag ON
without_flag with_flag

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #322680 (closed)

Edited by Denys Mishunov

Merge request reports