Protected packages: Use capitalized casing in setting ui table
requested to merge gitlab-community/gitlab:413641-gerardo-navarro-protected-packages-add-project-settings-ui-table-row-text-letter-casing into master
What does this MR do and why?
- Adjusts the letter casing for strings in the table "package protection rules"
- This MR is a follow-up todo from the review of another MR
- This MR tackles one checklist item, see
Align letter casing across the table columns ...
in #413641
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
Before | After |
---|---|
How to set up and validate locally
- In rails console enable the experiment fully
Feature.enable(:packages_protected_packages)
- Add some package protection rules
Packages::Protection::Rule.create(project: Project.find_by_full_path('flightjs/Flight'), package_name_pattern: "@flightjs/flight-package-1", package_type: :npm, push_protected_up_to_access_level: :maintainer)
Packages::Protection::Rule.create(project: Project.find_by_full_path('flightjs/Flight'), package_name_pattern: "@flightjs/flight-package-2", package_type: :npm, push_protected_up_to_access_level: :owner)
Related to #413641
Edited by Gerardo Navarro