Skip to content
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

Angle bracket <BuiltIn /> components #681

Merged
merged 4 commits into from
Mar 21, 2019

Conversation

chancancode
Copy link
Contributor

@chancancode chancancode commented Mar 20, 2019

Per RFC #459, we need to update the Octane guides to use <AngleBracket /> invocation syntax for the built-in components: <Input />, <Textarea /> and <LinkTo />.

The feature has landed (behind a feature flag) in ember.js in emberjs/ember.js#17735 (<Input />, <Textarea />) and emberjs/ember.js#17772 (<LinkTo />). The API docs have not been updated yet, but the RFC text and the tests should be a good enough reference for the time being.

In this PR, I started the work by converting the main <LinkTo /> guide, which is probably the trickiest. I preserved the flow of the guide but updated the content to fit the new API whenever it makes sense.

I would like to hand of this work to other editors, but I'm happy to answer any questions or help review related PRs.

@chancancode
Copy link
Contributor Author

Note: for the time being, the canonical URL for the API documentation is https://emberjs.com/api/ember/release/classes/Ember.Templates.helpers/methods/link-to?anchor=link-to. We would probably want to change this, but there is a chicken and egg problem, so please leave those URLs as-is for now.

@locks locks self-assigned this Mar 20, 2019
Copy link
Contributor

@jamescdavis jamescdavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo fix suggestions.

guides/release/templates/links.md Outdated Show resolved Hide resolved
guides/release/templates/links.md Outdated Show resolved Hide resolved
guides/release/templates/links.md Outdated Show resolved Hide resolved
jamescdavis and others added 3 commits March 20, 2019 10:31
Co-Authored-By: chancancode <godfreykfc@gmail.com>
Co-Authored-By: chancancode <godfreykfc@gmail.com>
Co-Authored-By: chancancode <godfreykfc@gmail.com>
@acorncom acorncom merged commit 88c3f76 into ember-learn:octane Mar 21, 2019
@acorncom
Copy link
Member

Thanks @chancancode

@chancancode chancancode deleted the angle-bracket-built-ins branch March 24, 2019 20:21
acorncom added a commit that referenced this pull request Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants