-
Notifications
You must be signed in to change notification settings - Fork 53
Studio: Update wordpress components dependency #1195
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
Studio: Update wordpress components dependency #1195
Conversation
gcsecsey
left a comment
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.
gcsecsey
left a comment
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.
|
Nice! That is great that the new version is fixing some of those issues. Similarly to Gergely, I did not observe any issues in the UI, just some of the unit tests are failing. |
Nice, thanks. I will take a look at the tests but I will wait for Studio release first before merging this in any case |
…press-components-dependency
| expect( useSnapshots().updateSnapshot ).not.toHaveBeenCalled(); | ||
|
|
||
| // Wait for the modal to be fully closed after the exit animation | ||
| await waitFor( () => { |
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.
It took me a bit of time to figure out why the tests were failing here. It seems to be related to this PR: WordPress/gutenberg@4e7e9f7
It added some exit animation so we need to wait for the promises to resolve first


Related issues
We have last updated this dependency over 6 months ago and now with the renewed focus on core components, it would be good to have the most recent updates and states of all the components in Studio. Additionally, I noticed that there were some fixes added in the new version for the
Guidecomponent that would allow us to remove some code that we added on our end (for example https://github.com/WordPress/gutenberg/pull/65680/files)Proposed Changes
I propose to update
wordpress/componentsdependency.Testing Instructions
npm install && npm startPre-merge Checklist