-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Global styles revisions: update isResolving flag #56491
Conversation
Size Change: +12 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
Flaky tests detected in 38ac376a49add77ecca1dff31141cf1529260a92. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6975828902
|
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.
Thanks for testing so quickly! 🙇🏻 |
This change does that
38ac376
to
6e38cc0
Compare
What?
#56349 updated global styles revisions to use the new getRevisions selector.
Great.
I forgot to also update the
isResolving
flag.This PR does that.
Thanks.
Why?
To make sure
isLoading
returns the right value in the hook.Testing Instructions
Old skool:
Check that the
isResolving
value flips fromtrue
tofalse
during and after resolution (the revisions have been fetched and stored in state)