Skip to content

Fix placement of "Create new..." tooltip in navigation

What does this MR do and why?

Fix placement of "Create new..." tooltip in navigation.

Use gl-toolip directive with super-sidebar, hover, noninteractive, and ds500 parameters from !128712 (merged) instead of <gl-tooltip>

Changes

  • Use gl-toolip directive with super-sidebar, hover, noninteractive, and ds500 parameters
  • Remove custom <gl-tooltip> component implementation
  • Update spec test to assert tooltip directive content

Screenshots or screen recordings

Before After
CleanShot_2023-08-31_at_11.51.47_2x CleanShot_2023-08-31_at_11.51.02_2x
CleanShot_2023-08-31_at_11.51.54_2x CleanShot_2023-08-31_at_11.51.13_2x

How to set up and validate locally

  1. View new navigation
  2. Hover over "Create new..." menu button. Placement should be aligned to the bottom, the same as "Show/Hide sidebar" toggle
  3. Open "Create new..." menu, and hover button. Tooltip should not display.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #421206 (closed)

Edited by Scott de Jonge

Merge request reports