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

[TextFields] {BreakingChange} Remove unused backgroundColor property #4452

Merged
merged 2 commits into from Jun 29, 2018
Merged

Conversation

romoore
Copy link
Contributor

@romoore romoore commented Jun 29, 2018

Only MDCTextInputControllerFullWidth is using backgroundColor in any
meaningful way. For MDCTextInputControllerBase, the property wasn't used
anywhere in the input controller.

Reduces the scope of #3357

Rob Moore added 2 commits June 29, 2018 10:53
Only MDCTextInputControllerFullWidth is using `backgroundColor` in any
meaningful way. For MDCTextInputControllerBase, the property wasn't used
anywhere in the input controller.
@material-automation
Copy link

Based on the changes, the title has been prefixed with [TextFields].

@material-automation material-automation bot changed the title Issue 4448 [TextFields] Issue 4448 Jun 29, 2018
@romoore romoore changed the title [TextFields] Issue 4448 [TextFields] Remove unused backgroundColor property Jun 29, 2018
@romoore romoore changed the title [TextFields] Remove unused backgroundColor property {BreakingChange} [TextFields] Remove unused backgroundColor property Jun 29, 2018
@material-automation
Copy link

API diff detected the following changes

TextFields

MDCTextInputControllerFullWidth

new property: backgroundColor in MDCTextInputControllerFullWidth

new property: backgroundColorDefault in MDCTextInputControllerFullWidth

MDCTextInputControllerBase

removed property: backgroundColor in MDCTextInputControllerBase

MDCTextInputController

removed property: backgroundColorDefault in MDCTextInputController

removed property: backgroundColor in MDCTextInputController

@romoore romoore changed the title {BreakingChange} [TextFields] Remove unused backgroundColor property [TextFields] {BreakingChange} Remove unused backgroundColor property Jun 29, 2018
Copy link
Contributor

@andrewoverton andrewoverton left a comment

Choose a reason for hiding this comment

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

This LGTM I suppose! @romoore, is there something we need to do when there's a breaking change? I forget...

@romoore
Copy link
Contributor Author

romoore commented Jun 29, 2018

These properties had no effect outside of the FullWidth controller. I suppose we could mark them deprecated THIS release and then delete them NEXT release?

@ianegordon or @randallli might be able to weigh-in here.

@willlarche
Copy link
Collaborator

I believe this should just go thru without a deprecation. It was dead code in the other styles and isn't leaving the one that's using it. Just making it less public.

@romoore romoore requested a review from yarneo June 29, 2018 18:55
@romoore
Copy link
Contributor Author

romoore commented Jun 29, 2018

Adding @yarneo as the next release cop.

@romoore romoore merged commit 55eead6 into material-components:develop Jun 29, 2018
@romoore romoore deleted the issue-4448 branch June 29, 2018 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants