-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix v13.0 editors opt-in migration strategy problems #10332
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
Fix v13.0 editors opt-in migration strategy problems #10332
Conversation
…e delay to 500ms.
…wordpress-mobile/WordPress-Android into fix/editor-opt-in-strategy * 'add/analitycs-to-GB-editor-flip' of https://github.com/wordpress-mobile/WordPress-Android: Clean up the code in `setGutenbergEnabledIfNeeded` and make easy to follow. @props @hypest
…ps://github.com/wordpress-mobile/WordPress-Android into fix/editor-opt-in-strategy-with-backend-support * 'fix/editor-opt-in-strategy-with-backend-support' of https://github.com/wordpress-mobile/WordPress-Android: Use the new API Endpoint to set the editor option on migration from v12.9 to 13.0
…rdPress-Android into fix/editor-opt-in-strategy-with-backend-support * 'release/13.0' of https://github.com/wordpress-mobile/WordPress-Android: Update the 12.9 release notes to add a note about the block editor Update release notes for 13.0 Use the tagged version of FluxC Add some additional release notes Update release notes. Bump version number Merge the bumped version number # Conflicts: # build.gradle
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've tested the changes against sandbox and it worked as expected. The code looks good! Good job!
I'll approve this PR when the endpoint is deployed to the API. Thanks!
|
Thanks @malinajirka for your review! I've also address in dfe29a9 the point you've raised in our chat convo, about the global (and old) app-wide editor setting being removed from the app even when the network call fails. Now it's only removed on success, and the app can re-try the migration later. |
malinajirka
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.
LGTM!
This PR improves and fixes the editors opt-in migration strategy by changing a couple of important things:
To test:
This still references a FluxC hash, we need to switch to a tag when the FluxC companion PR is merged and properly tagged.
Update release notes:
RELEASE-NOTES.txt.