Skip to content

Updates the explanation of template helpers - #293

Merged
jenweber merged 15 commits into
ember-learn:masterfrom
zachgarwood:explain-helpers
Dec 1, 2018
Merged

jenweber merged 15 commits into
ember-learn:masterfrom
zachgarwood:explain-helpers

Conversation

@zachgarwood

@zachgarwood zachgarwood commented Nov 28, 2018 •

Copy link
Copy Markdown
Contributor

On the Creating a Handlebars Helper page, we understate the purpose and
usage of template helpers. This change modifies the opening paragraphs to
go into more details.

This addresses one of the "tiny tutorial fixes" @jenweber listed
in #245.

jenweber and others added 6 commits October 27, 2018 21:09
On the Routes & Templates page, in the An Index Route section, the
paragraphs starting at "All we want to do..." presents too much
ancillary data. This change simplifies it to focus on just the
beforeModel() hook and the replaceWith() function.
On the Building a Simple Component page, we should explicitly call out
that properties of components are available to their templates. This
change does so.

This addresses one of the "tiny tutorial fixes" @jenweber listed
in #245.
On the Creating a Handlebars Helper page, we understate the purpose and
usage template helpers. This change modifies the opening paragraphs to
go into more details.
@zachgarwood

Copy link
Copy Markdown
Contributor Author

I'm worried I might have used too much jargon with terms like "encapsulate," "declarative," and "presentation logic."

Jen Weber added 2 commits November 28, 2018 23:14
Test for (and correct) non-relative guides links
Simplifies the "All we want to do..." portion

@jenweber jenweber left a comment

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.

Two wording suggestions. What do you think?

Comment thread guides/v2.10.0/tutorial/hbs-helper.md Resolved
Comment thread guides/v2.10.0/tutorial/hbs-helper.md Resolved
@jenweber

Copy link
Copy Markdown
Contributor

Note to self, add this to 3.6 staging when it's ready to merge.

jayjayjpg and others added 3 commits December 1, 2018 17:30
…le-in-templates

Clarifies where template properties come from
* Adds Handlebars explainer paragraph

In Building a Simple Component, we mention Handlebars templates but
never state what Handlebars. This change adds a brief paragraph to
describe Handlebars, link to a more robust explanation (Handlebars
Basics), and explain the relationship between templates and component
source files.

* remove comma
@jenweber
jenweber merged commit 9c7e423 into ember-learn:master Dec 1, 2018
@jenweber

jenweber commented Dec 1, 2018

Copy link
Copy Markdown
Contributor

Thank you! 🎉

@zachgarwood
zachgarwood deleted the explain-helpers branch December 5, 2018 15:33
jaredgalanis pushed a commit to jaredgalanis/guides-source that referenced this pull request Feb 10, 2019
* fix all uses of non-relative guides urls

* write test to check for non-relative urls

* Simplifies the "All we want to do..." portion

On the Routes & Templates page, in the An Index Route section, the
paragraphs starting at "All we want to do..." presents too much
ancillary data. This change simplifies it to focus on just the
beforeModel() hook and the replaceWith() function.

* Update guides/v3.5.0/tutorial/routes-and-templates.md

Co-Authored-By: zachgarwood <[email protected]>

* Clarifies where template properties come from

On the Building a Simple Component page, we should explicitly call out
that properties of components are available to their templates. This
change does so.

This addresses one of the "tiny tutorial fixes" @jenweber listed
in ember-learn#245.

* Updates the explanation of template helpers

On the Creating a Handlebars Helper page, we understate the purpose and
usage template helpers. This change modifies the opening paragraphs to
go into more details.

* Update guides/v2.10.0/tutorial/hbs-helper.md

Co-Authored-By: zachgarwood <[email protected]>

* Update guides/v2.10.0/tutorial/hbs-helper.md

Co-Authored-By: zachgarwood <[email protected]>

* Removed duplicate phrase

* Fixed url (ember-learn#295)

* Fixed url

The absolute url was breaking [this test](https://travis-ci.org/ember-learn/guides-source/builds/461958652#L3463). I made it relative.

* Nest link one level deeper

* Adds Handlebars explainer paragraph (ember-learn#291)

* Adds Handlebars explainer paragraph

In Building a Simple Component, we mention Handlebars templates but
never state what Handlebars. This change adds a brief paragraph to
describe Handlebars, link to a more robust explanation (Handlebars
Basics), and explain the relationship between templates and component
source files.

* remove comma
cspanring pushed a commit to cspanring/guides-source that referenced this pull request Apr 12, 2019
* fix all uses of non-relative guides urls

* write test to check for non-relative urls

* Simplifies the "All we want to do..." portion

On the Routes & Templates page, in the An Index Route section, the
paragraphs starting at "All we want to do..." presents too much
ancillary data. This change simplifies it to focus on just the
beforeModel() hook and the replaceWith() function.

* Update guides/v3.5.0/tutorial/routes-and-templates.md

Co-Authored-By: zachgarwood <[email protected]>

* Clarifies where template properties come from

On the Building a Simple Component page, we should explicitly call out
that properties of components are available to their templates. This
change does so.

This addresses one of the "tiny tutorial fixes" @jenweber listed
in ember-learn#245.

* Updates the explanation of template helpers

On the Creating a Handlebars Helper page, we understate the purpose and
usage template helpers. This change modifies the opening paragraphs to
go into more details.

* Update guides/v2.10.0/tutorial/hbs-helper.md

Co-Authored-By: zachgarwood <[email protected]>

* Update guides/v2.10.0/tutorial/hbs-helper.md

Co-Authored-By: zachgarwood <[email protected]>

* Removed duplicate phrase

* Fixed url (ember-learn#295)

* Fixed url

The absolute url was breaking [this test](https://travis-ci.org/ember-learn/guides-source/builds/461958652#L3463). I made it relative.

* Nest link one level deeper

* Adds Handlebars explainer paragraph (ember-learn#291)

* Adds Handlebars explainer paragraph

In Building a Simple Component, we mention Handlebars templates but
never state what Handlebars. This change adds a brief paragraph to
describe Handlebars, link to a more robust explanation (Handlebars
Basics), and explain the relationship between templates and component
source files.

* remove comma
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.

3 participants