Skip to content

Fix focus PostTitle on new posts regression.#1324

Merged
etoledom merged 6 commits intorelease/1.11.0from
issue/fix-focus-title-regression
Aug 26, 2019
Merged

Fix focus PostTitle on new posts regression.#1324
etoledom merged 6 commits intorelease/1.11.0from
issue/fix-focus-title-regression

Conversation

@etoledom
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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