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

fix(progress-spinner): Rename ProgressCircle to ProgressSpinner #2300

Merged
merged 3 commits into from
Dec 21, 2016

Conversation

tinayuangao
Copy link
Contributor

Closes #1495

R: @jelbourn

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Dec 20, 2016
@tinayuangao tinayuangao changed the title Rename ProgressCircle to ProgressSpinner fix(progress-spinner): Rename ProgressCircle to ProgressSpinner Dec 20, 2016
*/
@Component({
moduleId: module.id,
selector: 'md-progress-circle, mat-progress-circle',
selector: 'md-progress-spinner, mat-progress-spinner',
Copy link
Member

Choose a reason for hiding this comment

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

We need to leave the old selectors as well so we can more easily migrate existing google projects

changeDetection: ChangeDetectionStrategy.OnPush,
})
export class MdProgressCircle implements OnDestroy {
export class MdProgressSpinner implements OnDestroy {
Copy link
Member

Choose a reason for hiding this comment

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

You can add at the bottom of this file

/** @deprecated */
export {MdProgressSpinner as MdProgressCircle};
/** @deprecated */
export {MdProgressSpinnerModule as MdProgressCircleModule};
// same for other symbols

this will let people continue using the old symbols and let us migrate them incrementally.

@tinayuangao
Copy link
Contributor Author

Make selectors md-progress-circle and mat-progress-circle work. Thanks for review! Please take another look.

@tinayuangao
Copy link
Contributor Author

Added progress-circle.ts. PTAL. Thanks!

@jelbourn
Copy link
Member

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Dec 21, 2016
@jelbourn jelbourn merged commit 221c234 into angular:master Dec 21, 2016
@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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker 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.

Rename md-progress-circle to md-progress-spinner
3 participants