[Workplace Search] Hide integration tiles for service not launching with 8.3.0 (#134931)

This commit is contained in:
Byron Hulcher 2022-06-23 07:48:41 -04:00 committed by GitHub
parent ad10bf1334
commit be71c903b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 7 additions and 116 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(42);
expect(resp.body.length).to.be(39);
// Test for sample data card
expect(resp.body.findIndex((c: { id: string }) => c.id === 'sample_data_all')).to.be.above(

View file

@ -18,15 +18,12 @@ import jiraServer from './jira_server.svg';
import loadingSmall from './loading_small.svg';
import networkDrive from './network_drive.svg';
import oneDrive from './onedrive.svg';
import outlook from './outlook.svg';
import salesforce from './salesforce.svg';
import serviceNow from './servicenow.svg';
import sharePoint from './sharepoint.svg';
import sharePointServer from './sharepoint_server.svg';
import slack from './slack.svg';
import teams from './teams.svg';
import zendesk from './zendesk.svg';
import zoom from './zoom.svg';
export const images = {
box,
@ -48,14 +45,11 @@ export const images = {
loadingSmall,
networkDrive,
oneDrive,
outlook,
salesforce,
salesforceSandbox: salesforce,
serviceNow,
sharePoint,
sharePointServer,
slack,
teams,
zendesk,
zoom,
} as { [key: string]: string };

View file

@ -1 +0,0 @@
<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>

Before

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -1 +0,0 @@
<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>

Before

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -1 +0,0 @@
<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>

Before

Width:  |  Height:  |  Size: 823 B

View file

@ -26,7 +26,7 @@ describe('AvailableSourcesList', () => {
const wrapper = shallow(<AvailableSourcesList sources={mergedAvailableSources} />);
expect(wrapper.find(EuiTitle)).toHaveLength(1);
expect(wrapper.find('[data-test-subj="AvailableSourceListItem"]')).toHaveLength(26);
expect(wrapper.find('[data-test-subj="AvailableSourceListItem"]')).toHaveLength(23);
expect(wrapper.find('[data-test-subj="CustomAPISourceLink"]')).toHaveLength(1);
});

View file

@ -26,9 +26,9 @@ describe('ConfiguredSourcesList', () => {
it('renders', () => {
const wrapper = shallow(<ConfiguredSourcesList {...props} />);
expect(wrapper.find('[data-test-subj="UnConnectedTooltip"]')).toHaveLength(22);
expect(wrapper.find('[data-test-subj="UnConnectedTooltip"]')).toHaveLength(19);
expect(wrapper.find('[data-test-subj="AccountOnlyTooltip"]')).toHaveLength(2);
expect(wrapper.find('[data-test-subj="ConfiguredSourcesListItem"]')).toHaveLength(25);
expect(wrapper.find('[data-test-subj="ConfiguredSourcesListItem"]')).toHaveLength(22);
});
it('shows connect button for an source with multiple connector options that routes to choice page', () => {

View file

@ -40,9 +40,9 @@ describe('ConnectInstance', () => {
redirectFormCreated();
});
const credentialsSourceData = staticSourceData[16]; // service_now
const credentialsSourceData = staticSourceData[15]; // service_now
const oauthSourceData = staticSourceData[0]; // box
const subdomainSourceData = staticSourceData[22]; // zendesk
const subdomainSourceData = staticSourceData[20]; // zendesk
const props = {
...credentialsSourceData,

View file

@ -474,25 +474,6 @@ export const staticSourceData: SourceDataItem[] = [
},
accountContextOnly: false,
},
{
name: SOURCE_NAMES.OUTLOOK,
categories: [
SOURCE_CATEGORIES.COMMUNICATION,
SOURCE_CATEGORIES.PRODUCTIVITY,
SOURCE_CATEGORIES.MICROSOFT,
],
serviceType: 'custom',
baseServiceType: 'outlook',
configuration: {
isPublicKey: false,
hasOauthRedirect: false,
needsBaseUrl: false,
documentationUrl: docLinks.workplaceSearchOutlook,
applicationPortalUrl: '',
githubRepository: 'elastic/enterprise-search-outlook-connector',
},
accountContextOnly: false,
},
{
name: SOURCE_NAMES.SALESFORCE,
serviceType: 'salesforce',
@ -721,25 +702,6 @@ export const staticSourceData: SourceDataItem[] = [
},
accountContextOnly: true,
},
{
name: SOURCE_NAMES.TEAMS,
categories: [
SOURCE_CATEGORIES.COMMUNICATION,
SOURCE_CATEGORIES.PRODUCTIVITY,
SOURCE_CATEGORIES.MICROSOFT,
],
serviceType: 'custom',
baseServiceType: 'teams',
configuration: {
isPublicKey: false,
hasOauthRedirect: false,
needsBaseUrl: false,
documentationUrl: docLinks.workplaceSearchTeams,
applicationPortalUrl: '',
githubRepository: 'elastic/enterprise-search-teams-connector',
},
accountContextOnly: false,
},
{
name: SOURCE_NAMES.ZENDESK,
serviceType: 'zendesk',
@ -774,21 +736,6 @@ export const staticSourceData: SourceDataItem[] = [
},
accountContextOnly: false,
},
{
name: SOURCE_NAMES.ZOOM,
categories: [SOURCE_CATEGORIES.COMMUNICATION, SOURCE_CATEGORIES.PRODUCTIVITY],
serviceType: 'custom',
baseServiceType: 'zoom',
configuration: {
isPublicKey: false,
hasOauthRedirect: false,
needsBaseUrl: false,
documentationUrl: docLinks.workplaceSearchZoom,
applicationPortalUrl: '',
githubRepository: 'elastic/enterprise-search-zoom-connector',
},
accountContextOnly: false,
},
staticGenericExternalSourceData,
];

View file

@ -335,7 +335,7 @@ describe('SourcesLogic', () => {
it('availableSources & configuredSources have correct length', () => {
SourcesLogic.actions.onInitializeSources(serverResponse);
expect(SourcesLogic.values.availableSources).toHaveLength(17);
expect(SourcesLogic.values.availableSources).toHaveLength(14);
expect(SourcesLogic.values.configuredSources).toHaveLength(5);
});
it('externalConfigured is set to true if external is configured', () => {

View file

@ -1 +0,0 @@
<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>

Before

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -1 +0,0 @@
<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>

Before

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -1 +0,0 @@
<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>

Before

Width:  |  Height:  |  Size: 823 B

View file

@ -191,20 +191,6 @@ 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/custom',
},
{
id: 'salesforce',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.salesforceName', {
@ -295,21 +281,6 @@ 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/custom',
},
{
id: 'zendesk',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.zendeskName', {
@ -323,21 +294,6 @@ 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/custom',
},
];
export const registerEnterpriseSearchIntegrations = (