Studio: Update wordpress components dependency - #1195
Merged
Conversation
gcsecsey
reviewed
Apr 11, 2025
gcsecsey
approved these changes
Apr 11, 2025
Contributor
|
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. |
Contributor
Author
Nice, thanks. I will take a look at the tests but I will wait for Studio release first before merging this in any case |
added 4 commits
April 14, 2025 20:57
…press-components-dependency
katinthehatsite
commented
Apr 14, 2025
| expect( useSnapshots().updateSnapshot ).not.toHaveBeenCalled(); | ||
|
|
||
| // Wait for the modal to be fully closed after the exit animation | ||
| await waitFor( () => { |
Contributor
Author
There was a problem hiding this comment.
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
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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