From 224d2fe16768ee5b270d894a5ed47101bf454d04 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 19 May 2022 06:08:48 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../issues/show/components/edit_actions.vue | 2 +- .../list/components/infrastructure_search.vue | 2 +- .../components/list/package_search.vue | 2 +- .../shared/components/persisted_search.vue | 2 +- .../components/blob_content_viewer.vue | 18 +- .../components/registry/registry_search.vue | 10 +- app/graphql/mutations/releases/create.rb | 4 + app/models/namespace.rb | 2 - app/models/namespaces/traversal/linear.rb | 10 +- app/services/merge_requests/build_service.rb | 32 +++ app/services/releases/base_service.rb | 4 + app/services/releases/create_service.rb | 2 +- app/views/admin/identities/_form.html.haml | 2 +- ...l => mr_default_description_from_repo.yml} | 12 +- doc/api/graphql/reference/index.md | 1 + doc/ci/yaml/artifacts_reports.md | 4 +- locale/gitlab.pot | 3 + .../page/group/settings/usage_quotas.rb | 13 +- qa/qa/flow/purchase.rb | 3 + .../components/infrastructure_search_spec.js | 4 +- .../components/list/packages_search_spec.js | 4 +- .../components/persisted_search_spec.js | 4 +- .../components/blob_content_viewer_spec.js | 8 +- .../registry/registry_search_spec.js | 6 +- spec/models/ci/namespace_mirror_spec.rb | 5 +- spec/models/group_spec.rb | 13 -- .../graphql/mutations/releases/create_spec.rb | 20 +- spec/requests/api/groups_spec.rb | 1 - .../lib/glfm/update_example_snapshots_spec.rb | 157 ++++++++------- .../ci/process_sync_events_service_spec.rb | 5 +- .../merge_requests/build_service_spec.rb | 188 ++++++++++++++++++ 31 files changed, 392 insertions(+), 151 deletions(-) rename config/feature_flags/development/{sync_traversal_ids.yml => mr_default_description_from_repo.yml} (53%) diff --git a/app/assets/javascripts/issues/show/components/edit_actions.vue b/app/assets/javascripts/issues/show/components/edit_actions.vue index 4daf6f2b61b..9b31014c1ba 100644 --- a/app/assets/javascripts/issues/show/components/edit_actions.vue +++ b/app/assets/javascripts/issues/show/components/edit_actions.vue @@ -77,7 +77,7 @@ export default { return this.formState.title.trim() !== ''; }, shouldShowDeleteButton() { - return this.canDestroy && this.showDeleteButton; + return this.canDestroy && this.showDeleteButton && this.typeToShow; }, typeToShow() { const { issueState, issuableType } = this; diff --git a/app/assets/javascripts/packages_and_registries/infrastructure_registry/list/components/infrastructure_search.vue b/app/assets/javascripts/packages_and_registries/infrastructure_registry/list/components/infrastructure_search.vue index d3c38da1531..2046b717362 100644 --- a/app/assets/javascripts/packages_and_registries/infrastructure_registry/list/components/infrastructure_search.vue +++ b/app/assets/javascripts/packages_and_registries/infrastructure_registry/list/components/infrastructure_search.vue @@ -31,7 +31,7 @@ export default {