Add "more" actions to Gutenberg editor #10509
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes a part of wordpress-mobile/gutenberg-mobile#182
This change includes below "more" actions which can be reached tapping top right ... button on the navigation bar:
Implementation Details
I have created a new PR against this PR's branch which contains the follow up work of this PR. This PR was about to become huge so I divided it into 2.
I recommend following way for reviewing the PR:
If merging the 2 PRs into 1 before starting the review sounds like a better idea please let me know and we can do that too.
To test:
Prerequisites:
Save as Draft Tests
1. Test "Save as draft" - Success
2. Test "Save as draft" - No Change
3. Test "Save as draft" - Make a change and tap cancel - Save Draft
4. Test "Save as draft" - Make a change and tap cancel - Discard
Preview Tests
1. Preview new post
2. Preview draft post
3. Preview published post
Post settings Tests
1. Post settings - new post
2. Post settings - draft post
3. Post settings - published post
Aztec tests
Uncheck the gutenberg flag in program arguments and repeat the above tests