Include Files in GitHub UI (#115956)

This commit is contained in:
Chenhui Wang 2021-10-27 12:16:05 +08:00 committed by GitHub
parent 4b25b00fde
commit 306a7cb0f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -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',
}),

View file

@ -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: [
@ -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: [