Blob refactor: Improve blob line selection
What does this MR do and why?
Slight improvement to the way we select lines in the source code by using Vue router instead of window.location
for determining the hash. Also gets rid of the box-shadow when selecting a line number.
Note, changes in this MR is behind the :refactor_blob_viewer
feature flag.
Screenshots or screen recordings
How to set up and validate locally
- Enable the Blob Viewer Refactor feature flag
Feature.enable(:refactor_blob_viewer)
- Open a file in the repository file browser
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 Jacques Erasmus