Dismiss file tree popover when clicking outside the element
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
- Make sure
'pipeline_editor_file_tree_display'
is removed from your browser's local storage. (Inspect Element > Storage > Local Storage) - Visit the pipeline editor (CI/CD > Editor). Click outside the popover to dismiss it.
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mireya Andres