-
Notifications
You must be signed in to change notification settings - Fork 886
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
Conversation
BrunoQuaresma
commented
Sep 7, 2023
- Migrate stories to use non-deprecated Storybook v7 API
- Remove render tests from the integration tests layer
- Remove unnecessary or duplicated stories
There was a problem hiding this 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%)", |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: notexistingvalue or nonexisting
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}`, |
There was a problem hiding this comment.
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