Repository navigation
Closed
Labels
Description
It's time to switch the Octane guides to use built-in components!
{{link-to}}-><LinkTo />{{input}}-><Input />{{textarea}}-><Textarea />
This should mostly just be a syntactic change, but we could also take the opportunity to adjust the flow, remove legacy concepts, etc. For example, since angle bracket invocation takes HTML attributes, we can update the examples to pass them directly (i.e. class= instead of @class=).
To help out, please leave a comment to "claim" the item (🔒 below) so others know not to duplicate the effort! It's fine to claim the item before you have a PR ready (but please release it if it turns out you didn't have the time to do it). Branch from the octane branch of the Guides and open your PR to be merged back into octane. Thank you!
Some resources:
- See PR Angle bracket <BuiltIn /> components #681 for an example
- RFC #459 for details about the feature
- API docs PR
Guides that need to be updated:
-
components/actions-and-events.md(:lock: @alexBaizeauUpdate docs for the built-in components for components/actions-and-events.md #697) -
models/index.md(🔒 @chancancodeAngle bracket <BuiltIn /> components #681) -
routing/defining-your-routes.md(🔒 @chancancodeAngle bracket <BuiltIn /> components #681Follow-up to #681 #693) -
routing/preventing-and-retrying-transitions.md(🔒 @chancancodeAngle bracket <BuiltIn /> components #681) -
routing/query-params.md(:lock: @alexBaizeauUpdate docs for the built-in components in)routing/query-params.md#698 -
routing/specifying-a-routes-model.md(:lock: @CharizardUpdate docs for the built-in components for routing/specifying-a-routes-model.md #699) -
templates/binding-element-attributes.md(🔒 @chancancodeAngle bracket <BuiltIn /> components #681) -
templates/input-helper.md(:lock: @ddoria921 Update input helpers page #696) -
templates/links.md(🔒 @chancancodeAngle bracket <BuiltIn /> components #681) -
testing/testing-components.md(:lock: @CharizardUpdate docs for the built-in components for testing components page #700) -
tutorial/auto-complete-component.md(:lock: @zachgarwoodAngle-bracket-ize tutorial/autocomplete-component.md #702) -
tutorial/model-hook.md(:lock: @mdbiscanUpdate docs for the built-in components for model-hook page #704) -
tutorial/routes-and-templates.md(:lock: @claytonturnerUpdate docs for the built-in components for tutorial/routes-and-templ… #705) -
tutorial/simple-component.md(:lock: @mdbiscanUpdate docs for the built-in components for simple-component page #706) -
tutorial/subroutes.md(:lock: @dknutsenUpdate subroute guides to use angle bracket built-ins #707) -
upgrading/editions.md(:lock: @mdbiscanUpdating upgrading editions.md #709)
Activity
[-]Switch to <BuiltInComponents /> on Octane branch[/-][+]Switch to <AngleBracket /> built-in components on Octane branch[/+]Update input-helpers to angle bracket syntax ember-learn#692
[-]Switch to <AngleBracket /> built-in components on Octane branch[/-][+]Switch to <AngleBracket /> built-in components on Octane branch (input, link-to, etc)[/+]alexBaizeau commentedon Mar 28, 2019
I'm claiming
components/actions-and-events.mdalexBaizeau commentedon Mar 28, 2019
I'm claiming
routing/query-params.mdCharizard commentedon Mar 29, 2019
Would like to claim
routing/specifying-a-routes-model.mdCharizard commentedon Mar 29, 2019
Would like to claim
testing/testing-components.mdzachgarwood commentedon Mar 29, 2019
It appears thatNevermind.tutorial/autocomplete-component.mdhas already been angle-bracket-ized.I claim
tutorial/autocomplete-component.md.mdbiscan commentedon Mar 29, 2019
I'll claim the next one,
tutorial/model-hook.mdCapnClayton commentedon Mar 29, 2019
I'll claim the one after that:
tutorial/routes-and-templates.mdUpdate docs for the built-in components for tutorial/routes-and-templ…
mdbiscan commentedon Mar 29, 2019
I'll claim tutorial/simple-component.md.
Update docs for the built-in components for tutorial/routes-and-templ…
dknutsen commentedon Mar 29, 2019
I'll claim tutorial/subroutes.md
mdbiscan commentedon Mar 29, 2019
Happy to claim
upgrading/editions.mdUpdate input-helpers to angle bracket syntax ember-learn#692
jenweber commentedon May 31, 2019
Thanks everyone for your help with these changes! And thank you @chancancode for coordinating.
We finished the last file in #753 plus some prose in #696