Skip to content
Snippets Groups Projects
Commit 30005080 authored by Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt Committed by Savas Vedova
Browse files

Move EE stories to ee/

This moves EE components' stories to the `ee/` namespace so that they
are clearly separated from other stories.
parent e3dde1e4
No related branches found
No related tags found
1 merge request!95961Move EE stories to ee/
......@@ -46,10 +46,12 @@ To add a story:
1. Write the story as per the [official Storybook instructions](https://storybook.js.org/docs/vue/writing-stories/introduction/)
Notes:
- Specify the `title` field of the story as the component's file path from the `javascripts/` directory.
For example, if the component is located at `app/assets/javascripts/vue_shared/components/sidebar/todo_toggle/todo_button.vue`, specify the story `title` as `vue_shared/components/sidebar/todo_toggle/todo_button`. This will ensure the Storybook navigation maps closely to our internal directory structure.
NOTE:
Specify the `title` field of the story as the component's file path from the `javascripts/` directory.
For example, if the component is located at `app/assets/javascripts/vue_shared/components/sidebar/todo_toggle/todo_button.vue`,
specify the story `title` as `vue_shared/components/sidebar/todo_toggle/todo_button`.
If the component is located in the `ee/` directory, make sure to prefix the story's title with `ee/` as well.
This will ensure the Storybook navigation maps closely to our internal directory structure.
## Mock backend APIs
......
......@@ -3,7 +3,7 @@ import StatisticsSeatsCard from './statistics_seats_card.vue';
export default {
component: StatisticsSeatsCard,
title: 'usage_quotas/components/statistics_seats_card',
title: 'ee/usage_quotas/components/statistics_seats_card',
};
const Template = (_, { argTypes }) => ({
......
......@@ -2,7 +2,7 @@ import StatusBadge, { VARIANTS } from './status_badge.vue';
export default {
component: StatusBadge,
title: 'vue_shared/security_reports/components/status_badge',
title: 'ee/vue_shared/security_reports/components/status_badge',
argTypes: {
state: {
control: 'select',
......
......@@ -3,7 +3,7 @@ import SurveyBanner from './survey_banner.vue';
export default {
component: SurveyBanner,
title: 'vue_shared/components/survey_banner',
title: 'ee/vue_shared/components/survey_banner',
};
const Template = (args, { argTypes }) => ({
......
......@@ -8,7 +8,7 @@ const mergeWithArgsFromStory = (story, overrides) => merge({}, story.args, overr
export default {
component: VulnerabilityDetails,
title: 'vulnerabilities/components/vulnerability_details',
title: 'ee/vulnerabilities/components/vulnerability_details',
argTypes: {
severity: {
options: Object.values(SEVERITY_LEVELS),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment