Use projectRootPath to compose breadcrumb links
What does this MR do and why?
Use projectRootPath to compose breadcrumb links
For instances with a relative url, the root path is need to compose a correct breadcrumb link.
Changelog: fixed
References
Screenshots or screen recordings
| Context | Before | After |
|---|---|---|
| instance without relative url | ![]() |
![]() |
How to set up and validate locally
-
Configure your GDK to use a relative url. You want
relative_url_rootvalue to be set to for example/gitlab - Run
gdk reconfigure - Go to Project / Repository. Remember to edit your remembered URL to include
/gitlab, so for example:http://gdk.test:8080/gitlab/flightjs/Flight - Verify that breadcrumbs of the repository include
/gitlab
Disclaimer: I wasn't able to reconfigure my GDK correctly. The page was loading with a lot of errors and it did not render correctly. I was able to verify with Vue dev tools, that a correct string is passed to the breadcrumbs component though:
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 #550053 (closed)
Edited by Paulina Sedlak-Jakubowska


