Skip to content

Enable page templates#1987

Merged
koke merged 11 commits intodevelopfrom
enable-page-templates
Mar 13, 2020
Merged

Enable page templates#1987
koke merged 11 commits intodevelopfrom
enable-page-templates

Conversation

@koke
Copy link
Copy Markdown
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 requested review from iamthomasbishop and pinarol March 9, 2020 11:24
@koke koke marked this pull request as ready for review March 9, 2020 11:24
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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