Add next and prev buttons
What does this MR do and why?
- Added next and prev buttons
- Changed the match background color to the one in specified in the designs
- Added a purple(ish) background (taken from GitLab SVGs) to the current match
- Pressing next when it is end of the list will take you back to position 0
- Pressing prev when it is beginning of the list will take you back to last position
Screenshots or screen recordings
How to set up and validate locally
- Enable feature flag:
echo "Feature.enable(:find_and_replace)" | rails c - Visit an issue
- Edit the content
- Make sure you are using Plain text editor (will not work for RTE)
- Hit CMD+F
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #505695 (closed)
Edited by Alex Fracazo