Skip to content

Analyze Section: Components - Block Params #268

Closed

Description

@MelSumner

Intro

This is part of a larger project that reviews the guide content to determine what, if any, updates need to be added to the guides as angle bracket and/or template-only components become the standard.

Sub-section to review:

Components - Block Params

Primary goals:

  • Review this sub-section: what needs to be updated for the new standards?
  • If analysis reveals that documentation is necessary, create a new issue with those tasks, and comment on this issue, linking to the new issue.

Activity

  1. added
    DecEmber
    on Nov 15, 2018
  2. changed the title [-]Section: Components[/-] [+]Section: Components - Block Params[/+] on Nov 21, 2018
  3. changed the title [-]Section: Components - Block Params[/-] [+]Analyze Section: Components - Block Params[/+] on Nov 29, 2018
  4. gossi commented on Dec 1, 2018

    @gossi

    Yesterday I realized (has-block-params) is missing in this section. I've filed this ~a year ago: emberjs/guides#2135

    Also the order of if statements in the template is important. It must be this way:

    {{#if (has-block-params)}}
      block + block-params
    {{else if (has-block)}}
      just block
    {{else}
      inline
    {{/if}}
  5. cah-danmonroe commented on Dec 3, 2018

    @cah-danmonroe
    Contributor

    Just a reminder that I have already submitted a PR #292 where I have already converted the 3.6 documentation to angle brackets. I can address further #issues from there.

  6. locks commented on Dec 12, 2018

    @locks
    Contributor

    Addressed by #292.

    @gossi I am closing this issue as that specific concern is unrelated to Octane/new component syntax. Can you open a separate issue in this repository?

  7. gossi commented on Dec 13, 2018

    @gossi

    Erm maybe I missunderstand this. But PR #292 hasn't covered (has-block-params) yet and yes this issue is unrelated to Octane but applies to the current ember version/guides, which this issue is about - so I am confused now, why I should open another ticket, which would just be a clone of that.

  8. locks commented on Dec 14, 2018

    @locks
    Contributor

    Issue filed.

  9. locks commented on Feb 13, 2019

    @locks
    Contributor
  10. added a commit that references this issue on Sep 9, 2025
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

    DecEmbertask type: analysis

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions