Skip to content

Update frequent_items to upcoming resp styling

What does this MR do?

The upcoming responsive top nav will need to reuse the frequent_items components in a different context than they originally exist.

This MR adds some flexibility to the classes applied in these components so that:

  • They can be reused outside the .dropdown-menu context.
  • The search bar can still be shown in a responsive view.

Screenshots (strongly suggested)

Description Before After
With Feature.enable(:combined_menu) - items still look right before_ff_on_items after_ff_on_items
With Feature.disable(:combined_menu) - items still look right before_ff_off_items after_ff_off_items
With Feature.enable(:combined_menu) + small display - search bar is now visible. This responsive view will be enhanced in an upcoming MR before_ff_on_search_resp after_ff_on_search_resp
With Feature.disable(:combined_menu) + small display - search bar is still hidden before_ff_off_search_resp after_ff_off_search_resp

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Paul Slaughter

Merge request reports

Loading