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
[UX] Disambiguate "Layouts" vs "Layout templates" in the admin interface. #3607
[UX] Disambiguate "Layouts" vs "Layout templates" in the admin interface. #3607
Comments
To be absolutely exact...
In theory we should start calling the contrib projects "Layout templates" as well (and rename things in the b.org menu structure, and documentation/references too). |
The settings page may have more settings than just allowed layout
templates, so settings is fine there. Others tho, :thumbs up:
…On Sat, Mar 23, 2019, 11:45 PM Gregory Netsas ***@***.***> wrote:
To be absolutely exact...
- "Install new layouts" should be "Install new layout templates"
- "Update layouts" should be "Update layout templates" (but should
really go entirely #2714
<#2714>)
- "Settings" should really be "List layout templates" or "Available
layout templates" (because people are not just viewing a list in that page;
they can also enable/disable templates)
In theory we should start calling the contrib projects "Layout templates"
as well (and rename things in the b.org menu structure, and
documentation/references too).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3607 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAYSR8aEJgCcEjNoBFGuaOG9II-z3btoks5vZwMFgaJpZM4cCg41>
.
|
In writing https://api.backdropcms.org/documentation/overriding-layout-templates, I struggled knowing what to call these things (for lack of a better word). 'Layouts' seems to be obvious, because that's the directory name where they're stored, and 'templates' might refer to the *.tpl.php files in those layouts, but then I saw this and was like "Uh...what!?" I thought 'Moscone Flipped' was the layout, 'cause it's stored in |
Yeah, it's confusing. A "Layout" is a specific path (or path pattern like A "Layout project" is the thing you download from https://backdropcms.org/layouts. It can contain one or more Layout Templates. A "Layout template" is one of the things that you find inside a "Layout project", and usually contains a |
I don't think have never agreed. See: #3607 (comment) and #3607 (comment) 😅
100% |
@yorkshire-pudding thanks for taking the time to review and provide feedback 🙏🏼 Yeah, renaming the The goal here is to make it less confusing in more obvious places and user-facing text, which includes this PR here, changing what we call these in our documentation and inline comments, and perhaps renaming certain things in b.org. |
All layout templates need to have an In most cases the project you download from backdropcms.org is going to contain a set of layout templates that all use the same layout framework (something like bootstrap, zen, etc) but have different configurations of rows and columns.
Oi, you mean renaming them to
I did end up rebasing my PR: backdrop/backdrop#4304 but I expect we'll probably use yours. I did a quick code review (of your PR) and found a few unnecessary comment changes, but otherwise it looks good! |
Yes, either
Thanks. Reverted those 👍🏼 |
I don't feel too strongly about any of the issues that were discussed here. Just happy to see progress with either PR. I just looked at both Sandboxes and think they look good. |
@jenlampton @stpaultim @yorkshire-pudding you've all chimed in here recently, indicating that you like where this is heading, however have you actually had the chance to test or review the code? I would really like this in for 1.24.0 (and 1.23.2), so pwetty pwease 🙏🏼 🙂 |
@klonos - which one should I look to test/review? |
@yorkshire-pudding mine is this: backdrop/backdrop#4303 ...but in general, hovering over a PR link in the sidebar should reveal a pop-up which indicates the name of the repo it's coming from: |
Thanks @klonos - I've tested this in the sandbox and all looks good and I think makes more sense than what is there currently. I've also reviewed the code and think it looks fine. |
I reviewed @klonos' PR and tested in the sandbox. Looks good to me. I'm not sure about @jenlampton's 'Layout project' terminology... Perhaps something to discuss in a new issue. FTR, if necessary, I'd prefer something like 'Layout bundle'. I've merged backdrop/backdrop#4303 into 1.x and 1.24.x. THanks to @klonos, @jenlampton, @stpaultim & @yorkshire-pudding for their feedback here. |
I noticed that the tab on the Layouts page is labeled
Install new Layouts
when it should really beInstall new Layout TEMPLATES
as per our new disambiguation betweenLayouts
andLayout templates
.PR by @seancav03 backdrop/backdrop#2599Updated PR backdrop/backdrop#3278 (includes commit above)
The text was updated successfully, but these errors were encountered: