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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update labelled to v2.11.0 #216

Merged
merged 6 commits into from
Oct 23, 2018
Merged

Conversation

andrewpye
Copy link
Member

@andrewpye andrewpye commented Oct 22, 2018

Closes #215

I didn't update to use ember-test-selectors here simply because the existing tests are just straight ports of the React implementation's tests. Let me know if you guys feel like we should make that update anyway and I'll do it 馃憤

@andrewpye andrewpye added the enhancement New feature or request label Oct 22, 2018
@andrewpye andrewpye self-assigned this Oct 22, 2018
Copy link
Member

@vladucu vladucu left a comment

Choose a reason for hiding this comment

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

2 minor things ...

* @private
*/
shouldRenderError: computed('error', function() {
let { error } = this;
Copy link
Member

Choose a reason for hiding this comment

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

I think we still want to use Ember getters to support older versions of Ember.....from what I remember I run into issues trying to do this before

@@ -20,12 +20,9 @@

{{yield}}

{{#if error}}
{{#if shouldRenderError}}
<div id={{errorId}} class="Polaris-Labelled__Error">
Copy link
Member

Choose a reason for hiding this comment

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

id={{errorId}} seems no longer needed here

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch, thanks!

@andrewpye andrewpye merged commit d6730b8 into dev Oct 23, 2018
@delete-merged-branch delete-merged-branch bot deleted the enhancement/update-labelled-to-v2.11.0 branch October 23, 2018 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants