Skip to content

Commit

Permalink
Remove legacy stories from storybook-data.
Browse files Browse the repository at this point in the history
  • Loading branch information
benbowler committed Dec 17, 2024
1 parent 26873f9 commit 9a8ba8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 193 deletions.
190 changes: 0 additions & 190 deletions .storybook/storybook-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,47 +10,6 @@ module.exports = [
* rendered and the lack of a readySelector in the corresponding test here
* indicates that we're not expecting render to occur.
*/
{
id: 'global-layout--layout-with-header-footer-and-ctas',
kind: 'Global/Layout',
name: 'Layout with Header Footer and CTAs',
story: 'Layout with Header Footer and CTAs',
parameters: {
fileName: './stories/layout.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
{
id: 'global-layout--layout-with-header-and-footer',
kind: 'Global/Layout',
name: 'Layout with Header and Footer',
story: 'Layout with Header and Footer',
parameters: {
fileName: './stories/layout.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
{
id: 'global--links',
kind: 'Global',
name: 'Links',
story: 'Links',
parameters: {
fileName: './stories/links.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
hoverSelector: '.googlesitekit-cta-link--hover',
onReadyScript: 'mouse.js',
},
},
},
{
id: 'adsense-module-components-module-overview-widget--loaded',
kind: 'AdSense Module',
Expand All @@ -66,153 +25,4 @@ module.exports = [
},
},
},
{
id: 'global--page-headers',
kind: 'Global',
name: 'Page Headers',
story: 'Page Headers',
parameters: {
fileName: './stories/page-header.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
{
id: 'global--progress-bars',
kind: 'Global',
name: 'Progress Bars',
story: 'Progress Bars',
parameters: {
fileName: './stories/progress-bars.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
{
id: 'global--radios',
kind: 'Global',
name: 'Radios',
story: 'Radios',
parameters: {
fileName: './stories/radio.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
{
id: 'global--selects',
kind: 'Global',
name: 'Selects',
story: 'Selects',
parameters: {
fileName: './stories/select.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
delay: 3000,
clickSelector: '.googlesitekit-story-select-click',
postInteractionWait: 3000,
onReadyScript: 'mouse.js',
},
},
},
{
id: 'settings--settings-tabs',
kind: 'Settings',
name: 'Settings Tabs',
story: 'Settings Tabs',
parameters: {
fileName: './stories/settings.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
delay: 3000,
},
},
},
{
id: 'settings--connected-services',
kind: 'Settings',
name: 'Connected Services',
story: 'Connected Services',
parameters: {
fileName: './stories/settings.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
delay: 1000,
},
},
},
{
id: 'settings--connect-more-services',
kind: 'Settings',
name: 'Connect More Services',
story: 'Connect More Services',
parameters: {
fileName: './stories/settings.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
{
id: 'settings--admin-settings',
kind: 'Settings',
name: 'Admin Settings',
story: 'Admin Settings',
parameters: {
fileName: './stories/settings.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
{
id: 'setup-using-gcp--step-one',
kind: 'Setup / Using GCP',
name: 'Step One',
story: 'Step One',
parameters: {
fileName: './stories/setup.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
{
id: 'global--switches',
kind: 'Global',
name: 'Switches',
story: 'Switches',
parameters: {
fileName: './stories/switch.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
{
id: 'global--visually-hidden',
kind: 'Global',
name: 'Visually Hidden',
story: 'Visually Hidden',
parameters: {
fileName: './stories/visually-hidden.stories.js',
options: {
hierarchyRootSeparator: '|',
hierarchySeparator: {},
},
},
},
];
5 changes: 2 additions & 3 deletions assets/js/components/settings/SettingsModules.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ ConnectedServices.args = {
provideModuleRegistrations( registry );
},
};
ConnectedServices.scenario = {};

export const ConnectMoreServices = Template.bind( {} );
ConnectMoreServices.args = {
Expand All @@ -84,9 +85,7 @@ ConnectMoreServices.args = {
},
route: '/connect-more-services',
};
ConnectMoreServices.scenario = {
label: 'Settings/SettingsModules/ConnectMoreServices', // TODO: remove all labels from this branch and use the title instead. Make sure VRTs are still captured.
};
ConnectMoreServices.scenario = {};

export default {
title: 'Components/SettingsModules',
Expand Down

0 comments on commit 9a8ba8d

Please sign in to comment.