[Workplace Search] New Network Drive, Outlook, Teams, and Zoom Server integration tiles (#130421)

This commit is contained in:
Byron Hulcher 2022-04-21 10:00:52 -04:00 committed by GitHub
parent 551759859e
commit a3fd86c22a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 64 additions and 1 deletions

View file

@ -22,7 +22,7 @@ export default function ({ getService }: FtrProviderContext) {
expect(resp.body).to.be.an('array');
expect(resp.body.length).to.be(38);
expect(resp.body.length).to.be(42);
// Test for sample data card
expect(resp.body.findIndex((c: { id: string }) => c.id === 'sample_data_all')).to.be.above(

View file

@ -0,0 +1 @@
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><clipPath id="a"><path d="m0 0h100v100h-100z"/></clipPath><g clip-path="url(#a)"><path d="m50.8142 23.5717h-4.2c4.143 8.1938 6.3015 17.2469 6.3015 26.4286 0 9.1816-2.1585 18.2347-6.3015 26.4285h4.5714c7.0093 0 13.7316-2.7844 18.6879-7.7407s7.7407-11.6785 7.7407-18.6878-2.7844-13.7315-7.7407-18.6879c-4.9563-4.9563-11.6786-7.7407-18.6879-7.7407zm-.8142-23.5857279c-6.6174-.0042253-13.1691 1.3119779-19.2715 3.8714579 5.3516 4.32083 9.9142 9.53597 13.4857 15.41427h8.0714l.0715.0857c7.7784.5043 15.0733 3.9498 20.4037 9.637s8.2968 13.1897 8.2968 20.9844-2.9664 15.2973-8.2968 20.9845-12.6253 9.1327-20.4037 9.6369l-.0715.1001h-8.0714c-3.5715 5.8782-8.1341 11.0935-13.4857 15.4143 6.8282 2.8556 14.2051 4.1594 21.5985 3.8181 7.3933-.3415 14.6186-2.3201 21.1544-5.7929 6.5358-3.4729 12.2191-8.3534 16.6398-14.2894 4.4206-5.936 7.4683-12.7794 8.9231-20.0362 1.4547-7.2568 1.2807-14.7461-.5104-21.9274-1.791-7.1813-5.1539-13.8753-9.846-19.5991s-10.5964-10.33458-17.2868-13.49953c-6.6903-3.16494-13.9999-4.8051405-21.4011-4.8021979zm-10.8714 19.2857279c-3.4579-5.1394-7.7617-9.65573-12.7287-13.35712-7.308 3.93332-13.5268 9.61712-18.09986 16.54282 4.21966-2.0886 8.86316-3.1785 13.57146-3.1857zm0 61.4286h-17.2571c-4.7102-.005-9.3553-1.1002-13.57146-3.2 4.57606 6.9408 10.80566 12.6353 18.12846 16.5714 4.9508-3.7106 9.2437-8.2257 12.7001-13.3571zm2.6428-4.2858c4.4971-8.0826 6.8574-17.1791 6.8574-26.4285 0-9.2495-2.3603-18.346-6.8574-26.4286h-19.8999c-6.6584-.0024-13.07027 2.5194-17.94297 7.0571-.04357.1274-.09606.2515-.15712.3715 1.44454-1.374 3.03486-2.586 4.74278-3.6143-1.70792 1.0283-3.29824 2.2403-4.74278 3.6143-5.02806 12.1627-5.02806 25.823 0 37.9857.06106.12.11355.244.15712.3714 4.87578 4.5328 11.28557 7.0539 17.94297 7.0571z" fill="#0060d5"/></g></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="62" height="62" viewBox="19 19 62 62" fill="none"><g clip-path="url(#C)"><path d="M83.65 51.55a1.49 1.49 0 0 0-.71-1.279h-.008l-.028-.016-23.095-13.671a3.15 3.15 0 0 0-.31-.184 3.1 3.1 0 0 0-2.843 0 3.15 3.15 0 0 0-.31.184L33.252 50.256l-.028.016c-.706.439-.922 1.367-.483 2.073.129.208.308.381.519.505L56.355 66.52a3.48 3.48 0 0 0 .31.184 3.1 3.1 0 0 0 2.843 0 3.48 3.48 0 0 0 .31-.184l23.095-13.671c.461-.269.743-.765.738-1.299z" fill="#0a2767"/><path d="M35.944 42.422H51.1v13.893H35.944V42.422zM80.55 28.3v-6.355A2.88 2.88 0 0 0 77.74 19H38.41a2.88 2.88 0 0 0-2.81 2.945V28.3l23.25 6.2 21.7-6.2z" fill="#0364b8"/><path d="M35.6 28.3h15.5v13.95H35.6V28.3z" fill="#0078d4"/><path d="M66.6 28.3H51.1v13.95L66.6 56.2h13.95V42.25L66.6 28.3z" fill="#28a8ea"/><path d="M51.1 42.25h15.5V56.2H51.1V42.25z" fill="#0078d4"/><path d="M51.1 56.2h15.5v13.95H51.1V56.2z" fill="#0364b8"/><path d="M35.944 56.315H51.1v12.629H35.944V56.315z" fill="#14447d"/><path d="M66.6 56.2h13.95v13.95H66.6V56.2z" fill="#0078d4"/><path d="M82.94 52.764l-.029.016-23.095 12.989-.31.174a3.22 3.22 0 0 1-1.252.31l-1.262-.738c-.107-.053-.21-.113-.31-.178L33.277 51.978h-.011l-.766-.428v26.294A3.18 3.18 0 0 0 35.698 81h44.804c.026 0 .05-.012.078-.012a3.92 3.92 0 0 0 1.085-.226 3.13 3.13 0 0 0 .436-.226c.104-.059.282-.187.282-.187a3.13 3.13 0 0 0 1.268-2.503V51.55c-.001.503-.272.967-.71 1.214z" fill="url(#A)"/><path opacity=".5" d="M82.41 51.446v1.612L58.261 69.685 33.26 51.989c0-.009-.007-.016-.016-.016l-2.294-1.379v-1.163l.945-.015 2 1.147.046.016.17.109 23.56 13.438.899.527a4.29 4.29 0 0 1 .248-.093c.047-.031 23.328-13.128 23.328-13.128l.264.016z" fill="#0a2767"/><path d="M82.94 52.764l-.029.017L59.816 65.77l-.31.174a3.24 3.24 0 0 1-2.843 0 3.52 3.52 0 0 1-.31-.174L33.258 52.781l-.028-.017c-.446-.242-.725-.706-.73-1.214v26.294c.011 1.754 1.442 3.167 3.196 3.156h44.758c1.754.011 3.185-1.402 3.196-3.156V51.55c-.001.503-.272.967-.71 1.214z" fill="#1490df"/><g fill="#000"><path opacity=".1" d="M60.152 65.578l-.346.194a3.35 3.35 0 0 1-.31.175 3.21 3.21 0 0 1-1.218.322l8.787 10.391 15.328 3.694a3.16 3.16 0 0 0 .972-1.214L60.152 65.578z"/><path opacity=".05" d="M61.717 64.697l-1.911 1.074c-.1.064-.204.122-.31.175a3.21 3.21 0 0 1-1.218.322l4.117 11.351 20.003 2.73c.788-.592 1.252-1.519 1.252-2.505v-.339L61.717 64.697z"/></g><path d="M35.74 81h44.71c.688.004 1.359-.214 1.914-.62L56.99 65.517c-.107-.054-.21-.113-.31-.178L33.275 51.981h-.011l-.764-.431v26.204c-.002 1.791 1.449 3.244 3.239 3.246z" fill="#28a8ea"/><g fill="#000"><path opacity=".1" d="M54.2 34.241v33.061a2.85 2.85 0 0 1-1.783 2.635 2.67 2.67 0 0 1-1.054.217H32.5V32.95h3.1V31.4h15.764a2.85 2.85 0 0 1 2.837 2.841z"/><path opacity=".2" d="M52.65 35.791v33.061c.004.374-.075.745-.233 1.085-.43 1.061-1.459 1.757-2.604 1.762H32.5V32.95h17.313a2.6 2.6 0 0 1 1.287.326 2.82 2.82 0 0 1 1.55 2.516z"/><path opacity=".2" d="M52.65 35.791v29.962a2.86 2.86 0 0 1-2.837 2.847H32.5V32.95h17.313a2.6 2.6 0 0 1 1.287.326 2.82 2.82 0 0 1 1.55 2.516z"/><path opacity=".2" d="M51.1 35.791v29.961a2.85 2.85 0 0 1-2.837 2.847H32.5V32.95h15.764a2.84 2.84 0 0 1 2.837 2.84z"/></g><path d="M19.841 32.95h28.418a2.84 2.84 0 0 1 2.841 2.841v28.418a2.84 2.84 0 0 1-2.841 2.841H19.841A2.84 2.84 0 0 1 17 64.209V35.791a2.84 2.84 0 0 1 2.841-2.841z" fill="url(#B)"/><path d="M25.88 44.866c.7-1.492 1.831-2.741 3.246-3.585 1.567-.897 3.352-1.345 5.157-1.293 1.673-.036 3.324.388 4.773 1.226a8.19 8.19 0 0 1 3.157 3.425c.761 1.568 1.14 3.294 1.107 5.038a11.67 11.67 0 0 1-1.139 5.27c-.715 1.474-1.847 2.707-3.255 3.545-1.504.864-3.216 1.299-4.951 1.259a9.33 9.33 0 0 1-4.878-1.24c-1.374-.813-2.484-2.005-3.199-3.432-.765-1.546-1.149-3.252-1.119-4.977-.032-1.806.345-3.596 1.102-5.236zm3.46 8.417c.373.943 1.006 1.761 1.826 2.359a4.77 4.77 0 0 0 2.852.859c1.084.043 2.153-.268 3.044-.887a5.14 5.14 0 0 0 1.773-2.359 9.16 9.16 0 0 0 .566-3.291 10.02 10.02 0 0 0-.533-3.332 5.27 5.27 0 0 0-1.717-2.458c-.869-.648-1.935-.976-3.018-.93a4.92 4.92 0 0 0-2.919.867 5.41 5.41 0 0 0-1.86 2.379c-.846 2.186-.851 4.608-.012 6.797l-.002-.003z" fill="#fff"/><path d="M66.6 28.3h13.95v13.95H66.6V28.3z" fill="#50d9ff"/></g><defs><linearGradient id="A" x1="58.075" y1="51.55" x2="58.075" y2="81" gradientUnits="userSpaceOnUse"><stop stop-color="#35b8f1"/><stop offset="1" stop-color="#28a8ea"/></linearGradient><linearGradient id="B" x1="22.924" y1="30.73" x2="45.176" y2="69.27" gradientUnits="userSpaceOnUse"><stop stop-color="#1784d9"/><stop offset=".5" stop-color="#107ad5"/><stop offset="1" stop-color="#0a63c9"/></linearGradient><clipPath id="C"><path fill="#fff" transform="translate(17 19)" d="M0 0h66.65v62H0z"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="62" height="62" viewBox="19 19 62 62" fill="none"><g clip-path="url(#B)"><g fill="#5059c9"><path d="M62.246 42.628h16.015a2.74 2.74 0 0 1 2.74 2.74v14.587a10.07 10.07 0 0 1-10.068 10.069h-.048a10.07 10.07 0 0 1-10.07-10.067V44.06a1.43 1.43 0 0 1 1.432-1.432zm10.824-2.884a6.49 6.49 0 0 0 6.488-6.488 6.49 6.49 0 0 0-6.488-6.488 6.49 6.49 0 0 0-6.488 6.488 6.49 6.49 0 0 0 6.488 6.488z"/></g><g fill="#7b83eb"><path d="M52.884 39.744c5.176 0 9.372-4.196 9.372-9.372S58.06 21 52.884 21s-9.372 4.196-9.372 9.372 4.196 9.372 9.372 9.372zm12.496 2.884H38.945a2.71 2.71 0 0 0-2.643 2.773v16.638c-.209 8.972 6.889 16.417 15.86 16.636 8.971-.22 16.069-7.665 15.861-16.636V45.401a2.71 2.71 0 0 0-2.643-2.773z"/></g><g fill="#000"><path opacity=".1" d="M53.605 42.628v23.315c-.007 1.069-.655 2.03-1.644 2.437-.315.133-.653.202-.995.202H37.571l-.505-1.442c-.505-1.654-.762-3.375-.764-5.104V45.396c-.035-1.493 1.146-2.731 2.639-2.768h14.664z"/><path opacity=".2" d="M52.163 42.628v24.757c0 .342-.069.68-.202.995-.407.989-1.368 1.636-2.437 1.644H38.249l-.678-1.442a14.29 14.29 0 0 1-.505-1.442c-.505-1.654-.762-3.375-.764-5.104V45.396c-.035-1.493 1.146-2.731 2.639-2.768h13.222z"/><path opacity=".2" d="M52.163 42.628v21.873a2.66 2.66 0 0 1-2.639 2.639H37.067c-.505-1.654-.762-3.375-.764-5.104V45.396c-.035-1.493 1.146-2.731 2.639-2.768h13.222z"/><path opacity=".2" d="M50.721 42.628v21.873a2.66 2.66 0 0 1-2.639 2.639H37.067c-.505-1.654-.762-3.375-.764-5.104V45.396c-.035-1.493 1.146-2.731 2.639-2.768h11.78z"/><path opacity=".1" d="M53.605 35.174v4.542l-.721.029c-.245 0-.476-.014-.721-.029a7.91 7.91 0 0 1-1.442-.231 9.37 9.37 0 0 1-6.488-5.508c-.199-.465-.353-.948-.462-1.442h7.195a2.65 2.65 0 0 1 2.639 2.638z"/><use xlink:href="#C" opacity=".2"/><use xlink:href="#C" opacity=".2"/><path opacity=".2" d="M50.721 36.615v2.869a9.37 9.37 0 0 1-6.488-5.508h3.85a2.65 2.65 0 0 1 2.639 2.639z"/></g><path d="M21.643 33.977h26.435c1.46 0 2.643 1.183 2.643 2.643v26.435c0 1.46-1.183 2.643-2.643 2.643H21.643c-1.46 0-2.643-1.183-2.643-2.643V36.62c0-1.46 1.183-2.643 2.643-2.643z" fill="url(#A)"/><path d="M41.816 44.038h-5.284v14.39h-3.367v-14.39h-5.26v-2.791h13.911v2.791z" fill="#fff"/></g><defs><linearGradient id="A" x1="24.511" y1="31.911" x2="45.21" y2="67.763" gradientUnits="userSpaceOnUse"><stop stop-color="#5a62c3"/><stop offset=".5" stop-color="#4d55bd"/><stop offset="1" stop-color="#3940ab"/></linearGradient><clipPath id="B"><path fill="#fff" transform="translate(19 21)" d="M0 0h62v57.674H0z"/></clipPath><path id="C" d="M52.163 36.615v3.1a7.91 7.91 0 0 1-1.442-.231 9.37 9.37 0 0 1-6.489-5.508h5.292a2.65 2.65 0 0 1 2.639 2.639z"/></defs></svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="62" height="62" viewBox="19 19 62 62" fill="none"><path d="M19 39.46C19 28.16 28.16 19 39.46 19h21.08C71.84 19 81 28.16 81 39.46v21.08C81 71.84 71.84 81 60.54 81H39.46C28.16 81 19 71.84 19 60.54V39.46z" fill="url(#A)"/><path d="M32.764 42.56a2.23 2.23 0 0 1 2.232-2.232h16.678c3.287 0 5.952 2.665 5.952 5.952v11.16a2.23 2.23 0 0 1-2.232 2.232H38.716c-3.287 0-5.952-2.665-5.952-5.952V42.56zm26.164 4.981a3.75 3.75 0 0 1 1.348-2.876l4.163-3.454c1.581-1.312 2.859-.706 2.859 1.348v14.88c0 2.054-1.278 2.66-2.859 1.348l-4.163-3.454a3.75 3.75 0 0 1-1.348-2.876v-4.918z" fill="#fff"/><defs><linearGradient id="A" x1="50" y1="-49.26" x2="50" y2="148.862" gradientUnits="userSpaceOnUse"><stop stop-color="#57a2ff"/><stop offset="1" stop-color="#3c82fb"/></linearGradient></defs></svg>

After

Width:  |  Height:  |  Size: 823 B

View file

@ -162,6 +162,21 @@ const workplaceSearchIntegrations: WorkplaceSearchIntegration[] = [
),
categories: ['productivity'],
},
{
id: 'network_drive',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.networkDriveName', {
defaultMessage: 'Network Drive',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.networkDriveDescription',
{
defaultMessage:
'Search over your files and folders stored on network drives with Enterprise Search.',
}
),
categories: ['enterprise_search', 'file_storage'],
uiInternalPath: '/app/enterprise_search/workplace_search/sources/add/network_drive',
},
{
id: 'onedrive',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.onedriveName', {
@ -176,6 +191,20 @@ const workplaceSearchIntegrations: WorkplaceSearchIntegration[] = [
categories: ['file_storage'],
uiInternalPath: '/app/enterprise_search/workplace_search/sources/add/one_drive',
},
{
id: 'outlook',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.outlookName', {
defaultMessage: 'Outlook',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.outlookDescription',
{
defaultMessage: 'Search over your email and calendars with Enterprise Search.',
}
),
categories: ['enterprise_search', 'microsoft_365', 'communications', 'productivity'],
uiInternalPath: '/app/enterprise_search/workplace_search/sources/add/outlook',
},
{
id: 'salesforce',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.salesforceName', {
@ -266,6 +295,21 @@ const workplaceSearchIntegrations: WorkplaceSearchIntegration[] = [
),
categories: ['communications'],
},
{
id: 'teams',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.teamsName', {
defaultMessage: 'Teams',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.teamsDescription',
{
defaultMessage:
'Search over meeting recordings, chats and other communications with Enterprise Search.',
}
),
categories: ['enterprise_search', 'microsoft_365', 'communications', 'productivity'],
uiInternalPath: '/app/enterprise_search/workplace_search/sources/add/teams',
},
{
id: 'zendesk',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.zendeskName', {
@ -279,6 +323,21 @@ const workplaceSearchIntegrations: WorkplaceSearchIntegration[] = [
),
categories: ['communications'],
},
{
id: 'zoom',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.zoomName', {
defaultMessage: 'Zoom',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.zoomDescription',
{
defaultMessage:
'Search over meeting recordings, chats and other communications with Enterprise Search.',
}
),
categories: ['enterprise_search', 'communications', 'productivity'],
uiInternalPath: '/app/enterprise_search/workplace_search/sources/add/zoom',
},
{
id: 'custom_api_source',
title: i18n.translate(