diff --git a/.i18nrc.json b/.i18nrc.json index 71c7970affa4..a91586f94fb1 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -46,7 +46,7 @@ "src/plugins/telemetry", "src/plugins/telemetry_management_section" ], - "tileMap": "src/plugins/tile_map", + "tileMap": "src/plugins/tile-map", "timeline": ["src/plugins/timeline", "src/plugins/vis_type_timeline"], "uiActions": "src/plugins/ui_actions", "visDefaultEditor": "src/plugins/vis_default_editor", diff --git a/src/plugins/maps_legacy/config.ts b/src/plugins/maps_legacy/config.ts index 956a803eeb23..3d90b7302749 100644 --- a/src/plugins/maps_legacy/config.ts +++ b/src/plugins/maps_legacy/config.ts @@ -31,7 +31,7 @@ */ import { schema, TypeOf } from '@osd/config-schema'; -import { configSchema as tilemapSchema } from '../tile_map/config'; +import { configSchema as tilemapSchema } from '../tile-map/config'; import { configSchema as regionmapSchema } from '../region_map/config'; export const configSchema = schema.object({ diff --git a/src/plugins/tile_map/config.ts b/src/plugins/tile-map/config.ts similarity index 100% rename from src/plugins/tile_map/config.ts rename to src/plugins/tile-map/config.ts diff --git a/src/plugins/tile_map/opensearch_dashboards.json b/src/plugins/tile-map/opensearch_dashboards.json similarity index 100% rename from src/plugins/tile_map/opensearch_dashboards.json rename to src/plugins/tile-map/opensearch_dashboards.json diff --git a/src/plugins/tile_map/package.json b/src/plugins/tile-map/package.json similarity index 100% rename from src/plugins/tile_map/package.json rename to src/plugins/tile-map/package.json diff --git a/src/plugins/tile_map/public/__snapshots__/tilemap_fn.test.js.snap b/src/plugins/tile-map/public/__snapshots__/tilemap_fn.test.js.snap similarity index 100% rename from src/plugins/tile_map/public/__snapshots__/tilemap_fn.test.js.snap rename to src/plugins/tile-map/public/__snapshots__/tilemap_fn.test.js.snap diff --git a/src/plugins/tile_map/public/_tile_map.scss b/src/plugins/tile-map/public/_tile_map.scss similarity index 100% rename from src/plugins/tile_map/public/_tile_map.scss rename to src/plugins/tile-map/public/_tile_map.scss diff --git a/src/plugins/tile_map/public/components/tile_map_options.tsx b/src/plugins/tile-map/public/components/tile_map_options.tsx similarity index 100% rename from src/plugins/tile_map/public/components/tile_map_options.tsx rename to src/plugins/tile-map/public/components/tile_map_options.tsx diff --git a/src/plugins/tile_map/public/css_filters.js b/src/plugins/tile-map/public/css_filters.js similarity index 100% rename from src/plugins/tile_map/public/css_filters.js rename to src/plugins/tile-map/public/css_filters.js diff --git a/src/plugins/tile_map/public/geohash_layer.js b/src/plugins/tile-map/public/geohash_layer.js similarity index 100% rename from src/plugins/tile_map/public/geohash_layer.js rename to src/plugins/tile-map/public/geohash_layer.js diff --git a/src/plugins/tile_map/public/get_deprecation_message.tsx b/src/plugins/tile-map/public/get_deprecation_message.tsx similarity index 100% rename from src/plugins/tile_map/public/get_deprecation_message.tsx rename to src/plugins/tile-map/public/get_deprecation_message.tsx diff --git a/src/plugins/tile_map/public/index.scss b/src/plugins/tile-map/public/index.scss similarity index 100% rename from src/plugins/tile_map/public/index.scss rename to src/plugins/tile-map/public/index.scss diff --git a/src/plugins/tile_map/public/index.ts b/src/plugins/tile-map/public/index.ts similarity index 100% rename from src/plugins/tile_map/public/index.ts rename to src/plugins/tile-map/public/index.ts diff --git a/src/plugins/tile_map/public/markers/geohash_grid.js b/src/plugins/tile-map/public/markers/geohash_grid.js similarity index 100% rename from src/plugins/tile_map/public/markers/geohash_grid.js rename to src/plugins/tile-map/public/markers/geohash_grid.js diff --git a/src/plugins/tile_map/public/markers/heatmap.js b/src/plugins/tile-map/public/markers/heatmap.js similarity index 100% rename from src/plugins/tile_map/public/markers/heatmap.js rename to src/plugins/tile-map/public/markers/heatmap.js diff --git a/src/plugins/tile_map/public/markers/scaled_circles.js b/src/plugins/tile-map/public/markers/scaled_circles.js similarity index 100% rename from src/plugins/tile_map/public/markers/scaled_circles.js rename to src/plugins/tile-map/public/markers/scaled_circles.js diff --git a/src/plugins/tile_map/public/markers/shaded_circles.js b/src/plugins/tile-map/public/markers/shaded_circles.js similarity index 100% rename from src/plugins/tile_map/public/markers/shaded_circles.js rename to src/plugins/tile-map/public/markers/shaded_circles.js diff --git a/src/plugins/tile_map/public/plugin.ts b/src/plugins/tile-map/public/plugin.ts similarity index 100% rename from src/plugins/tile_map/public/plugin.ts rename to src/plugins/tile-map/public/plugin.ts diff --git a/src/plugins/tile_map/public/services.ts b/src/plugins/tile-map/public/services.ts similarity index 100% rename from src/plugins/tile_map/public/services.ts rename to src/plugins/tile-map/public/services.ts diff --git a/src/plugins/tile_map/public/tile_map_fn.js b/src/plugins/tile-map/public/tile_map_fn.js similarity index 100% rename from src/plugins/tile_map/public/tile_map_fn.js rename to src/plugins/tile-map/public/tile_map_fn.js diff --git a/src/plugins/tile_map/public/tile_map_type.js b/src/plugins/tile-map/public/tile_map_type.js similarity index 100% rename from src/plugins/tile_map/public/tile_map_type.js rename to src/plugins/tile-map/public/tile_map_type.js diff --git a/src/plugins/tile_map/public/tile_map_visualization.js b/src/plugins/tile-map/public/tile_map_visualization.js similarity index 100% rename from src/plugins/tile_map/public/tile_map_visualization.js rename to src/plugins/tile-map/public/tile_map_visualization.js diff --git a/src/plugins/tile_map/public/tilemap_fn.test.js b/src/plugins/tile-map/public/tilemap_fn.test.js similarity index 100% rename from src/plugins/tile_map/public/tilemap_fn.test.js rename to src/plugins/tile-map/public/tilemap_fn.test.js diff --git a/src/plugins/tile_map/public/tooltip_formatter.js b/src/plugins/tile-map/public/tooltip_formatter.js similarity index 100% rename from src/plugins/tile_map/public/tooltip_formatter.js rename to src/plugins/tile-map/public/tooltip_formatter.js diff --git a/src/plugins/tile_map/server/index.ts b/src/plugins/tile-map/server/index.ts similarity index 100% rename from src/plugins/tile_map/server/index.ts rename to src/plugins/tile-map/server/index.ts diff --git a/src/plugins/timeline/public/app.js b/src/plugins/timeline/public/app.js index dc54c770121b..bd35b28a31bc 100644 --- a/src/plugins/timeline/public/app.js +++ b/src/plugins/timeline/public/app.js @@ -53,7 +53,7 @@ import { initCellsDirective } from './directives/cells/cells'; import { initFullscreenDirective } from './directives/fullscreen/fullscreen'; import { initFixedElementDirective } from './directives/fixed_element'; import { initTimelineLoadSheetDirective } from './directives/timeline_load_sheet'; -import { initTimelineHelpDirective } from './directives/timeline_help/timeline_help'; +import { initTimelineHelpDirective } from './directives/timeline-help/timeline_help'; import { initTimelineSaveSheetDirective } from './directives/timeline_save_sheet'; import { initTimelineOptionsSheetDirective } from './directives/timeline_options_sheet'; import { initSavedObjectSaveAsCheckBoxDirective } from './directives/saved_object_save_as_checkbox'; @@ -62,9 +62,9 @@ import { initTimelineTabsDirective } from './components/timelinehelp_tabs_direct import { initTimelineTDeprecationDirective } from './components/timeline_deprecation_directive'; import { initInputFocusDirective } from './directives/input_focus'; import { Chart } from './directives/chart/chart'; -import { TimelineInterval } from './directives/timeline_interval/timeline_interval'; +import { TimelineInterval } from './directives/timeline-interval/timeline_interval'; import { timelineExpInput } from './directives/timeline_expression_input'; -import { TimelineExpressionSuggestions } from './directives/timeline_expression_suggestions/timeline_expression_suggestions'; +import { TimelineExpressionSuggestions } from './directives/timeline-expression-suggestions/timeline_expression_suggestions'; import { initSavedSheetService } from './services/saved_sheets'; import { initTimelineAppState } from './timeline_app_state'; diff --git a/src/plugins/timeline/public/directives/_index.scss b/src/plugins/timeline/public/directives/_index.scss index d49b498910b8..4ad6f3a6d491 100644 --- a/src/plugins/timeline/public/directives/_index.scss +++ b/src/plugins/timeline/public/directives/_index.scss @@ -1,8 +1,8 @@ @import './timeline_expression_input'; @import './cells/index'; -@import './timeline_expression_suggestions/index'; -@import './timeline_help/index'; -@import './timeline_interval/index'; +@import './timeline-expression-suggestions/index'; +@import './timeline-help/index'; +@import './timeline-interval/index'; @import './saved_object_finder'; @import './form'; diff --git a/src/plugins/timeline/public/directives/timeline_expression_suggestions/_index.scss b/src/plugins/timeline/public/directives/timeline-expression-suggestions/_index.scss similarity index 100% rename from src/plugins/timeline/public/directives/timeline_expression_suggestions/_index.scss rename to src/plugins/timeline/public/directives/timeline-expression-suggestions/_index.scss diff --git a/src/plugins/timeline/public/directives/timeline_expression_suggestions/_timeline_expression_suggestions.scss b/src/plugins/timeline/public/directives/timeline-expression-suggestions/_timeline_expression_suggestions.scss similarity index 100% rename from src/plugins/timeline/public/directives/timeline_expression_suggestions/_timeline_expression_suggestions.scss rename to src/plugins/timeline/public/directives/timeline-expression-suggestions/_timeline_expression_suggestions.scss diff --git a/src/plugins/timeline/public/directives/timeline_expression_suggestions/timeline_expression_suggestions.html b/src/plugins/timeline/public/directives/timeline-expression-suggestions/timeline_expression_suggestions.html similarity index 100% rename from src/plugins/timeline/public/directives/timeline_expression_suggestions/timeline_expression_suggestions.html rename to src/plugins/timeline/public/directives/timeline-expression-suggestions/timeline_expression_suggestions.html diff --git a/src/plugins/timeline/public/directives/timeline_expression_suggestions/timeline_expression_suggestions.js b/src/plugins/timeline/public/directives/timeline-expression-suggestions/timeline_expression_suggestions.js similarity index 100% rename from src/plugins/timeline/public/directives/timeline_expression_suggestions/timeline_expression_suggestions.js rename to src/plugins/timeline/public/directives/timeline-expression-suggestions/timeline_expression_suggestions.js diff --git a/src/plugins/timeline/public/directives/timeline_help/_index.scss b/src/plugins/timeline/public/directives/timeline-help/_index.scss similarity index 100% rename from src/plugins/timeline/public/directives/timeline_help/_index.scss rename to src/plugins/timeline/public/directives/timeline-help/_index.scss diff --git a/src/plugins/timeline/public/directives/timeline_help/_timeline_help.scss b/src/plugins/timeline/public/directives/timeline-help/_timeline_help.scss similarity index 100% rename from src/plugins/timeline/public/directives/timeline_help/_timeline_help.scss rename to src/plugins/timeline/public/directives/timeline-help/_timeline_help.scss diff --git a/src/plugins/timeline/public/directives/timeline_help/timeline_help.html b/src/plugins/timeline/public/directives/timeline-help/timeline_help.html similarity index 100% rename from src/plugins/timeline/public/directives/timeline_help/timeline_help.html rename to src/plugins/timeline/public/directives/timeline-help/timeline_help.html diff --git a/src/plugins/timeline/public/directives/timeline_help/timeline_help.js b/src/plugins/timeline/public/directives/timeline-help/timeline_help.js similarity index 100% rename from src/plugins/timeline/public/directives/timeline_help/timeline_help.js rename to src/plugins/timeline/public/directives/timeline-help/timeline_help.js diff --git a/src/plugins/timeline/public/directives/timeline_interval/_index.scss b/src/plugins/timeline/public/directives/timeline-interval/_index.scss similarity index 100% rename from src/plugins/timeline/public/directives/timeline_interval/_index.scss rename to src/plugins/timeline/public/directives/timeline-interval/_index.scss diff --git a/src/plugins/timeline/public/directives/timeline_interval/_timeline_interval.scss b/src/plugins/timeline/public/directives/timeline-interval/_timeline_interval.scss similarity index 100% rename from src/plugins/timeline/public/directives/timeline_interval/_timeline_interval.scss rename to src/plugins/timeline/public/directives/timeline-interval/_timeline_interval.scss diff --git a/src/plugins/timeline/public/directives/timeline_interval/timeline_interval.html b/src/plugins/timeline/public/directives/timeline-interval/timeline_interval.html similarity index 100% rename from src/plugins/timeline/public/directives/timeline_interval/timeline_interval.html rename to src/plugins/timeline/public/directives/timeline-interval/timeline_interval.html diff --git a/src/plugins/timeline/public/directives/timeline_interval/timeline_interval.js b/src/plugins/timeline/public/directives/timeline-interval/timeline_interval.js similarity index 100% rename from src/plugins/timeline/public/directives/timeline_interval/timeline_interval.js rename to src/plugins/timeline/public/directives/timeline-interval/timeline_interval.js diff --git a/src/plugins/timeline/server/plugin.ts b/src/plugins/timeline/server/plugin.ts index 68271d21bbf9..90cfff184a16 100644 --- a/src/plugins/timeline/server/plugin.ts +++ b/src/plugins/timeline/server/plugin.ts @@ -34,7 +34,7 @@ import { CoreSetup, CoreStart, Plugin, PluginInitializerContext, Logger } from ' import { i18n } from '@osd/i18n'; import { schema } from '@osd/config-schema'; import { TimelineConfigType } from './config'; -import { timelineSheetSavedObjectType } from './saved_objects'; +import { timelineSheetSavedObjectType } from './saved-objects'; /** * Deprecated since 7.0, the Timeline app will be removed in 8.0. diff --git a/src/plugins/timeline/server/saved_objects/index.ts b/src/plugins/timeline/server/saved-objects/index.ts similarity index 100% rename from src/plugins/timeline/server/saved_objects/index.ts rename to src/plugins/timeline/server/saved-objects/index.ts diff --git a/src/plugins/timeline/server/saved_objects/timeline_sheet.ts b/src/plugins/timeline/server/saved-objects/timeline_sheet.ts similarity index 100% rename from src/plugins/timeline/server/saved_objects/timeline_sheet.ts rename to src/plugins/timeline/server/saved-objects/timeline_sheet.ts