Skip to content

Various UX improvements to the code navigation popover

Phil Hughes requested to merge ph/codeNavigationUXImprovements into master

What does this MR do?

Increases the width of the code navigation popover, given the popover a max width so that it doesn't overflow on mobile. I've also given the definition areas a max height so that the popover doesn't get too large, instead the user can scroll this part.

Change how code navigation underlines are shown. Instead of always showing, they now only get shown when the user hovers over a line and increase in color when the user hovers over the code navigation part.

Screen_Recording_2020-06-30_at_15.50.25

Added text that says This is the definition for popovers that are currently linking to themselves.

Screenshot_2020-06-30_at_16.35.36

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #213190 (closed), #218586 (closed), #213188 (closed)

Edited by Phil Hughes

Merge request reports