Skip to content

Commit

Permalink
Revert "Add essql search strategy and integrate in canvas (#94754)"
Browse files Browse the repository at this point in the history
This reverts commit 2628cea.
  • Loading branch information
jbudz committed Apr 29, 2021
1 parent 613267f commit 0f15a12
Show file tree
Hide file tree
Showing 33 changed files with 18 additions and 603 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,4 @@ export const stackManagementSchema: MakeSchemaFrom<UsageStats> = {
type: 'boolean',
_meta: { description: 'Non-default value of setting.' },
},
'labs:canvas:useDataService': {
type: 'boolean',
_meta: { description: 'Non-default value of setting.' },
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,5 @@ export interface UsageStats {
'banners:textColor': string;
'banners:backgroundColor': string;
'labs:canvas:enable_ui': boolean;
'labs:canvas:useDataService': boolean;
'labs:presentation:timeToPresent': boolean;
}
19 changes: 1 addition & 18 deletions src/plugins/presentation_util/common/labs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@

import { i18n } from '@kbn/i18n';

export const USE_DATA_SERVICE = 'labs:canvas:useDataService';
export const TIME_TO_PRESENT = 'labs:presentation:timeToPresent';

export const projectIDs = [TIME_TO_PRESENT, USE_DATA_SERVICE] as const;
export const projectIDs = [TIME_TO_PRESENT] as const;
export const environmentNames = ['kibana', 'browser', 'session'] as const;
export const solutionNames = ['canvas', 'dashboard', 'presentation'] as const;

Expand All @@ -33,22 +32,6 @@ export const projects: { [ID in ProjectID]: ProjectConfig & { id: ID } } = {
}),
solutions: ['canvas'],
},
[USE_DATA_SERVICE]: {
id: USE_DATA_SERVICE,
isActive: true,
isDisplayed: true,
environments: ['kibana', 'browser', 'session'],
name: i18n.translate('presentationUtil.experiments.enableUseDataServiceExperimentName', {
defaultMessage: 'Use data service',
}),
description: i18n.translate(
'presentationUtil.experiments.enableUseDataServiceExperimentDescription',
{
defaultMessage: 'An experiment of using the new data.search service for Canvas datasources',
}
),
solutions: ['canvas'],
},
};

export type ProjectID = typeof projectIDs[number];
Expand Down
6 changes: 0 additions & 6 deletions src/plugins/telemetry/schema/oss_plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -8342,12 +8342,6 @@
"_meta": {
"description": "Non-default value of setting."
}
},
"labs:canvas:useDataService": {
"type": "boolean",
"_meta": {
"description": "Non-default value of setting."
}
}
}
},
Expand Down

This file was deleted.

141 changes: 0 additions & 141 deletions x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts

This file was deleted.

Loading

0 comments on commit 0f15a12

Please sign in to comment.