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

Fix focus PostTitle on new posts regression. #1324

Merged
merged 6 commits into from
Aug 26, 2019

Conversation

etoledom
Copy link
Contributor

@etoledom etoledom commented Aug 24, 2019

This PR fixes a regression where the event "setTitleFocus" was not handled properly on the JS side. This had the effect that the Title was not set to focus on new (empty) posts.

gutenberg side PR: WordPress/gutenberg#17180
WPiOS PR: wordpress-mobile/WordPress-iOS#12379

To test:

  • Checkout the WPiOS PR.
  • Open a new gutenberg post (no need to run metro).
  • Check that the PostTitle is automatically focused.

The UI Tests on the WPiOS branch should also be passing now.
cc @JavonDavis

Update release notes:

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

@etoledom etoledom added this to the 1.11 milestone Aug 24, 2019
@etoledom etoledom self-assigned this Aug 24, 2019
@mkevins
Copy link
Contributor

mkevins commented Aug 26, 2019

Hi @etoledom 👋

Was the WPiOS PR mentioned here:

WPiOS PR: wordpress-mobile/WordPress-iOS#12379

meant to link to the DarkMode PR, or a different one?

@etoledom etoledom marked this pull request as ready for review August 26, 2019 08:17
@etoledom etoledom requested a review from Tug August 26, 2019 08:18
@etoledom
Copy link
Contributor Author

meant to link to the DarkMode PR, or a different one?

Yes, it's the DarkMode PR. The CI was failing on that PR due to this focus issue, so I'm using this commit on that PR to test this solution on WPiOS CI.

Copy link
Contributor

@Tug Tug left a comment

Choose a reason for hiding this comment

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

👍

@etoledom etoledom merged commit aafc74c into release/1.11.0 Aug 26, 2019
@etoledom etoledom deleted the issue/fix-focus-title-regression branch August 26, 2019 11:49
@etoledom
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants