Set ref for commit show page
What does this MR do and why?
Set the @ref
in the CommitController#show
. this @ref
will be used later to create the search urls which will allow to add the repository_ref
as the query param.
Screenshots or screen recordings
How to set up and validate locally
- Run the local development environment
gdk start
- Navigate to the commit show page. For eg: http://127.0.0.1:3000/flightjs/Flight/-/commit/3b9e7ae1d68eda2c4f17ce8a6cd355b41cf8749a
- Search for any text in the top search bar in the header
- You should land on the search page with the search limited to the commit-sha where from you are coming. In this case
3b9e7ae1d68eda2c4f17ce8a6cd355b41cf8749a
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.
Related to #31707 (closed)
Edited by Ravi Kumar