Add find functionality
What does this MR do and why?
This MR adds the Find functionality to the Find And Replace logic. It's part of a series of MRs. With this MR the following functionalities are introduced:
- Highlight text that is being search
- Close the Find And Replace bar on
Escapekey press - Remove artifacts generated when the find and replace bar is closed and restore to the normal state
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
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
How to set up and validate locally
- Enable feature flag:
find_and_replace - Visit an issue or a merge request
- Edit the description
- When edit mode is turned on, hit
CMD+F - Type in something in the box that opens
- It should highlighted the searched text
Related to #481892 (closed)
Edited by Savas Vedova