Skip to content

Conversation

@daniloercoli
Copy link
Contributor

This PR improves and fixes the editors opt-in migration strategy by changing a couple of important things:

  • There is now ONE rest call only, that sets the editor preference for all sites
  • There is no need to synch editor settings if the local app-wide flag is still set in the app and the migration still need to happens

To test:

  • Install 12.9, and turn block editor to ON
  • Install 13.0 and check that everything is fine since the first launch

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:

  • [ x ] If there are user facing changes, I have added an item to RELEASE-NOTES.txt.

…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
Copy link
Contributor

@malinajirka malinajirka left a 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!

@daniloercoli
Copy link
Contributor Author

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.

Copy link
Contributor

@malinajirka malinajirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@daniloercoli daniloercoli merged commit 2508421 into release/13.0 Aug 7, 2019
@daniloercoli daniloercoli deleted the fix/editor-opt-in-strategy-with-backend-support branch August 7, 2019 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants