Skip to content

Commit

Permalink
Remove availability tab from irrelevant chart types
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Lee <[email protected]>
  • Loading branch information
eugenesk24 committed May 11, 2022
1 parent ee0487e commit 0bb2f0e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { LensIconChartPie } from '../../assets/chart_pie';
import { VizDataPanel } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/default_vis_editor';
import { ConfigEditor } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/json_editor';
import { ConfigValueOptions } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls';
import { ConfigAvailability } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_availability';

const sharedConfigs = getPlotlySharedConfigs();
const VIS_CATEGORY = getPlotlyCategory();
Expand Down Expand Up @@ -61,12 +60,6 @@ export const createBubbleVisDefinition = () => ({
editor: ConfigEditor,
content: [],
},
{
id: 'availability-panel',
name: 'Availability',
mapTo: 'availabilityConfig',
editor: ConfigAvailability,
},
],
},
icon: LensIconChartPie,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
ConfigThresholds,
ConfigGaugeValueOptions,
} from '../../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls';
import { ConfigAvailability } from '../../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_availability';

const sharedConfigs = getPlotlySharedConfigs();
const VIS_CATEGORY = getPlotlyCategory();
Expand Down Expand Up @@ -78,12 +77,6 @@ export const createGaugeTypeDefinition = (params: any = {}) => ({
editor: ConfigEditor,
content: [],
},
{
id: 'availability-panel',
name: 'Availability',
mapTo: 'availabilityConfig',
editor: ConfigAvailability,
},
],
},
visConfig: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { LensIconChartLine } from '../../assets/chart_line';
import { VizDataPanel } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/default_vis_editor';
import { ConfigEditor } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/json_editor';
import { ConfigValueOptions } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls';
import { ConfigAvailability } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_availability';

const sharedConfigs = getPlotlySharedConfigs();
const VIS_CATEGORY = getPlotlyCategory();
Expand Down Expand Up @@ -63,12 +62,6 @@ export const createHistogramVisDefinition = (params = {}) => ({
editor: ConfigEditor,
content: [],
},
{
id: 'availability-panel',
name: 'Availability',
mapTo: 'availabilityConfig',
editor: ConfigAvailability,
},
],
},
visConfig: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { LensIconChartPie } from '../../assets/chart_pie';
import { VizDataPanel } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/default_vis_editor';
import { ConfigEditor } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/json_editor';
import { ConfigValueOptions } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls';
import { ConfigAvailability } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_availability';

const sharedConfigs = getPlotlySharedConfigs();
const VIS_CATEGORY = getPlotlyCategory();
Expand Down Expand Up @@ -57,12 +56,6 @@ export const createMapsVisDefinition = () => ({
editor: ConfigEditor,
content: [],
},
{
id: 'availability-panel',
name: 'Availability',
mapTo: 'availabilityConfig',
editor: ConfigAvailability,
},
],
},
visConfig: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { LensIconChartBar } from '../../assets/chart_bar';
import { VizDataPanel } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/default_vis_editor';
import { ConfigEditor } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/json_editor';
import { ConfigValueOptions } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls';
import { ConfigAvailability } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_availability';

const sharedConfigs = getPlotlySharedConfigs();
const VIS_CATEGORY = getPlotlyCategory();
Expand Down Expand Up @@ -68,12 +67,6 @@ export const createTreeMapDefinition = (params: BarTypeParams = {}) => ({
editor: ConfigEditor,
content: [],
},
{
id: 'availability-panel',
name: 'Availability',
mapTo: 'availabilityConfig',
editor: ConfigAvailability,
},
],
},
visConfig: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { PLOTLY_COLOR } from '../../../../../common/constants/shared';
import { VizDataPanel } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/default_vis_editor';
import { ConfigEditor } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/json_editor';
import { ConfigValueOptions } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls';
import { ConfigAvailability } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_availability';

const sharedConfigs = getPlotlySharedConfigs();
const VIS_CATEGORY = getPlotlyCategory();
Expand Down Expand Up @@ -89,12 +88,6 @@ export const createPieTypeDefinition = (params: any) => ({
editor: ConfigEditor,
content: [],
},
{
id: 'availability-panel',
name: 'Availability',
mapTo: 'availabilityConfig',
editor: ConfigAvailability,
},
],
},
visConfig: {
Expand Down

0 comments on commit 0bb2f0e

Please sign in to comment.