-
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: add new template designs #42354
Conversation
slug: 'barnsbury', | ||
template: 'barnsbury', | ||
theme: 'barnsbury', | ||
src: 'https://public-api.wordpress.com/rest/v1/template/demo/barnsbury/barnsbury/', |
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.
What's the relationship between design and theme?
I can't find a corresponding "design" for barnsbury.
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.
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.
Update: just saw that you replied in slack 🙇
Thanks!!!
Instructions on top of https://github.com/Automattic/wp-calypso/blob/master/bin/generate-gutenboarding-design-thumbnails.js
}, | ||
{ | ||
"title": "barnsbury", | ||
"demo": "https://barnsburydemo.wordpress.com/" |
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.
What the point of this array? Does the public-api.wordpress.com/rest/v1/template/demo
API need it to generate the demo?
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.
Apologies for the 28-days-late answer to this question, but that API endpoint doesn't use this file. I don't think the file is currently used anywhere at all, actually! I wonder if this file was a precursor to what we now have in available-designs-config.json
? For consistency though, I don't see an issue with adding them here, and eventually we'll want to have an endpoint that can list info similar to this, I suppose...
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.
I don't think the file is currently used anywhere at all, actually!
Thanks! That's what I was thinking! I just wanted to make sure I wasn't missing something again. 🥴
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.
I don't think it is used anywhere neither.
@johnHackworth remember details?
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.
I just came across it yesterday. It's used by the verticals MC tool only. :)
There might be scope to simplify/merge these config files. We're moving them over to the server for now, mainly to reduce the number of remote gets we're doing in our APIs, but also since devs are the only ones updating them anyway.
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.
There might be scope to simplify/merge these config files.
Yep, see also #40587
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~464 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
f8d1738
to
712c783
Compare
359f2ea
to
13cbd72
Compare
7e7d2ca
to
7adbea7
Compare
@alaczek has prepared a set of source sites that use fonts available in the Gutenboarding flow for these "starter designs". @alaczek can you work with Ramon's team to ensure these display as intended? |
7adbea7
to
4296d74
Compare
There were a couple of source sites in @ianstewart's spreadsheet I wasn't sure about. Here's what I could glean from them. Coutoir headings: Leven base: They're using fonts we're not loading in Gutenboarding at the moment. Would you know which we should use (if any)? Thanks |
There were two sets mentioned in #42120. I only did the first set . Twenty Twenty, Coutoire, and Leven are not updated, so they should not be included in this PR. But I'll add this to my to-do list and try to tackle tomorrow or on Monday. So you could either:
|
This PR has been slow moving, so I dare say we'll give you plenty of time to work your magic on the other designs, unless you feel strongly either way. Also happy to get the other designs out there for testing. They're behind a feature flag and won't go to production anyway. Thank you @alaczek !!! |
I did the second set, awaiting feedback from @ianstewart, and then we can move forward. |
Alrighty, I updated Coutoire and Leven. Coutoire: Playfair display + Fira Sans Leven: Chivo + Open Sans, plus I removed a bunch of content from the homepage. They are ready to go so you can update this PR and get it moving again. We're dropping Twenty Twenty from the lineup though. Let me know if you need me to test/review anything. |
5c9aee8
to
735ebe5
Compare
…e new, probably not-yet-working templates. Turned on for dev, stage, wpcalypso and horizon environments. That is, NOT PROD :) Removing explicit reference to `featured` property in designs object usage. We might one day want to use various collection in that object, but I did it mainly to satisfy the requirements of the feature flag :) regenerating the design screenshots Regenerating at 900w at 72% quality Removed twenty twenty
1abf3d8
to
113835c
Compare
it'd be super nice to at least get the Thinking about the name, it could be confused with "gutenberg edge". just throwing some alternative ideas out:
|
@alaczek I'm seeing something odd with Rivington. The mid section text is no longer dark. I can't remember when it was, but I've never noticed the light text on white before in my testing. It's the same on the demo site: https://rivingtondemo.wordpress.com/ |
I like I'll change it to that and then I can probably merge this PR. It won't affect stage or production and so we can deal with design issues in another PR. |
…nd to make sure we don't confuse labels with Gutenberg edge
Nice! I guess that's the point of having alpha designs anyways. |
Following up this PR's open questions/tasks in another PR: #43420 |
@allancole this looks like it's from the Rivington colour scheme that just shipped, I think. |
This should be fixed as of Automattic/themes#2153. 👍 |
Changes proposed in this Pull Request
must be merged firstmergedQuestions
TODO
Testing instructions
Head over to /new
Make sure the following designs feature in /new/design: [TO COME]
Ensure that the font selector and preview works for each design
Create a site using each design, checking that the resulting homepage matches the theme/design
Fixes #42208