Skip to content

[Feature flag] Add actor for improved_hide_heuristics

What does this MR do and why?

Add current_user actor for Role User.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Find screenrecordings in the issue

How to set up and validate locally

  1. In rails console enable the experiment fully

    Feature.enable(:improved_hide_heuristics)
  2. Visit the projects overview page: http://gdk.test:3000/

  3. Testing the GlCollapsibleListbox: Open the dropdown 'Name'

  4. Use the keyboard tab key to focus another item, which will close the dropdown again

  5. Testing the GlDisclosureDropdown: Click on the button for 'Merge requests' top in the sidebar

  6. Use the keyboard tab key to focus another item, which will close the dropdown again

Related to #474824

Edited by Vanessa Otto

Merge request reports