Skip to content

Commit

Permalink
Relocating module @kbn/presentation-util-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomThomson committed Dec 18, 2024
1 parent 2f29f9f commit f43e448
Show file tree
Hide file tree
Showing 85 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation
src/platform/plugins/shared/expression_shape @elastic/kibana-presentation
src/platform/plugins/shared/inspector @elastic/kibana-presentation
src/platform/plugins/shared/management @elastic/kibana-management
src/platform/plugins/shared/presentation_util @elastic/kibana-presentation
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
src/plugins/bfetch @elastic/appex-sharedux
src/plugins/chart_expressions/common @elastic/kibana-visualizations
Expand Down Expand Up @@ -669,7 +670,6 @@ src/plugins/kibana_utils @elastic/appex-sharedux
src/plugins/navigation @elastic/appex-sharedux
src/plugins/newsfeed @elastic/kibana-core
src/plugins/no_data_page @elastic/appex-sharedux
src/plugins/presentation_util @elastic/kibana-presentation
src/plugins/saved_objects @elastic/appex-sharedux
src/plugins/saved_objects_finder @elastic/kibana-data-discovery
src/plugins/saved_objects_management @elastic/kibana-core
Expand Down
2 changes: 1 addition & 1 deletion .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"navigation": ["src/plugins/navigation", "packages/solution-nav"],
"links": "src/platform/plugins/private/links",
"newsfeed": "src/plugins/newsfeed",
"presentationUtil": "src/plugins/presentation_util",
"presentationUtil": "src/platform/plugins/shared/presentation_util",
"randomSampling": "x-pack/packages/kbn-random-sampling",
"reactPackages": "packages/react",
"esqlEditor": "src/platform/packages/private/kbn-esql-editor",
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p
|The Presentation Panel is the point of contact between any React component and any registered UI actions. Components provided to the Presentation Panel should use an imperative handle to expose methods and state.
|{kib-repo}blob/{branch}/src/plugins/presentation_util/README.mdx[presentationUtil]
|{kib-repo}blob/{branch}/src/platform/plugins/shared/presentation_util/README.mdx[presentationUtil]
|The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@
"@kbn/presentation-containers": "link:packages/presentation/presentation_containers",
"@kbn/presentation-panel-plugin": "link:src/platform/plugins/private/presentation_panel",
"@kbn/presentation-publishing": "link:packages/presentation/presentation_publishing",
"@kbn/presentation-util-plugin": "link:src/plugins/presentation_util",
"@kbn/presentation-util-plugin": "link:src/platform/plugins/shared/presentation_util",
"@kbn/product-doc-base-plugin": "link:x-pack/platform/plugins/shared/ai_infra/product_doc_base",
"@kbn/product-doc-common": "link:x-pack/platform/packages/shared/ai-infra/product-doc-common",
"@kbn/profiling-data-access-plugin": "link:x-pack/plugins/observability_solution/profiling_data_access",
Expand Down
2 changes: 1 addition & 1 deletion src/dev/storybook/aliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const storybookAliases = {
observability_inventory: 'x-pack/plugins/observability_solution/inventory/.storybook',
observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook',
observability_slo: 'x-pack/solutions/observability/plugins/slo/.storybook',
presentation: 'src/plugins/presentation_util/storybook',
presentation: 'src/platform/plugins/shared/presentation_util/storybook',
random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook',
esql_editor: 'src/platform/packages/private/kbn-esql-editor/.storybook',
security_solution: 'x-pack/solutions/security/plugins/security_solution/.storybook',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

module.exports = {
preset: '@kbn/test',
rootDir: '../../..',
roots: ['<rootDir>/src/plugins/presentation_util'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/src/plugins/presentation_util',
rootDir: '../../../../..',
roots: ['<rootDir>/src/platform/plugins/shared/presentation_util'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/src/platform/plugins/shared/presentation_util',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
'<rootDir>/src/plugins/presentation_util/{common,public,server}/**/*.{ts,tsx}',
'<rootDir>/src/platform/plugins/shared/presentation_util/{common,public,server}/**/*.{ts,tsx}',
],
};
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ module.exports = {
define: {
global: 'window',
},
stories: ['../../**/*.stories.+(tsx|mdx)'],
stories: ['../../../../**/*.stories.+(tsx|mdx)'],
};
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ addons.setConfig({
theme: create({
base: 'light',
brandTitle: 'Kibana Presentation Utility Storybook',
brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util',
brandUrl: 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util',
}),
showPanel: true.valueOf,
selectedPanel: PANEL_ID,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
Expand All @@ -10,7 +10,7 @@
"server/**/*",
"test_helpers/**/*",
"storybook/**/*",
"../../../typings/**/*"
"../../../../../typings/**/*"
],
"kbn_references": [
"@kbn/core",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -1408,8 +1408,8 @@
"@kbn/presentation-panel-plugin/*": ["src/platform/plugins/private/presentation_panel/*"],
"@kbn/presentation-publishing": ["packages/presentation/presentation_publishing"],
"@kbn/presentation-publishing/*": ["packages/presentation/presentation_publishing/*"],
"@kbn/presentation-util-plugin": ["src/plugins/presentation_util"],
"@kbn/presentation-util-plugin/*": ["src/plugins/presentation_util/*"],
"@kbn/presentation-util-plugin": ["src/platform/plugins/shared/presentation_util"],
"@kbn/presentation-util-plugin/*": ["src/platform/plugins/shared/presentation_util/*"],
"@kbn/product-doc-artifact-builder": ["x-pack/packages/ai-infra/product-doc-artifact-builder"],
"@kbn/product-doc-artifact-builder/*": ["x-pack/packages/ai-infra/product-doc-artifact-builder/*"],
"@kbn/product-doc-base-plugin": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base"],
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6633,7 +6633,7 @@
version "0.0.0"
uid ""

"@kbn/presentation-util-plugin@link:src/plugins/presentation_util":
"@kbn/presentation-util-plugin@link:src/platform/plugins/shared/presentation_util":
version "0.0.0"
uid ""

Expand Down

0 comments on commit f43e448

Please sign in to comment.