Skip to content

Commit

Permalink
Include Files in GitHub UI (#115956)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangch079 authored Oct 27, 2021
1 parent 4b25b00 commit 306a7cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ export const SOURCE_OBJ_TYPES = {
defaultMessage: 'Repository List',
}
),
FILES: i18n.translate('xpack.enterpriseSearch.workplaceSearch.sources.objTypes.files', {
defaultMessage: 'Files (markdown only)',
}),
EMAILS: i18n.translate('xpack.enterpriseSearch.workplaceSearch.sources.objTypes.emails', {
defaultMessage: 'Emails',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ export const staticSourceData = [
SOURCE_OBJ_TYPES.ISSUES,
SOURCE_OBJ_TYPES.PULL_REQUESTS,
SOURCE_OBJ_TYPES.REPOSITORY_LIST,
SOURCE_OBJ_TYPES.FILES,
],
features: {
basicOrgContext: [
Expand Down Expand Up @@ -247,6 +248,7 @@ export const staticSourceData = [
SOURCE_OBJ_TYPES.ISSUES,
SOURCE_OBJ_TYPES.PULL_REQUESTS,
SOURCE_OBJ_TYPES.REPOSITORY_LIST,
SOURCE_OBJ_TYPES.FILES,
],
features: {
basicOrgContext: [
Expand Down

0 comments on commit 306a7cb

Please sign in to comment.