WIP: Gitlab ui badge integration
What does this MR do?
This is an integration branch for fixing breakages in gitlab
due to the eventual upgrade to @gitlab/ui
that includes gitlab-ui!1248 (merged).
Addresses gitlab-ui#481 (closed). Done to support #195928 (closed).
Using the following command:
$ SHA=$(git rev-parse origin/master); rg -thtml gl-badge -l --color=never | sed "s;^\(.*\);* [\1](https://gitlab.com/gitlab-org/gitlab/blob/$SHA/\1);"
The following files can be identified that use GlBadge
:
-
app/assets/javascripts/monitoring/components/alert_widget.vue -
app/assets/javascripts/groups/components/group_item.vue -
app/assets/javascripts/clusters_list/components/clusters.vue -
app/assets/javascripts/groups/components/item_stats.vue -
app/assets/javascripts/error_tracking/components/error_details.vue -
app/assets/javascripts/releases/components/release_block_header.vue -
app/assets/javascripts/releases/components/release_block_milestone_info.vue -
app/assets/javascripts/repository/components/table/row.vue -
ee/app/assets/javascripts/vulnerabilities/components/remediated_badge.vue -
ee/app/assets/javascripts/security_dashboard/components/project_list.vue -
ee/app/assets/javascripts/security_dashboard/components/unscanned_projects.vue -
ee/app/assets/javascripts/dependencies/components/dependencies_table.vue -
ee/app/assets/javascripts/dependencies/components/app.vue -
ee/app/assets/javascripts/feature_flags/components/form.vue -
ee/app/assets/javascripts/license_compliance/components/app.vue -
ee/app/assets/javascripts/license_compliance/components/licenses_table_row.vue -
ee/app/assets/javascripts/environments_dashboard/components/dashboard/environment_header.vue -
ee/app/assets/javascripts/environments_dashboard/components/dashboard/environment.vue -
ee/app/assets/javascripts/vue_shared/metrics_reports/components/metrics_reports_issue_body.vue -
ee/app/assets/javascripts/analytics/code_review_analytics/components/app.vue -
ee/app/assets/javascripts/packages/shared/components/package_tags.vue
Screenshots
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
Edited by Pedro Moreira da Silva