Skip to content

Commit

Permalink
Update x-pack storybook paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeelmers committed May 14, 2024
1 parent aa9dd02 commit 193c5b5
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
29 changes: 14 additions & 15 deletions src/dev/storybook/aliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
// If you wish for your Storybook to be built and included in CI, also add your
// alias to .buildkite/scripts/steps/storybooks/build_and_upload.ts
export const storybookAliases = {
apm: 'x-pack/plugins/observability_solution/apm/.storybook',
canvas: 'x-pack/plugins/canvas/storybook',
apm: 'x-pack/observability/apm/.storybook',
canvas: 'x-pack/platform/internal/canvas/storybook',
cases: 'packages/kbn-cases-components/.storybook',
cell_actions: 'packages/kbn-cell-actions/.storybook',
cloud_chat: 'x-pack/plugins/cloud_integrations/cloud_chat/.storybook',
cloud_chat: 'x-pack/platform/internal/cloud_integrations/cloud_chat/.storybook',
coloring: 'packages/kbn-coloring/.storybook',
language_documentation_popover: 'packages/kbn-language-documentation-popover/.storybook',
chart_icons: 'packages/kbn-chart-icons/.storybook',
content_management_examples: 'examples/content_management_examples/.storybook',
controls: 'src/platform/controls/storybook',
custom_icons: 'packages/kbn-custom-icons/.storybook',
custom_integrations: 'src/platform/custom_integrations/storybook',
dashboard_enhanced: 'x-pack/plugins/dashboard_enhanced/.storybook',
dashboard_enhanced: 'x-pack/platform/internal/dashboard_enhanced/.storybook',
dashboard: 'src/platform/dashboard/.storybook',
data: 'src/platform/data/.storybook',
discover: 'src/platform/discover/.storybook',
Expand All @@ -39,28 +39,27 @@ export const storybookAliases = {
expression_reveal_image: 'src/platform/expression_reveal_image/.storybook',
expression_shape: 'src/platform/expression_shape/.storybook',
expression_tagcloud: 'src/platform/chart_expressions/expression_tagcloud/.storybook',
fleet: 'x-pack/plugins/fleet/.storybook',
fleet: 'x-pack/platform/fleet/.storybook',
grouping: 'packages/kbn-securitysolution-grouping/.storybook',
home: 'src/platform/home/.storybook',
infra: 'x-pack/plugins/observability_solution/infra/.storybook',
kibana_react: 'src/platform/kibana_react/.storybook',
lists: 'x-pack/plugins/lists/.storybook',
logs_explorer: 'x-pack/plugins/observability_solution/logs_explorer/.storybook',
lists: 'x-pack/security/lists/.storybook',
logs_explorer: 'x-pack/observability/logs_explorer/.storybook',
management: 'packages/kbn-management/storybook/config',
observability: 'x-pack/plugins/observability_solution/observability/.storybook',
observability_ai_assistant:
'x-pack/plugins/observability_solution/observability_ai_assistant/.storybook',
observability: 'x-pack/observability/observability/.storybook',
observability_ai_assistant: 'x-pack/observability/observability_ai_assistant/.storybook',
presentation: 'src/platform/presentation_util/storybook',
random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook',
text_based_editor: 'packages/kbn-text-based-editor/.storybook',
security_solution: 'x-pack/plugins/security_solution/.storybook',
security_solution: 'x-pack/security/security_solution/.storybook',
security_solution_packages: 'x-pack/packages/security-solution/storybook/config',
serverless: 'packages/serverless/storybook/config',
shared_ux: 'packages/shared-ux/storybook/config',
slo: 'x-pack/plugins/observability_solution/slo/.storybook',
threat_intelligence: 'x-pack/plugins/threat_intelligence/.storybook',
triggers_actions_ui: 'x-pack/plugins/triggers_actions_ui/.storybook',
slo: 'x-pack/observability/slo/.storybook',
threat_intelligence: 'x-pack/security/threat_intelligence/.storybook',
triggers_actions_ui: 'x-pack/platform/triggers_actions_ui/.storybook',
ui_actions_enhanced: 'src/platform/ui_actions_enhanced/.storybook',
unified_search: 'src/platform/unified_search/.storybook',
profiling: 'x-pack/plugins/observability_solution/profiling/.storybook',
profiling: 'x-pack/observability/profiling/.storybook',
};
2 changes: 1 addition & 1 deletion x-pack/platform/fleet/.storybook/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ addons.setConfig({
theme: create({
base: 'light',
brandTitle: 'Kibana Fleet Storybook',
brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet',
brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/platform/fleet',
}),
showPanel: true.valueOf,
selectedPanel: PANEL_ID,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ addons.setConfig({
theme: create({
base: 'light',
brandTitle: 'Canvas Storybook',
brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas',
brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/platform/internal/canvas',
}),
showPanel: true,
isFullscreen: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ addons.setConfig({
theme: create({
base: 'light',
brandTitle: 'Cloud Storybook',
brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud',
brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/platform/cloud',
}),
showPanel: true.valueOf,
selectedPanel: PANEL_ID,
Expand Down
2 changes: 1 addition & 1 deletion x-pack/platform/triggers_actions_ui/.storybook/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ addons.setConfig({
theme: create({
base: 'light',
brandTitle: 'Triggers Actions UI Storybook',
brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui',
brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/platform/triggers_actions_ui',
}),
showPanel: true,
selectedPanel: PANEL_ID,
Expand Down

0 comments on commit 193c5b5

Please sign in to comment.