-
+
+
+
-
-
- {{ projectPath }}:
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ {{ projectPath }}
+
+
diff --git a/app/assets/javascripts/todos/components/todos_filter_bar.vue b/app/assets/javascripts/todos/components/todos_filter_bar.vue
index 9cf9dba4545..bdbcbe9ea47 100644
--- a/app/assets/javascripts/todos/components/todos_filter_bar.vue
+++ b/app/assets/javascripts/todos/components/todos_filter_bar.vue
@@ -63,7 +63,7 @@ export const TARGET_TYPES = [
// eslint-disable-next-line @gitlab/require-i18n-strings
id: 'Issue',
value: TODO_TARGET_TYPE_ISSUE,
- title: s__('Todos|Issue or Epic'),
+ title: s__('Todos|Issue'),
},
{
id: 'MergeRequest',
diff --git a/app/assets/javascripts/vue_shared/components/filtered_search_bar/constants.js b/app/assets/javascripts/vue_shared/components/filtered_search_bar/constants.js
index 97d21ce7371..416586304a1 100644
--- a/app/assets/javascripts/vue_shared/components/filtered_search_bar/constants.js
+++ b/app/assets/javascripts/vue_shared/components/filtered_search_bar/constants.js
@@ -79,11 +79,11 @@ export const TOKEN_TITLE_MY_REACTION = __('My reaction');
export const TOKEN_TITLE_ORGANIZATION = s__('Crm|Organization');
export const TOKEN_TITLE_RELEASE = __('Release');
export const TOKEN_TITLE_REVIEWER = s__('SearchToken|Reviewer');
-export const TOKEN_TITLE_SOURCE_BRANCH = __('Source Branch');
+export const TOKEN_TITLE_SOURCE_BRANCH = __('Source branch');
export const TOKEN_TITLE_STATUS = __('Status');
export const TOKEN_TITLE_JOBS_RUNNER_TYPE = s__('Job|Runner type');
export const TOKEN_TITLE_JOBS_SOURCE = s__('Job|Source');
-export const TOKEN_TITLE_TARGET_BRANCH = __('Target Branch');
+export const TOKEN_TITLE_TARGET_BRANCH = __('Target branch');
export const TOKEN_TITLE_TYPE = __('Type');
export const TOKEN_TITLE_UPDATED = __('Updated');
export const TOKEN_TITLE_VERSION = __('Version');
diff --git a/app/assets/javascripts/vue_shared/issuable/list/components/issuable_item.vue b/app/assets/javascripts/vue_shared/issuable/list/components/issuable_item.vue
index c34c48fa975..17545aa8a9c 100644
--- a/app/assets/javascripts/vue_shared/issuable/list/components/issuable_item.vue
+++ b/app/assets/javascripts/vue_shared/issuable/list/components/issuable_item.vue
@@ -23,8 +23,8 @@ import {
STATE_OPEN,
STATE_CLOSED,
LINKED_CATEGORIES_MAP,
- WORK_ITEM_TYPE_VALUE_INCIDENT,
- WORK_ITEM_TYPE_VALUE_ISSUE,
+ WORK_ITEM_TYPE_NAME_INCIDENT,
+ WORK_ITEM_TYPE_NAME_ISSUE,
WORK_ITEM_TYPE_ENUM_INCIDENT,
WORK_ITEM_TYPE_ENUM_ISSUE,
} from '~/work_items/constants';
@@ -122,14 +122,14 @@ export default {
},
isIncident() {
return (
- this.issuable.workItemType?.name === WORK_ITEM_TYPE_VALUE_INCIDENT ||
+ this.issuable.workItemType?.name === WORK_ITEM_TYPE_NAME_INCIDENT ||
this.issuable?.type === WORK_ITEM_TYPE_ENUM_INCIDENT
);
},
isServiceDeskIssue() {
return (
(this.issuable?.type === WORK_ITEM_TYPE_ENUM_ISSUE ||
- this.issuable.workItemType?.name === WORK_ITEM_TYPE_VALUE_ISSUE) &&
+ this.issuable.workItemType?.name === WORK_ITEM_TYPE_NAME_ISSUE) &&
this.issuable?.author?.username === SUPPORT_BOT_USERNAME
);
},
diff --git a/app/assets/javascripts/work_items/components/create_work_item.vue b/app/assets/javascripts/work_items/components/create_work_item.vue
index 281baf811ef..d7dcb73c80b 100644
--- a/app/assets/javascripts/work_items/components/create_work_item.vue
+++ b/app/assets/javascripts/work_items/components/create_work_item.vue
@@ -54,8 +54,8 @@ import {
WORK_ITEM_TYPE_NAME_LOWERCASE_MAP,
WORK_ITEM_TYPE_NAME_MAP,
WORK_ITEM_TYPE_VALUE_MAP,
- WORK_ITEM_TYPE_VALUE_INCIDENT,
- WORK_ITEM_TYPE_VALUE_EPIC,
+ WORK_ITEM_TYPE_NAME_INCIDENT,
+ WORK_ITEM_TYPE_NAME_EPIC,
} from '../constants';
import createWorkItemMutation from '../graphql/create_work_item.mutation.graphql';
import namespaceWorkItemTypesQuery from '../graphql/namespace_work_item_types.query.graphql';
@@ -342,7 +342,7 @@ export default {
// detail view instead. Since the legacy view doesn't support setting a parent
// we need to hide this attribute here until the migration has been finished.
// https://gitlab.com/gitlab-org/gitlab/-/issues/502823
- if (this.selectedWorkItemTypeName === WORK_ITEM_TYPE_VALUE_INCIDENT) {
+ if (this.selectedWorkItemTypeName === WORK_ITEM_TYPE_NAME_INCIDENT) {
return false;
}
@@ -504,7 +504,7 @@ export default {
);
},
shouldDatesRollup() {
- return this.selectedWorkItemTypeName === WORK_ITEM_TYPE_VALUE_EPIC;
+ return this.selectedWorkItemTypeName === WORK_ITEM_TYPE_NAME_EPIC;
},
},
watch: {
diff --git a/app/assets/javascripts/work_items/components/notes/work_item_comment_form.vue b/app/assets/javascripts/work_items/components/notes/work_item_comment_form.vue
index cf1c1c707c2..8e2f30999de 100644
--- a/app/assets/javascripts/work_items/components/notes/work_item_comment_form.vue
+++ b/app/assets/javascripts/work_items/components/notes/work_item_comment_form.vue
@@ -5,7 +5,7 @@ import { s__, __ } from '~/locale';
import { capitalizeFirstCharacter } from '~/lib/utils/text_utility';
import {
STATE_OPEN,
- WORK_ITEM_TYPE_VALUE_TASK,
+ WORK_ITEM_TYPE_NAME_TASK,
WIDGET_TYPE_EMAIL_PARTICIPANTS,
i18n,
} from '~/work_items/constants';
@@ -206,7 +206,7 @@ export default {
return this.isNoteInternal ? this.$options.i18n.addInternalNote : this.commentButtonText;
},
docsLinks() {
- return this.workItemType === WORK_ITEM_TYPE_VALUE_TASK
+ return this.workItemType === WORK_ITEM_TYPE_NAME_TASK
? {
confidential_issues_docs_path: DOCS_WORK_ITEM_CONFIDENTIAL_TASKS_PATH,
locked_discussion_docs_path: DOCS_WORK_ITEM_LOCKED_TASKS_PATH,
diff --git a/app/assets/javascripts/work_items/components/notes/work_item_comment_locked.vue b/app/assets/javascripts/work_items/components/notes/work_item_comment_locked.vue
index f972e8da506..c348f348c80 100644
--- a/app/assets/javascripts/work_items/components/notes/work_item_comment_locked.vue
+++ b/app/assets/javascripts/work_items/components/notes/work_item_comment_locked.vue
@@ -3,7 +3,7 @@ import { GlLink, GlIcon } from '@gitlab/ui';
import { __, sprintf } from '~/locale';
import { helpPagePath } from '~/helpers/help_page_helper';
import { issuableTypeText } from '~/issues/constants';
-import { WORK_ITEM_TYPE_VALUE_TASK } from '~/work_items/constants';
+import { WORK_ITEM_TYPE_NAME_TASK } from '~/work_items/constants';
export default {
components: {
@@ -14,7 +14,7 @@ export default {
workItemType: {
required: false,
type: String,
- default: WORK_ITEM_TYPE_VALUE_TASK,
+ default: WORK_ITEM_TYPE_NAME_TASK,
},
isProjectArchived: {
required: false,
diff --git a/app/assets/javascripts/work_items/components/shared/work_item_relationship_popover.vue b/app/assets/javascripts/work_items/components/shared/work_item_relationship_popover.vue
index 574b6e9b88a..c5499853c9d 100644
--- a/app/assets/javascripts/work_items/components/shared/work_item_relationship_popover.vue
+++ b/app/assets/javascripts/work_items/components/shared/work_item_relationship_popover.vue
@@ -1,7 +1,7 @@