Skip to content

refactor: clean up datepicker base class abstract methods - #18278

Merged
crisbeto merged 1 commit into
angular:date-rangefrom
crisbeto:date-range-abstract-cleanup-again
Jan 24, 2020
Merged

crisbeto merged 1 commit into
angular:date-rangefrom
crisbeto:date-range-abstract-cleanup-again

Conversation

@crisbeto

Copy link
Copy Markdown
Member

I had to do some hacky workarounds in order, because I couldn't figure out how to deal with an abstract class that was being passed into a mixin. These changes clean up the workarounds.

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent pr: merge safe labels Jan 24, 2020
@crisbeto
crisbeto requested a review from mmalerba as a code owner January 24, 2020 13:18
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jan 24, 2020
@crisbeto
crisbeto force-pushed the date-range-abstract-cleanup-again branch from 7146b3f to dc00063 Compare January 24, 2020 13:21
I had to do some hacky workarounds in order, because I couldn't figure out how to deal with an abstract class that was being passed into a mixin. These changes clean up the workarounds.
@crisbeto
crisbeto force-pushed the date-range-abstract-cleanup-again branch from dc00063 to e7b961e Compare January 24, 2020 13:30
// Accept `any` to avoid conflicts with other directives on `<input>` that
// may accept different types.
static ngAcceptInputType_value: any;
static ngAcceptInputType_disabled: BooleanInput;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

was this intentional?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes. I think either I missed removing it in a previous PR or we changed the lint rule to catch more things, because the date-range branch started failing the lint check after I rebased it. I decided to just fix the issue in this PR since it's going back into the same branch.

@mmalerba mmalerba added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Jan 24, 2020
@crisbeto
crisbeto merged commit a45dd90 into angular:date-range Jan 24, 2020
crisbeto added a commit that referenced this pull request Jan 29, 2020
I had to do some hacky workarounds in order, because I couldn't figure out how to deal with an abstract class that was being passed into a mixin. These changes clean up the workarounds.
crisbeto added a commit that referenced this pull request Feb 5, 2020
I had to do some hacky workarounds in order, because I couldn't figure out how to deal with an abstract class that was being passed into a mixin. These changes clean up the workarounds.
crisbeto added a commit that referenced this pull request Feb 17, 2020
I had to do some hacky workarounds in order, because I couldn't figure out how to deal with an abstract class that was being passed into a mixin. These changes clean up the workarounds.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Feb 17, 2020
)

I had to do some hacky workarounds in order, because I couldn't figure out how to deal with an abstract class that was being passed into a mixin. These changes clean up the workarounds.
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 Feb 24, 2020
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 P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

3 participants