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

feat(radio): Radio component. #125

Closed
wants to merge 1 commit into from
Closed

feat(radio): Radio component. #125

wants to merge 1 commit into from

Conversation

rfru
Copy link

@rfru rfru commented Feb 29, 2016

@jelbourn @hansl @kara

Looking to get an initial pass first and then if it's looking close I'll update with tests.
Thanks!

@googlebot googlebot added cla: yes PR author has agreed to Google's Contributor License Agreement labels Feb 29, 2016
@rfru rfru mentioned this pull request Feb 29, 2016
5 tasks
}

md-radio-group {
}
Copy link
Member

Choose a reason for hiding this comment

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

Empty definition?

@hansl
Copy link
Contributor

hansl commented Mar 3, 2016

Could you rebase? I have a feeling it will be green(er).

@rfru
Copy link
Author

rfru commented Mar 4, 2016

Ready for another round. Will get started with tests soon.

// TODO(mtlin): Replace when ink ripple component is implemented.
// A placeholder ink ripple, shown when keyboard focused.
.md-ink-ripple {
background: #000;
Copy link
Member

Choose a reason for hiding this comment

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

Should this be one of the theme background colors?

Copy link
Author

Choose a reason for hiding this comment

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

Done.

Copy link
Member

Choose a reason for hiding this comment

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

I don't see any change here.

Copy link
Author

Choose a reason for hiding this comment

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

This one's below, in the theme section.

fixture.detectChanges();
expect(button.componentInstance.checked).toBe(false);

let event = new Event('change');
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't new Event not work in IE11?

Copy link
Author

Choose a reason for hiding this comment

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

Added a helper function for this.

@rfru
Copy link
Author

rfru commented Mar 15, 2016

Ready for another look.
I had to fix a focus handling bug when introducing the label element earlier, so I've re-arranged the DOM slightly.

@jelbourn
Copy link
Member

LGTM

@jelbourn jelbourn added pr: lgtm and removed in progress This issue is currently in progress labels Mar 15, 2016
forwardRef
} from 'angular2/core';

import {EventEmitter} from 'angular2/src/facade/async';
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you should be able to get this from 'angular2/core' as well, if you want to simplify imports

@rfru
Copy link
Author

rfru commented Mar 16, 2016

Updated with changes from @kara 's comments.
I seem to be getting a timeout error in the build from one of checkbox's tests?

@jelbourn
Copy link
Member

Those are just flakes on Edge

@jelbourn jelbourn closed this in d76465b Mar 16, 2016
andrewseguin pushed a commit to andrewseguin/components that referenced this pull request Oct 15, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants