Skip to content
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

[GB] Do not hide Navigation bar #9311

Conversation

daniloercoli
Copy link
Contributor

This PR "Fixes" #9199 by removing all the logic related to the show/hide the action bar.
Actually i'm not sure why we needed it, maybe someone can provide a clarification / use case when the action bar should be gone in the new GB editor?

To test:

  1. Enable GB in App settings
  2. Open New Post
  3. Insert image block
  4. Choose an image from the WordPress library
  5. Rotate the device (Landscape)
  6. Click on the edit button available in the bottom Formatting Toolbar
  7. Choose some image from WordPress library
  8. The editor now should present the Action bar

Update release notes:

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

@daniloercoli daniloercoli added the Gutenberg Editing and display of Gutenberg blocks. label Feb 21, 2019
@wpmobilebot
Copy link
Contributor

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

@daniloercoli daniloercoli added this to the 11.9 milestone Feb 21, 2019
Copy link
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.

LGTM!

@daniloercoli daniloercoli merged commit 822de28 into develop Feb 21, 2019
@daniloercoli daniloercoli deleted the issue/9199-Navigation-bar-is-missing-after-image-settings branch February 21, 2019 17:23
@hypest
Copy link
Contributor

hypest commented Feb 21, 2019

Heh, there's actually this ticket by @iamthomasbishop wordpress-mobile/gutenberg-mobile#614 for which we could re-use the logic to hide the top bar but, we can always try to address it directly later.

Beyond that, I think the logic was there before to offer more space when in landscape and since we didn't make use of the Android provided extractedUI mode for the EditText.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gutenberg Editing and display of Gutenberg blocks.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants