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

Enable page templates #1987

Merged
merged 11 commits into from
Mar 13, 2020
Merged

Enable page templates #1987

merged 11 commits into from
Mar 13, 2020

Conversation

koke
Copy link
Member

@koke koke commented Mar 9, 2020

This PR removes the __mobileEnablePageTemplates feature flags and enables page templates by default.

Fixes #1962

gutenberg-mobile PR: #1987
gutenberg PR: WordPress/gutenberg#20718
WPiOS PR: wordpress-mobile/WordPress-iOS#13595
WPAndroid PR: wordpress-mobile/WordPress-Android#11409

To test:

From either WPiOS or WPAndroid, create a new page and verify that the template picker is showing

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@koke koke added this to the 1.24 milestone Mar 9, 2020
@koke koke marked this pull request as ready for review March 9, 2020 11:24
@@ -3,9 +3,16 @@ import Foundation
private func dummy() {
_ = NSLocalizedString("'%s' isn't yet supported on WordPress for Android", comment: "")
_ = NSLocalizedString("'%s' isn't yet supported on WordPress for iOS", comment: "")
_ = NSLocalizedString("(555)555-1234", comment: "translators: sample content for \"Contact\" page template")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it expected that we don't see similar changes for Android?

Copy link
Member Author

Choose a reason for hiding this comment

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

They're there in bundle/android/strings.xml, but GitHub has the bad habit of not showing some diffs by default, so it was easy to miss

Copy link
Contributor

@pinarol pinarol left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you

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.

Make SPTs(Layouts) public
2 participants