fix: Avoids whitespace when displaying the version number
requested to merge gitlab-community/gitlab:gerardo-navarro-package-regsitry-details-package-title-fix-gl-sprintf-white-space-caveat into master
-
Please check this box if this contribution uses AI-generated content as outlined in the GitLab DCO & CLA
What does this MR do and why?
fix: Avoids whitespace when displaying the version number
- Prefer
v1.0.0
instead ofv 1.0.0
- Ensures no whitespace is used to display the version number which is caused by the component
<gl-sprintf
, see https://gitlab-org.gitlab.io/gitlab-ui/?path=/docs/utilities-sprintf--docs#white-space - This improves the visual consistency of the package details page
Changelog: fixed
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.
MR Checklist (@gerardo-navarro)
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the javascript style guides -
Conforms to the database guides
Screenshots or screen recordings
See that the text showing the package version has changed from v 1.0.4
to v1.0.4
Before | After |
---|---|
How to set up and validate locally
- Go to the package list: http://gdk.test:3000/flightjs/Flight/-/packages
- Go the package detail page for one of the packages
Edited by Gerardo Navarro