-
Notifications
You must be signed in to change notification settings - Fork 146
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
fix: regression on stacking layout #5032
Conversation
da00396
to
6a861ba
Compare
Can we put a (visual) regression test in place for this? |
b4a9522
to
f2e4099
Compare
f2e4099
to
d5ece8f
Compare
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.
👍 code LGTM, just a typecheck to fix
d5ece8f
to
24e8733
Compare
<Caption>{balance.amount.toNumber() > 0 && address ? usdBalance : null}</Caption> | ||
{additionalUsdBalanceInfo} | ||
</> | ||
<Caption> |
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.
Thanks for fixing, this was prob me breaking it implementing the ItemInteractive
. I remember encountering this component again recently, questioning if it is really a layout
component now when it is just rendering an ItemInteractive
that that wraps the ItemLayout
? Maybe we don't even need to have the props passed to render here?
const meta: Meta<typeof StacksBalanceListItemLayout> = { | ||
component: StacksBalanceListItemLayout, | ||
tags: ['autodocs'], | ||
title: 'Feature/StacksBalanceListItem', |
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.
We should make sure to coordinate with @pete-watters on the new sections being added to our storybook. I noticed in his he has new sections too.
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.
I actually decided to revert my changes to fit into the current system. Once everything is merged lets review it together.
I had just added Design System/
to the start of the path
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.
Cool to see a storybook for a feature. 👍
Regression from past fix of #4857
Something changed causing the layout to be broken onto two lines.