Skip to content

Commit

Permalink
Block Editor Storybook: Restructure the directory and add badges to p…
Browse files Browse the repository at this point in the history
…rivate components (#68352)

Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people authored Dec 27, 2024
1 parent 1ba8152 commit 011e7af
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import {
import AspectRatioTool from '../aspect-ratio-tool';

export default {
title: 'BlockEditor (Private APIs)/DimensionsTool/AspectRatioTool',
title: 'BlockEditor/DimensionsTool/AspectRatioTool',
component: AspectRatioTool,
tags: [ 'status-private' ],
argTypes: {
panelId: { control: false },
onChange: { action: 'changed' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import {
import DimensionsTool from '..';

export default {
title: 'BlockEditor (Private APIs)/DimensionsTool',
title: 'BlockEditor/DimensionsTool/DimensionsTool',
component: DimensionsTool,
tags: [ 'status-private' ],
argTypes: {
panelId: { control: false },
onChange: { action: 'changed' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import {
import ScaleTool from '../scale-tool';

export default {
title: 'BlockEditor (Private APIs)/DimensionsTool/ScaleTool',
title: 'BlockEditor/DimensionsTool/ScaleTool',
component: ScaleTool,
tags: [ 'status-private' ],
argTypes: {
panelId: { control: false },
onChange: { action: 'changed' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import {
import WidthHeightTool from '../width-height-tool';

export default {
title: 'BlockEditor (Private APIs)/DimensionsTool/WidthHeightTool',
title: 'BlockEditor/DimensionsTool/WidthHeightTool',
component: WidthHeightTool,
tags: [ 'status-private' ],
argTypes: {
panelId: { control: false },
onChange: { action: 'changed' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import {
import ResolutionTool from '..';

export default {
title: 'BlockEditor (Private APIs)/ResolutionControl',
title: 'BlockEditor/ResolutionControl',
component: ResolutionTool,
tags: [ 'status-private' ],
argTypes: {
panelId: { control: false },
onChange: { action: 'changed' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import TextAlignmentControl from '../';
const meta = {
title: 'BlockEditor/TextAlignmentControl',
component: TextAlignmentControl,
tags: [ 'status-private' ],
parameters: {
docs: {
canvas: { sourceState: 'shown' },
Expand Down

1 comment on commit 011e7af

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 011e7af.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12517489546
📝 Reported issues:

Please sign in to comment.