Skip to content

Dismiss file tree popover when clicking outside the element

Mireya Andres requested to merge dismiss-popover-on-outside-click into master

What does this MR do and why?

When clicking outside the popover for the file tree, it will be permanently dismissed.

Fix for the failing test in #361403 (closed)

Screenshots or screen recordings

Before After
Screen_Recording_2022-05-26_at_11.06.37 Screen_Recording_2022-05-26_at_11.05.30

How to set up and validate locally

  1. Make sure 'pipeline_editor_file_tree_display' is removed from your browser's local storage. (Inspect Element > Storage > Local Storage)
  2. Visit the pipeline editor (CI/CD > Editor). Click outside the popover to dismiss it.
  3. Refresh the page. The popover should no longer show up.

MR acceptance checklist

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

Edited by Mireya Andres

Merge request reports