Skip to content

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 requested a review from jelbourn December 20, 2016 20:54
@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