-
Notifications
You must be signed in to change notification settings - Fork 158
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(filter-panel): introducing react wrapper #7470
feat(filter-panel): introducing react wrapper #7470
Conversation
Deploy preview created for package Built with commit: 806f9d168609f07b3f3135cb4b318db3fc1956a8 |
Deploy preview created for package Built with commit: 806f9d168609f07b3f3135cb4b318db3fc1956a8 |
Deploy preview created for package Built with commit: 806f9d168609f07b3f3135cb4b318db3fc1956a8 |
Deploy preview created for package Built with commit: 806f9d168609f07b3f3135cb4b318db3fc1956a8 |
Deploy preview created for package Built with commit: 806f9d168609f07b3f3135cb4b318db3fc1956a8 |
Deploy preview created for package Built with commit: 806f9d168609f07b3f3135cb4b318db3fc1956a8 |
Deploy preview created for package Built with commit: 806f9d168609f07b3f3135cb4b318db3fc1956a8 |
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 updated the branch, hopefully the changes from #7452 will be reflected in the wrapper afterwards?
packages/web-components/examples/codesandbox/components-react/filter-panel/src/index.js
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/filter-panel/__stories__/README.stories.react.mdx
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/filter-panel/__stories__/filter-panel.stories.react.tsx
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/filter-panel/__stories__/filter-panel.stories.react.tsx
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/filter-panel/__stories__/filter-panel.stories.react.tsx
Outdated
Show resolved
Hide resolved
@IgnacioBecerra are there props for the sub components that can be included here? |
Just checking if you can address this too, I didn't see this updated in the latest revision. |
@ariellalgilmore I think I recall seeing this when you first introduced the e2e test for this, wondering if this is something that is happening sporadically based on animation timing? |
Hmm i added a wait time for the animation to go through after I saw that test failing |
@ariellalgilmore @annawen1 maybe we should try to disable all animations for tests, something like this? https://gist.github.com/cvan/576eb41ab5d382660c14e3831c33c6ea |
Thanks @IgnacioBecerra , I think we should add prop tables for all of the sub components too, and also make it clear which prop table is for which. It looks like you just posted the table for |
@jeffchew I added tables for I tried adding |
hmm we can try it to see if the delay is really coming from the animations |
@IgnacioBecerra looks like some formatting issues, can you take a look? |
packages/web-components/src/components/filter-panel/__stories__/README.stories.react.mdx
Outdated
Show resolved
Hide resolved
The animation fix looks good! I'm going to be a little picky about how the panel is sitting on the grid though, forgive me (please!).
|
@shixiedesign I changed this in both this new react wrapper story and the original web components story for Filter Panel 👍 edit: meant to ping @oliviaflory! The pixel profile pic threw me off haha |
😄 Did you mean to ping @oliviaflory ? |
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.
Thank you @IgnacioBecerra for the updates, LGTM!
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.
Looks good @IgnacioBecerra !
Related Ticket(s)
#6644
Description
Introducing the React wrapper for the Filter Panel component.
Changelog
New
Changed
filter-panel
andfilter-panel-modal
components infilter-panel-composite
in order for the wrapper component to properly render