From 839a1968f5ca7b72d77b1fc0f151f017e440d7d3 Mon Sep 17 00:00:00 2001 From: Vacha Shah Date: Wed, 2 Jun 2021 10:53:58 -0700 Subject: [PATCH] Renaming input_control_vis, legacy_export plugin folder to kebab-case Signed-off-by: Vacha Shah --- .i18nrc.json | 2 +- .../{input_control_vis => input-control-vis}/README.md | 0 .../opensearch_dashboards.json | 0 .../public/__snapshots__/input_control_fn.test.ts.snap | 0 .../editor/__snapshots__/controls_tab.test.tsx.snap | 0 .../editor/__snapshots__/list_control_editor.test.tsx.snap | 0 .../editor/__snapshots__/options_tab.test.tsx.snap | 0 .../editor/__snapshots__/range_control_editor.test.tsx.snap | 0 .../public/components/editor/_control_editor.scss | 0 .../public/components/editor/_index.scss | 0 .../public/components/editor/control_editor.tsx | 0 .../public/components/editor/controls_tab.test.tsx | 2 +- .../public/components/editor/controls_tab.tsx | 0 .../public/components/editor/field_select.tsx | 0 .../components/editor/index_pattern_select_form_row.tsx | 0 .../public/components/editor/list_control_editor.test.tsx | 4 ++-- .../public/components/editor/list_control_editor.tsx | 0 .../public/components/editor/options_tab.test.tsx | 0 .../public/components/editor/options_tab.tsx | 0 .../public/components/editor/range_control_editor.test.tsx | 4 ++-- .../public/components/editor/range_control_editor.tsx | 0 .../components/vis/__snapshots__/form_row.test.tsx.snap | 0 .../vis/__snapshots__/input_control_vis.test.tsx.snap | 0 .../components/vis/__snapshots__/list_control.test.tsx.snap | 0 .../vis/__snapshots__/range_control.test.tsx.snap | 0 .../public/components/vis/_index.scss | 0 .../public/components/vis/_vis.scss | 0 .../public/components/vis/form_row.test.tsx | 0 .../public/components/vis/form_row.tsx | 0 .../public/components/vis/input_control_vis.test.tsx | 0 .../public/components/vis/input_control_vis.tsx | 0 .../public/components/vis/list_control.test.tsx | 0 .../public/components/vis/list_control.tsx | 0 .../public/components/vis/range_control.test.tsx | 0 .../public/components/vis/range_control.tsx | 0 .../public/control/control.test.ts | 2 +- .../public/control/control.ts | 6 +++--- .../public/control/control_factory.ts | 0 .../public/control/create_search_source.ts | 0 .../public/control/filter-manager}/filter_manager.test.ts | 0 .../public/control/filter-manager}/filter_manager.ts | 0 .../control/filter-manager}/phrase_filter_manager.test.ts | 0 .../public/control/filter-manager}/phrase_filter_manager.ts | 0 .../control/filter-manager}/range_filter_manager.test.ts | 0 .../public/control/filter-manager}/range_filter_manager.ts | 0 .../public/control/list_control_factory.test.ts | 2 +- .../public/control/list_control_factory.ts | 2 +- .../public/control/range_control_factory.test.ts | 2 +- .../public/control/range_control_factory.ts | 2 +- .../public/editor_utils.ts | 0 .../public/index.scss | 0 .../public/index.ts | 0 .../public/input_control_fn.test.ts | 0 .../public/input_control_fn.ts | 0 .../public/input_control_vis_type.ts | 0 .../public/lineage/index.ts | 0 .../public/lineage/lineage_map.test.ts | 0 .../public/lineage/lineage_map.ts | 0 .../public/lineage/parent_candidates.test.ts | 0 .../public/lineage/parent_candidates.ts | 0 .../public/plugin.ts | 0 .../public/test-utils}/get_deps_mock.tsx | 0 .../public/test-utils}/get_index_pattern_mock.ts | 0 .../public/test-utils}/get_index_patterns_mock.ts | 0 .../public/test-utils}/get_search_service_mock.ts | 0 .../public/test-utils}/index.ts | 0 .../public/test-utils}/update_component.ts | 0 .../public/vis_controller.tsx | 0 .../server/index.ts | 0 .../opensearch_dashboards.json | 0 .../{legacy_export => legacy-export}/server/index.ts | 0 .../server/lib/export/collect_references_deep.test.ts | 0 .../server/lib/export/collect_references_deep.ts | 0 .../server/lib/export/export_dashboards.ts | 0 .../server/lib/import/import_dashboards.test.ts | 0 .../server/lib/import/import_dashboards.ts | 0 .../{legacy_export => legacy-export}/server/lib/index.ts | 0 .../{legacy_export => legacy-export}/server/plugin.ts | 0 .../server/routes/export.ts | 0 .../server/routes/import.ts | 0 .../{legacy_export => legacy-export}/server/routes/index.ts | 0 81 files changed, 14 insertions(+), 14 deletions(-) rename src/plugins/{input_control_vis => input-control-vis}/README.md (100%) rename src/plugins/{input_control_vis => input-control-vis}/opensearch_dashboards.json (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/__snapshots__/input_control_fn.test.ts.snap (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/__snapshots__/controls_tab.test.tsx.snap (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/__snapshots__/options_tab.test.tsx.snap (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/_control_editor.scss (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/_index.scss (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/control_editor.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/controls_tab.test.tsx (98%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/controls_tab.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/field_select.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/index_pattern_select_form_row.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/list_control_editor.test.tsx (98%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/list_control_editor.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/options_tab.test.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/options_tab.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/range_control_editor.test.tsx (98%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/editor/range_control_editor.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/__snapshots__/form_row.test.tsx.snap (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/__snapshots__/list_control.test.tsx.snap (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/__snapshots__/range_control.test.tsx.snap (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/_index.scss (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/_vis.scss (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/form_row.test.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/form_row.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/input_control_vis.test.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/input_control_vis.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/list_control.test.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/list_control.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/range_control.test.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/components/vis/range_control.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/control/control.test.ts (98%) rename src/plugins/{input_control_vis => input-control-vis}/public/control/control.ts (96%) rename src/plugins/{input_control_vis => input-control-vis}/public/control/control_factory.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/control/create_search_source.ts (100%) rename src/plugins/{input_control_vis/public/control/filter_manager => input-control-vis/public/control/filter-manager}/filter_manager.test.ts (100%) rename src/plugins/{input_control_vis/public/control/filter_manager => input-control-vis/public/control/filter-manager}/filter_manager.ts (100%) rename src/plugins/{input_control_vis/public/control/filter_manager => input-control-vis/public/control/filter-manager}/phrase_filter_manager.test.ts (100%) rename src/plugins/{input_control_vis/public/control/filter_manager => input-control-vis/public/control/filter-manager}/phrase_filter_manager.ts (100%) rename src/plugins/{input_control_vis/public/control/filter_manager => input-control-vis/public/control/filter-manager}/range_filter_manager.test.ts (100%) rename src/plugins/{input_control_vis/public/control/filter_manager => input-control-vis/public/control/filter-manager}/range_filter_manager.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/control/list_control_factory.test.ts (98%) rename src/plugins/{input_control_vis => input-control-vis}/public/control/list_control_factory.ts (99%) rename src/plugins/{input_control_vis => input-control-vis}/public/control/range_control_factory.test.ts (98%) rename src/plugins/{input_control_vis => input-control-vis}/public/control/range_control_factory.ts (98%) rename src/plugins/{input_control_vis => input-control-vis}/public/editor_utils.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/index.scss (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/index.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/input_control_fn.test.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/input_control_fn.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/input_control_vis_type.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/lineage/index.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/lineage/lineage_map.test.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/lineage/lineage_map.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/lineage/parent_candidates.test.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/lineage/parent_candidates.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/plugin.ts (100%) rename src/plugins/{input_control_vis/public/test_utils => input-control-vis/public/test-utils}/get_deps_mock.tsx (100%) rename src/plugins/{input_control_vis/public/test_utils => input-control-vis/public/test-utils}/get_index_pattern_mock.ts (100%) rename src/plugins/{input_control_vis/public/test_utils => input-control-vis/public/test-utils}/get_index_patterns_mock.ts (100%) rename src/plugins/{input_control_vis/public/test_utils => input-control-vis/public/test-utils}/get_search_service_mock.ts (100%) rename src/plugins/{input_control_vis/public/test_utils => input-control-vis/public/test-utils}/index.ts (100%) rename src/plugins/{input_control_vis/public/test_utils => input-control-vis/public/test-utils}/update_component.ts (100%) rename src/plugins/{input_control_vis => input-control-vis}/public/vis_controller.tsx (100%) rename src/plugins/{input_control_vis => input-control-vis}/server/index.ts (100%) rename src/plugins/{legacy_export => legacy-export}/opensearch_dashboards.json (100%) rename src/plugins/{legacy_export => legacy-export}/server/index.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/lib/export/collect_references_deep.test.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/lib/export/collect_references_deep.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/lib/export/export_dashboards.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/lib/import/import_dashboards.test.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/lib/import/import_dashboards.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/lib/index.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/plugin.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/routes/export.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/routes/import.ts (100%) rename src/plugins/{legacy_export => legacy-export}/server/routes/index.ts (100%) diff --git a/.i18nrc.json b/.i18nrc.json index 71c7970affa4..f3ab56605057 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -16,7 +16,7 @@ "opensearchUi": "src/plugins/opensearch_ui_shared", "devTools": "src/plugins/dev_tools", "expressions": "src/plugins/expressions", - "inputControl": "src/plugins/input_control_vis", + "inputControl": "src/plugins/input-control-vis", "inspector": "src/plugins/inspector", "inspectorViews": "src/legacy/core_plugins/inspector_views", "interpreter": "src/legacy/core_plugins/interpreter", diff --git a/src/plugins/input_control_vis/README.md b/src/plugins/input-control-vis/README.md similarity index 100% rename from src/plugins/input_control_vis/README.md rename to src/plugins/input-control-vis/README.md diff --git a/src/plugins/input_control_vis/opensearch_dashboards.json b/src/plugins/input-control-vis/opensearch_dashboards.json similarity index 100% rename from src/plugins/input_control_vis/opensearch_dashboards.json rename to src/plugins/input-control-vis/opensearch_dashboards.json diff --git a/src/plugins/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap b/src/plugins/input-control-vis/public/__snapshots__/input_control_fn.test.ts.snap similarity index 100% rename from src/plugins/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap rename to src/plugins/input-control-vis/public/__snapshots__/input_control_fn.test.ts.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap b/src/plugins/input-control-vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap rename to src/plugins/input-control-vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap b/src/plugins/input-control-vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap rename to src/plugins/input-control-vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap b/src/plugins/input-control-vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap rename to src/plugins/input-control-vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap b/src/plugins/input-control-vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap rename to src/plugins/input-control-vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/_control_editor.scss b/src/plugins/input-control-vis/public/components/editor/_control_editor.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/_control_editor.scss rename to src/plugins/input-control-vis/public/components/editor/_control_editor.scss diff --git a/src/plugins/input_control_vis/public/components/editor/_index.scss b/src/plugins/input-control-vis/public/components/editor/_index.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/_index.scss rename to src/plugins/input-control-vis/public/components/editor/_index.scss diff --git a/src/plugins/input_control_vis/public/components/editor/control_editor.tsx b/src/plugins/input-control-vis/public/components/editor/control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/control_editor.tsx rename to src/plugins/input-control-vis/public/components/editor/control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx b/src/plugins/input-control-vis/public/components/editor/controls_tab.test.tsx similarity index 98% rename from src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx rename to src/plugins/input-control-vis/public/components/editor/controls_tab.test.tsx index 8ddc41ab52f8..d1816484722b 100644 --- a/src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx +++ b/src/plugins/input-control-vis/public/components/editor/controls_tab.test.tsx @@ -33,7 +33,7 @@ import React from 'react'; import { shallowWithIntl, mountWithIntl } from 'test_utils/enzyme_helpers'; import { findTestSubject } from '@elastic/eui/lib/test'; -import { getDepsMock, getIndexPatternMock } from '../../test_utils'; +import { getDepsMock, getIndexPatternMock } from '../../test-utils'; import { ControlsTab, ControlsTabUiProps } from './controls_tab'; import { Vis } from '../../../../visualizations/public'; diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx b/src/plugins/input-control-vis/public/components/editor/controls_tab.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/controls_tab.tsx rename to src/plugins/input-control-vis/public/components/editor/controls_tab.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/field_select.tsx b/src/plugins/input-control-vis/public/components/editor/field_select.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/field_select.tsx rename to src/plugins/input-control-vis/public/components/editor/field_select.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx b/src/plugins/input-control-vis/public/components/editor/index_pattern_select_form_row.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx rename to src/plugins/input-control-vis/public/components/editor/index_pattern_select_form_row.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx b/src/plugins/input-control-vis/public/components/editor/list_control_editor.test.tsx similarity index 98% rename from src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx rename to src/plugins/input-control-vis/public/components/editor/list_control_editor.test.tsx index c2a7e9110a2a..c10e2a100598 100644 --- a/src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx +++ b/src/plugins/input-control-vis/public/components/editor/list_control_editor.test.tsx @@ -37,10 +37,10 @@ import { shallow } from 'enzyme'; import { findTestSubject } from '@elastic/eui/lib/test'; import { mountWithIntl, shallowWithIntl } from 'test_utils/enzyme_helpers'; -import { getIndexPatternMock } from '../../test_utils/get_index_pattern_mock'; +import { getIndexPatternMock } from '../../test-utils/get_index_pattern_mock'; import { ListControlEditor } from './list_control_editor'; import { ControlParams } from '../../editor_utils'; -import { getDepsMock, updateComponent } from '../../test_utils'; +import { getDepsMock, updateComponent } from '../../test-utils'; const controlParamsBase: ControlParams = { id: '1', diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx b/src/plugins/input-control-vis/public/components/editor/list_control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx rename to src/plugins/input-control-vis/public/components/editor/list_control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx b/src/plugins/input-control-vis/public/components/editor/options_tab.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx rename to src/plugins/input-control-vis/public/components/editor/options_tab.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.tsx b/src/plugins/input-control-vis/public/components/editor/options_tab.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/options_tab.tsx rename to src/plugins/input-control-vis/public/components/editor/options_tab.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx b/src/plugins/input-control-vis/public/components/editor/range_control_editor.test.tsx similarity index 98% rename from src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx rename to src/plugins/input-control-vis/public/components/editor/range_control_editor.test.tsx index 4ae727212308..7050962bfc47 100644 --- a/src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx +++ b/src/plugins/input-control-vis/public/components/editor/range_control_editor.test.tsx @@ -39,8 +39,8 @@ import { findTestSubject } from '@elastic/eui/lib/test'; import { RangeControlEditor } from './range_control_editor'; import { ControlParams } from '../../editor_utils'; -import { getDepsMock } from '../../test_utils/get_deps_mock'; -import { getIndexPatternMock, updateComponent } from '../../test_utils'; +import { getDepsMock } from '../../test-utils/get_deps_mock'; +import { getIndexPatternMock, updateComponent } from '../../test-utils'; const controlParams: ControlParams = { id: '1', diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx b/src/plugins/input-control-vis/public/components/editor/range_control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx rename to src/plugins/input-control-vis/public/components/editor/range_control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap b/src/plugins/input-control-vis/public/components/vis/__snapshots__/form_row.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap rename to src/plugins/input-control-vis/public/components/vis/__snapshots__/form_row.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap b/src/plugins/input-control-vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap rename to src/plugins/input-control-vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap b/src/plugins/input-control-vis/public/components/vis/__snapshots__/list_control.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap rename to src/plugins/input-control-vis/public/components/vis/__snapshots__/list_control.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap b/src/plugins/input-control-vis/public/components/vis/__snapshots__/range_control.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap rename to src/plugins/input-control-vis/public/components/vis/__snapshots__/range_control.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/_index.scss b/src/plugins/input-control-vis/public/components/vis/_index.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/_index.scss rename to src/plugins/input-control-vis/public/components/vis/_index.scss diff --git a/src/plugins/input_control_vis/public/components/vis/_vis.scss b/src/plugins/input-control-vis/public/components/vis/_vis.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/_vis.scss rename to src/plugins/input-control-vis/public/components/vis/_vis.scss diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.test.tsx b/src/plugins/input-control-vis/public/components/vis/form_row.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/form_row.test.tsx rename to src/plugins/input-control-vis/public/components/vis/form_row.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.tsx b/src/plugins/input-control-vis/public/components/vis/form_row.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/form_row.tsx rename to src/plugins/input-control-vis/public/components/vis/form_row.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx b/src/plugins/input-control-vis/public/components/vis/input_control_vis.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx rename to src/plugins/input-control-vis/public/components/vis/input_control_vis.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx b/src/plugins/input-control-vis/public/components/vis/input_control_vis.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx rename to src/plugins/input-control-vis/public/components/vis/input_control_vis.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.test.tsx b/src/plugins/input-control-vis/public/components/vis/list_control.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/list_control.test.tsx rename to src/plugins/input-control-vis/public/components/vis/list_control.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.tsx b/src/plugins/input-control-vis/public/components/vis/list_control.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/list_control.tsx rename to src/plugins/input-control-vis/public/components/vis/list_control.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.test.tsx b/src/plugins/input-control-vis/public/components/vis/range_control.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/range_control.test.tsx rename to src/plugins/input-control-vis/public/components/vis/range_control.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.tsx b/src/plugins/input-control-vis/public/components/vis/range_control.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/range_control.tsx rename to src/plugins/input-control-vis/public/components/vis/range_control.tsx diff --git a/src/plugins/input_control_vis/public/control/control.test.ts b/src/plugins/input-control-vis/public/control/control.test.ts similarity index 98% rename from src/plugins/input_control_vis/public/control/control.test.ts rename to src/plugins/input-control-vis/public/control/control.test.ts index ad3a8c5b8d4d..b3d478764b52 100644 --- a/src/plugins/input_control_vis/public/control/control.test.ts +++ b/src/plugins/input-control-vis/public/control/control.test.ts @@ -33,7 +33,7 @@ import expect from '@osd/expect'; import { Control } from './control'; import { ControlParams } from '../editor_utils'; -import { FilterManager as BaseFilterManager } from './filter_manager/filter_manager'; +import { FilterManager as BaseFilterManager } from './filter-manager/filter_manager'; function createControlParams(id: string, label: string): ControlParams { return { diff --git a/src/plugins/input_control_vis/public/control/control.ts b/src/plugins/input-control-vis/public/control/control.ts similarity index 96% rename from src/plugins/input_control_vis/public/control/control.ts rename to src/plugins/input-control-vis/public/control/control.ts index 06ddcdbc4355..87e0d065b0a6 100644 --- a/src/plugins/input_control_vis/public/control/control.ts +++ b/src/plugins/input-control-vis/public/control/control.ts @@ -35,9 +35,9 @@ import { i18n } from '@osd/i18n'; import { Filter } from 'src/plugins/data/public'; import { ControlParams, ControlParamsOptions, CONTROL_TYPES } from '../editor_utils'; -import { RangeFilterManager } from './filter_manager/range_filter_manager'; -import { PhraseFilterManager } from './filter_manager/phrase_filter_manager'; -import { FilterManager as BaseFilterManager } from './filter_manager/filter_manager'; +import { RangeFilterManager } from './filter-manager/range_filter_manager'; +import { PhraseFilterManager } from './filter-manager/phrase_filter_manager'; +import { FilterManager as BaseFilterManager } from './filter-manager/filter_manager'; export function noValuesDisableMsg(fieldName: string, indexPatternName: string) { return i18n.translate('inputControl.control.noValuesDisableTooltip', { diff --git a/src/plugins/input_control_vis/public/control/control_factory.ts b/src/plugins/input-control-vis/public/control/control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control_factory.ts rename to src/plugins/input-control-vis/public/control/control_factory.ts diff --git a/src/plugins/input_control_vis/public/control/create_search_source.ts b/src/plugins/input-control-vis/public/control/create_search_source.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/create_search_source.ts rename to src/plugins/input-control-vis/public/control/create_search_source.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts b/src/plugins/input-control-vis/public/control/filter-manager/filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts rename to src/plugins/input-control-vis/public/control/filter-manager/filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts b/src/plugins/input-control-vis/public/control/filter-manager/filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts rename to src/plugins/input-control-vis/public/control/filter-manager/filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts b/src/plugins/input-control-vis/public/control/filter-manager/phrase_filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts rename to src/plugins/input-control-vis/public/control/filter-manager/phrase_filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts b/src/plugins/input-control-vis/public/control/filter-manager/phrase_filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts rename to src/plugins/input-control-vis/public/control/filter-manager/phrase_filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts b/src/plugins/input-control-vis/public/control/filter-manager/range_filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts rename to src/plugins/input-control-vis/public/control/filter-manager/range_filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts b/src/plugins/input-control-vis/public/control/filter-manager/range_filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts rename to src/plugins/input-control-vis/public/control/filter-manager/range_filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.test.ts b/src/plugins/input-control-vis/public/control/list_control_factory.test.ts similarity index 98% rename from src/plugins/input_control_vis/public/control/list_control_factory.test.ts rename to src/plugins/input-control-vis/public/control/list_control_factory.test.ts index cd802935fe71..222c4a23fd3a 100644 --- a/src/plugins/input_control_vis/public/control/list_control_factory.test.ts +++ b/src/plugins/input-control-vis/public/control/list_control_factory.test.ts @@ -32,7 +32,7 @@ import { listControlFactory, ListControl } from './list_control_factory'; import { ControlParams, CONTROL_TYPES } from '../editor_utils'; -import { getDepsMock, getSearchSourceMock } from '../test_utils'; +import { getDepsMock, getSearchSourceMock } from '../test-utils'; describe('listControlFactory', () => { const searchSourceMock = getSearchSourceMock(); diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.ts b/src/plugins/input-control-vis/public/control/list_control_factory.ts similarity index 99% rename from src/plugins/input_control_vis/public/control/list_control_factory.ts rename to src/plugins/input-control-vis/public/control/list_control_factory.ts index 3d33826be25b..48c20cc18923 100644 --- a/src/plugins/input_control_vis/public/control/list_control_factory.ts +++ b/src/plugins/input-control-vis/public/control/list_control_factory.ts @@ -39,7 +39,7 @@ import { DataPublicPluginStart, } from 'src/plugins/data/public'; import { Control, noValuesDisableMsg, noIndexPatternMsg } from './control'; -import { PhraseFilterManager } from './filter_manager/phrase_filter_manager'; +import { PhraseFilterManager } from './filter-manager/phrase_filter_manager'; import { createSearchSource } from './create_search_source'; import { ControlParams } from '../editor_utils'; import { InputControlSettings, InputControlVisDependencies } from '../plugin'; diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.test.ts b/src/plugins/input-control-vis/public/control/range_control_factory.test.ts similarity index 98% rename from src/plugins/input_control_vis/public/control/range_control_factory.test.ts rename to src/plugins/input-control-vis/public/control/range_control_factory.test.ts index 52eb2b6620b7..d8f1ac785d7a 100644 --- a/src/plugins/input_control_vis/public/control/range_control_factory.test.ts +++ b/src/plugins/input-control-vis/public/control/range_control_factory.test.ts @@ -32,7 +32,7 @@ import { rangeControlFactory } from './range_control_factory'; import { ControlParams, CONTROL_TYPES } from '../editor_utils'; -import { getDepsMock, getSearchSourceMock } from '../test_utils'; +import { getDepsMock, getSearchSourceMock } from '../test-utils'; describe('rangeControlFactory', () => { describe('fetch', () => { diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.ts b/src/plugins/input-control-vis/public/control/range_control_factory.ts similarity index 98% rename from src/plugins/input_control_vis/public/control/range_control_factory.ts rename to src/plugins/input-control-vis/public/control/range_control_factory.ts index 9b989f60fb7a..8367d086b7b9 100644 --- a/src/plugins/input_control_vis/public/control/range_control_factory.ts +++ b/src/plugins/input-control-vis/public/control/range_control_factory.ts @@ -35,7 +35,7 @@ import { i18n } from '@osd/i18n'; import { IFieldType, TimefilterContract, DataPublicPluginStart } from 'src/plugins/data/public'; import { Control, noValuesDisableMsg, noIndexPatternMsg } from './control'; -import { RangeFilterManager } from './filter_manager/range_filter_manager'; +import { RangeFilterManager } from './filter-manager/range_filter_manager'; import { createSearchSource } from './create_search_source'; import { ControlParams } from '../editor_utils'; import { InputControlVisDependencies } from '../plugin'; diff --git a/src/plugins/input_control_vis/public/editor_utils.ts b/src/plugins/input-control-vis/public/editor_utils.ts similarity index 100% rename from src/plugins/input_control_vis/public/editor_utils.ts rename to src/plugins/input-control-vis/public/editor_utils.ts diff --git a/src/plugins/input_control_vis/public/index.scss b/src/plugins/input-control-vis/public/index.scss similarity index 100% rename from src/plugins/input_control_vis/public/index.scss rename to src/plugins/input-control-vis/public/index.scss diff --git a/src/plugins/input_control_vis/public/index.ts b/src/plugins/input-control-vis/public/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/index.ts rename to src/plugins/input-control-vis/public/index.ts diff --git a/src/plugins/input_control_vis/public/input_control_fn.test.ts b/src/plugins/input-control-vis/public/input_control_fn.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_fn.test.ts rename to src/plugins/input-control-vis/public/input_control_fn.test.ts diff --git a/src/plugins/input_control_vis/public/input_control_fn.ts b/src/plugins/input-control-vis/public/input_control_fn.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_fn.ts rename to src/plugins/input-control-vis/public/input_control_fn.ts diff --git a/src/plugins/input_control_vis/public/input_control_vis_type.ts b/src/plugins/input-control-vis/public/input_control_vis_type.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_vis_type.ts rename to src/plugins/input-control-vis/public/input_control_vis_type.ts diff --git a/src/plugins/input_control_vis/public/lineage/index.ts b/src/plugins/input-control-vis/public/lineage/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/index.ts rename to src/plugins/input-control-vis/public/lineage/index.ts diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.test.ts b/src/plugins/input-control-vis/public/lineage/lineage_map.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/lineage_map.test.ts rename to src/plugins/input-control-vis/public/lineage/lineage_map.test.ts diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.ts b/src/plugins/input-control-vis/public/lineage/lineage_map.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/lineage_map.ts rename to src/plugins/input-control-vis/public/lineage/lineage_map.ts diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts b/src/plugins/input-control-vis/public/lineage/parent_candidates.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts rename to src/plugins/input-control-vis/public/lineage/parent_candidates.test.ts diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.ts b/src/plugins/input-control-vis/public/lineage/parent_candidates.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/parent_candidates.ts rename to src/plugins/input-control-vis/public/lineage/parent_candidates.ts diff --git a/src/plugins/input_control_vis/public/plugin.ts b/src/plugins/input-control-vis/public/plugin.ts similarity index 100% rename from src/plugins/input_control_vis/public/plugin.ts rename to src/plugins/input-control-vis/public/plugin.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx b/src/plugins/input-control-vis/public/test-utils/get_deps_mock.tsx similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx rename to src/plugins/input-control-vis/public/test-utils/get_deps_mock.tsx diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts b/src/plugins/input-control-vis/public/test-utils/get_index_pattern_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts rename to src/plugins/input-control-vis/public/test-utils/get_index_pattern_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts b/src/plugins/input-control-vis/public/test-utils/get_index_patterns_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts rename to src/plugins/input-control-vis/public/test-utils/get_index_patterns_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts b/src/plugins/input-control-vis/public/test-utils/get_search_service_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts rename to src/plugins/input-control-vis/public/test-utils/get_search_service_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/index.ts b/src/plugins/input-control-vis/public/test-utils/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/index.ts rename to src/plugins/input-control-vis/public/test-utils/index.ts diff --git a/src/plugins/input_control_vis/public/test_utils/update_component.ts b/src/plugins/input-control-vis/public/test-utils/update_component.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/update_component.ts rename to src/plugins/input-control-vis/public/test-utils/update_component.ts diff --git a/src/plugins/input_control_vis/public/vis_controller.tsx b/src/plugins/input-control-vis/public/vis_controller.tsx similarity index 100% rename from src/plugins/input_control_vis/public/vis_controller.tsx rename to src/plugins/input-control-vis/public/vis_controller.tsx diff --git a/src/plugins/input_control_vis/server/index.ts b/src/plugins/input-control-vis/server/index.ts similarity index 100% rename from src/plugins/input_control_vis/server/index.ts rename to src/plugins/input-control-vis/server/index.ts diff --git a/src/plugins/legacy_export/opensearch_dashboards.json b/src/plugins/legacy-export/opensearch_dashboards.json similarity index 100% rename from src/plugins/legacy_export/opensearch_dashboards.json rename to src/plugins/legacy-export/opensearch_dashboards.json diff --git a/src/plugins/legacy_export/server/index.ts b/src/plugins/legacy-export/server/index.ts similarity index 100% rename from src/plugins/legacy_export/server/index.ts rename to src/plugins/legacy-export/server/index.ts diff --git a/src/plugins/legacy_export/server/lib/export/collect_references_deep.test.ts b/src/plugins/legacy-export/server/lib/export/collect_references_deep.test.ts similarity index 100% rename from src/plugins/legacy_export/server/lib/export/collect_references_deep.test.ts rename to src/plugins/legacy-export/server/lib/export/collect_references_deep.test.ts diff --git a/src/plugins/legacy_export/server/lib/export/collect_references_deep.ts b/src/plugins/legacy-export/server/lib/export/collect_references_deep.ts similarity index 100% rename from src/plugins/legacy_export/server/lib/export/collect_references_deep.ts rename to src/plugins/legacy-export/server/lib/export/collect_references_deep.ts diff --git a/src/plugins/legacy_export/server/lib/export/export_dashboards.ts b/src/plugins/legacy-export/server/lib/export/export_dashboards.ts similarity index 100% rename from src/plugins/legacy_export/server/lib/export/export_dashboards.ts rename to src/plugins/legacy-export/server/lib/export/export_dashboards.ts diff --git a/src/plugins/legacy_export/server/lib/import/import_dashboards.test.ts b/src/plugins/legacy-export/server/lib/import/import_dashboards.test.ts similarity index 100% rename from src/plugins/legacy_export/server/lib/import/import_dashboards.test.ts rename to src/plugins/legacy-export/server/lib/import/import_dashboards.test.ts diff --git a/src/plugins/legacy_export/server/lib/import/import_dashboards.ts b/src/plugins/legacy-export/server/lib/import/import_dashboards.ts similarity index 100% rename from src/plugins/legacy_export/server/lib/import/import_dashboards.ts rename to src/plugins/legacy-export/server/lib/import/import_dashboards.ts diff --git a/src/plugins/legacy_export/server/lib/index.ts b/src/plugins/legacy-export/server/lib/index.ts similarity index 100% rename from src/plugins/legacy_export/server/lib/index.ts rename to src/plugins/legacy-export/server/lib/index.ts diff --git a/src/plugins/legacy_export/server/plugin.ts b/src/plugins/legacy-export/server/plugin.ts similarity index 100% rename from src/plugins/legacy_export/server/plugin.ts rename to src/plugins/legacy-export/server/plugin.ts diff --git a/src/plugins/legacy_export/server/routes/export.ts b/src/plugins/legacy-export/server/routes/export.ts similarity index 100% rename from src/plugins/legacy_export/server/routes/export.ts rename to src/plugins/legacy-export/server/routes/export.ts diff --git a/src/plugins/legacy_export/server/routes/import.ts b/src/plugins/legacy-export/server/routes/import.ts similarity index 100% rename from src/plugins/legacy_export/server/routes/import.ts rename to src/plugins/legacy-export/server/routes/import.ts diff --git a/src/plugins/legacy_export/server/routes/index.ts b/src/plugins/legacy-export/server/routes/index.ts similarity index 100% rename from src/plugins/legacy_export/server/routes/index.ts rename to src/plugins/legacy-export/server/routes/index.ts