-
Notifications
You must be signed in to change notification settings - Fork 315
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
feat(WizardSlideshow): component to be used on wizard-related logics to render a step with animation between steps #2557
base: master
Are you sure you want to change the base?
Conversation
…to render a step with animation between steps
@shaharzil @talkor I'm not a big favor of the name I gave to that component, but I think using just Wizard here is too confusing, as it is only responsible on rendering a single child with animation among given children. it does not do any other logic related to Wizard in general |
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.
Very cool
I personally don't like the naming, worth considering it
Also notice you are not exporting any of these components
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 personally don't like the naming. I think it should be a Carousel
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 think carousel is more of a "never ending" thing where you see everything, no?
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.
btw, it doesn't have to be only slide, this can - in the future - to accept a variation for animation and just be some kind of animation controller
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.
So it's just Wizard, why the Slideshow? Slideshow sounds like PowerPoint
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 agree, it is just a name I came up with instead of Wizard, since it is not really a wizard, it does nothing else than replacing steps according to a given step
animate="enter" | ||
exit="exit" | ||
transition={slideAnimationTransition} | ||
className={cx(styles.slide, className)} |
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.
Does it really need a className?
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.
for now it would be an internal component, but in case we decide to expose a few animation components next that is an hachana lemazgan, I gave it all the vibe props
export interface SlideTransitionProps extends VibeComponentProps {
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.
Ok. Anyway notice you are not exporting the other component. Not sure if it's intended or not
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.
nope, will do
WizardSlideshow result:
Original design request:
https://monday.monday.com/boards/3532714909/pulses/7525075588