-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Gutenboarding: Remove page-templates.json #44718
Conversation
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
d451e33
to
9d1fcf3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for this and the related diffs.
9d1fcf3
to
4f57d63
Compare
e2e tests are failing repeatedly. I'll try once more, but maybe this file is still referenced somewhere 🤔 😕 |
4f57d63
to
6083506
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is currently used only in Verticals MC tool as mentioned in #42354 (comment)
@johnHackworth Are we planning to maintain that and maybe update it to use the current design config file?
@razvanpapadopol Not any more 😄 D48129-code
@ockham Thanks for looking at this. We were tracking the "clean up" over here: https://github.com/orgs/Automattic/projects/147#card-43574014 I created a PR that goes further than this, removing all the JSON files we don't use (and probably never have used) in production I can rebase if you decide to go ahead with this one (LGTM by the way), or feel free to duplicate and close mine. However you see fit. 🙏 |
Changes proposed in this Pull Request
This file seems unused.
Testing instructions
Make sure this file isn't used anywhere in Calypso, and that Gutenboarding runs properly.
Note that this file was used for a while outside of Calypso, in a REST API endpoint that we use for Gutenboarding. However, I believe that I removed the only part of code where it was evaluated in D41177-code, and @sirreal removed the LOCs that loaded it in D41281-code (Ctr+F
page-templates
in both diffs).This means we'll need to exercise some extra caution when landing this (test it properly while it's on staging etc).