Skip to content

chore(site): refactor stories and tests from components directory #9578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 47 commits into from
Sep 7, 2023

Conversation

BrunoQuaresma
Copy link
Collaborator

  • Migrate stories to use non-deprecated Storybook v7 API
  • Remove render tests from the integration tests layer
  • Remove unnecessary or duplicated stories

@BrunoQuaresma BrunoQuaresma self-assigned this Sep 7, 2023
@BrunoQuaresma BrunoQuaresma enabled auto-merge (squash) September 7, 2023 16:33
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -48,14 +39,14 @@ const useStyles = makeStyles<Theme, styleProps>((theme) => ({
display: props.inline ? "inline-flex" : "flex",
flexDirection: "row",
alignItems: "center",
background: props.inline ? "rgb(0 0 0 / 30%)" : "hsl(223, 27%, 3%)",
border: props.inline ? undefined : `1px solid ${theme.palette.divider}`,
background: "rgb(0 0 0 / 30%)",
Copy link
Member

Choose a reason for hiding this comment

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

just double-checking: is it intended? hsl(223, 27%, 3%) disappeared.

args: {
resource: {
...MockWorkspaceResource,
type: "noexistentvalue",
Copy link
Member

Choose a reason for hiding this comment

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

nit: notexistingvalue or nonexisting

@BrunoQuaresma BrunoQuaresma merged commit 869d040 into main Sep 7, 2023
@BrunoQuaresma BrunoQuaresma deleted the bq/review-storybook branch September 7, 2023 16:38
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2023
color: theme.palette.primary.contrastText,
fontFamily: MONOSPACE_FONT_FAMILY,
fontSize: 14,
borderRadius: theme.shape.borderRadius,
padding: theme.spacing(1),
lineHeight: "150%",
border: `1px solid ${theme.palette.divider}`,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@mtojek it was added here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants