-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Gutenberg] Add enableCaching
param to fetch request in edit post activity
#14529
Conversation
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
You can test the changes on this Pull Request by downloading the APK here. |
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.
Approved via WordPress/gutenberg#31186 (review)
@@ -7,7 +7,7 @@ buildscript { | |||
ext.kotlin_ktx_version = '1.2.0' | |||
ext.wordPressUtilsVersion = '1.40.0' | |||
ext.detektVersion = '1.15.0' | |||
ext.gutenbergMobileVersion = 'v1.52.0' | |||
ext.gutenbergMobileVersion = 'develop-b34dd4a03c462e285aab5a391ebf84799fbba48b' |
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.
@jd-alexander I'd like to confirm with you that this is the proper way to set the Gutenberg Mobile ref before merging this PR.
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.
@fluiddot yes it. Once you have verified that the editor binary has been built on S3 you are good to go.
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 confirmed that the editor binary was uploaded, in fact, all checks are 🟢 in the commit.
Ok, thank @jd-alexander for confirming it, I'll merge it 🎊 !
gutenberg
PR: WordPress/gutenberg#31186gutenberg-mobile
PR: wordpress-mobile/gutenberg-mobile#3419This PR introduces the param
enableCaching
in the fetch request method of the edit post activity to allow Gutenberg to control caching of the network requests.To test:
Check testing instructions in the
gutenberg
PR.Regression Notes
These changes should only affect Gutenberg-mobile so I don't foresee any potential unintended areas of impact apart from that one.
I verified that the requests made from Gutenberg-mobile were cached or not depending on the
enableCaching
param.Additionally, this code is tested within this unit test.
None.
PR submission checklist:
RELEASE-NOTES.txt
if necessary.