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
gsoldevila committed Dec 5, 2024
1 parent 36203b0 commit d121cf2
Show file tree
Hide file tree
Showing 93 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 @@ -637,6 +637,7 @@ src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation
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/presentation_util @elastic/kibana-presentation
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant
src/plugins/bfetch @elastic/appex-sharedux
Expand Down Expand Up @@ -682,7 +683,6 @@ src/plugins/management @elastic/kibana-management
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 @@ -95,7 +95,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": "packages/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 @@ -723,7 +723,7 @@
"@kbn/presentation-containers": "link:src/platform/packages/shared/presentation/presentation_containers",
"@kbn/presentation-panel-plugin": "link:src/platform/plugins/private/presentation_panel",
"@kbn/presentation-publishing": "link:src/platform/packages/shared/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/plugins/ai_infra/product_doc_base",
"@kbn/product-doc-common": "link:x-pack/packages/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 @@ -59,7 +59,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/plugins/observability_solution/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: 'packages/kbn-esql-editor/.storybook',
security_solution: 'x-pack/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 @@ -1400,8 +1400,8 @@
"@kbn/presentation-panel-plugin/*": ["src/platform/plugins/private/presentation_panel/*"],
"@kbn/presentation-publishing": ["src/platform/packages/shared/presentation/presentation_publishing"],
"@kbn/presentation-publishing/*": ["src/platform/packages/shared/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/plugins/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 @@ -6616,7 +6616,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 d121cf2

Please sign in to comment.