diff --git a/app/assets/javascripts/todos/components/todos_filter_bar.vue b/app/assets/javascripts/todos/components/todos_filter_bar.vue index d18d7f01ee163bfc245b48d368257e1c881c5f4d..ff9214128b617912ea0e378c76745aa202b343f0 100644 --- a/app/assets/javascripts/todos/components/todos_filter_bar.vue +++ b/app/assets/javascripts/todos/components/todos_filter_bar.vue @@ -21,6 +21,7 @@ import { TODO_TARGET_TYPE_ALERT, TODO_TARGET_TYPE_EPIC, TODO_TARGET_TYPE_SSH_KEY, + TODO_TARGET_TYPE_WIKI_PAGE, TODO_ACTION_TYPE_ASSIGNED, TODO_ACTION_TYPE_MENTIONED, TODO_ACTION_TYPE_BUILD_FAILED, @@ -98,6 +99,11 @@ export const TARGET_TYPES = [ value: TODO_TARGET_TYPE_SSH_KEY, title: s__('Todos|SSH key'), }, + { + id: 'WikiPage::Meta', + value: TODO_TARGET_TYPE_WIKI_PAGE, + title: s__('Todos|Wiki page'), + }, ]; /** diff --git a/app/assets/javascripts/todos/constants.js b/app/assets/javascripts/todos/constants.js index fb982589e141b0e114acbb45684baec7b115b22a..001d97ee68f27e77e01030b02fd206510b24b85c 100644 --- a/app/assets/javascripts/todos/constants.js +++ b/app/assets/javascripts/todos/constants.js @@ -11,6 +11,7 @@ export const TODO_TARGET_TYPE_ALERT = 'ALERT'; export const TODO_TARGET_TYPE_EPIC = 'EPIC'; export const TODO_TARGET_TYPE_SSH_KEY = 'KEY'; export const TODO_TARGET_TYPE_PIPELINE = 'PIPELINE'; +export const TODO_TARGET_TYPE_WIKI_PAGE = 'WIKIPAGEMETA'; export const TODO_ACTION_TYPE_ASSIGNED = 'assigned'; export const TODO_ACTION_TYPE_MENTIONED = 'mentioned'; diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 1cd086b8a1bc12cabfa869c39140ba8740e67d67..ba17b2c4a3423a114237783469c02f9637b703fd 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -61230,6 +61230,9 @@ msgstr "" msgid "Todos|When to-do items are snoozed, they will appear here." msgstr "" +msgid "Todos|Wiki page" +msgstr "" + msgid "Todos|Work item" msgstr ""