-
Notifications
You must be signed in to change notification settings - Fork 30
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
Pass gallery count to card #12996
Pass gallery count to card #12996
Conversation
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
Size Change: +54 B (+0.01%) Total Size: 942 kB ℹ️ View Unchanged
|
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.
Linter question aside, I tested this when the corresponding frontend branch was also deployed and could see the galleryCount value coming up correctly 🎉
Seen on PROD (merged by @abeddow91 10 minutes and 4 seconds ago) Please check your changes! |
What does this change?
Passes the gallery count from frontend to the card component, updating the fe model and dcr model to expect the new prop.
The gallery count is being calculated in frontend and added to the pressedCard model here.
Why?
Design want to be able to display the gallery count at card level. The rendering portion of this work will be dealt with in an upcoming PR
Screenshots