Skip to content

Fix for local auto save that doesn't work in Gutenberg#10483

Merged
daniloercoli merged 6 commits intogb/release-1.13.0from
fix/10415-Local-auto-save-doesnt-work-in-Gutenberg
Sep 19, 2019
Merged

Fix for local auto save that doesn't work in Gutenberg#10483
daniloercoli merged 6 commits intogb/release-1.13.0from
fix/10415-Local-auto-save-doesnt-work-in-Gutenberg

Conversation

@daniloercoli
Copy link
Copy Markdown
Contributor

Fixes #10415 by signaling to the host app that changes has been made in GB.
The app then, once received the event, follow the normal flow already implemented for Aztec: asks the content and title to the editor and check for changes.

To test: Follow the steps in the original issue.

GB-Mobile PR: wordpress-mobile/gutenberg-mobile#1351

Update release notes:

  • [ x ] I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Sep 4, 2019

You can test the changes on this Pull Request by downloading the APK here.

Copy link
Copy Markdown
Contributor

@mkevins mkevins left a comment

Choose a reason for hiding this comment

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

I tested this on Pixel 3a, and it fixes the issue as described 🎉 !

One note:

I did not observe the line described in the original issue being invoked. Still, the changes were saved locally, when I followed the steps there, after applying the fix in this PR.

I placed a breakpoint on that line, and it was touched, when the post is opened, but that also occurs before the fix. 🤷‍♂️ Is that expected?

Copy link
Copy Markdown
Contributor

@marecar3 marecar3 left a comment

Choose a reason for hiding this comment

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

Nice work!
Working as expected!

…ss-Android into fix/10415-Local-auto-save-doesnt-work-in-Gutenberg

* 'develop' of https://github.com/wordpress-mobile/WordPress-Android: (81 commits)
  Update gutenberg-mobile ref to v1.12.0 release
  Update FluxC to the tagged version
  Update FluxC version to 1.4.0-beta-1
  Update release notes from gutenberg-mobile 1.12.0 release
  Update metadata translations for 13.2
  Bump version number
  Updates translations
  revert IDE change to Project.xml
  revert IDE change to Project.xml
  Hide Sharing manage options for non-admins
  Removed unused attribute.
  Add Other post type to posts and pages
  Show an empty screen when all insights are removed
  Fix release notes
  Logic fixes based on the PR feedback
  Address PR comments
  fix small lint errors
  Removed exit transition and ActivityCompat call.
  Removed slide from left animation.
  use viewinteraction for choosing options menu
  ...

# Conflicts:
#	libs/gutenberg-mobile
@daniloercoli daniloercoli changed the base branch from develop to gb/release-1.13.0 September 19, 2019 16:16
@daniloercoli daniloercoli merged commit c85ac03 into gb/release-1.13.0 Sep 19, 2019
@daniloercoli daniloercoli deleted the fix/10415-Local-auto-save-doesnt-work-in-Gutenberg branch September 19, 2019 16:29
mchowning added a commit that referenced this pull request Sep 23, 2019
mchowning added a commit that referenced this pull request Sep 23, 2019
…ase_note

Add release notes for local autosave from #10483
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants