Skip to content

Switch to <AngleBracket /> built-in components on Octane branch (input, link-to, etc) #692

Description

@chancancode

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:

Guides that need to be updated:

Activity

  1. changed the title [-]Switch to <BuiltInComponents /> on Octane branch[/-] [+]Switch to <AngleBracket /> built-in components on Octane branch[/+] on Mar 28, 2019
  2. changed the title [-]Switch to <AngleBracket /> built-in components on Octane branch[/-] [+]Switch to <AngleBracket /> built-in components on Octane branch (input, link-to, etc)[/+] on Mar 28, 2019
  3. alexBaizeau commented on Mar 28, 2019

    @alexBaizeau
    Contributor

    I'm claiming components/actions-and-events.md

  4. alexBaizeau commented on Mar 28, 2019

    @alexBaizeau
    Contributor

    I'm claiming routing/query-params.md

  5. Charizard commented on Mar 29, 2019

    @Charizard
    Contributor

    Would like to claim routing/specifying-a-routes-model.md

  6. Charizard commented on Mar 29, 2019

    @Charizard
    Contributor

    Would like to claim testing/testing-components.md

  7. zachgarwood commented on Mar 29, 2019

    @zachgarwood
    Contributor

    It appears that tutorial/autocomplete-component.md has already been angle-bracket-ized. Nevermind.

    I claim tutorial/autocomplete-component.md.

  8. mdbiscan commented on Mar 29, 2019

    @mdbiscan
    Contributor

    I'll claim the next one, tutorial/model-hook.md

  9. CapnClayton commented on Mar 29, 2019

    @CapnClayton
    Contributor

    I'll claim the one after that: tutorial/routes-and-templates.md

  10. mdbiscan commented on Mar 29, 2019

    @mdbiscan
    Contributor

    I'll claim tutorial/simple-component.md.

  11. dknutsen commented on Mar 29, 2019

    @dknutsen
    Contributor

    I'll claim tutorial/subroutes.md

  12. mdbiscan commented on Mar 29, 2019

    @mdbiscan
    Contributor

    Happy to claim upgrading/editions.md

  13. jenweber commented on May 31, 2019

    @jenweber
    Contributor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions