Skip to content

fix(material-experimental/mdc-slider): remove slider theme from all-theme #19411

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

Merged
merged 1 commit into from
May 21, 2020

Conversation

jelbourn
Copy link
Member

The MDC Web slider is going to be basically get rewritten. Removing the current CSS from the all-theme until we can update this to the new version.

…heme

The MDC Web slider is going to be basically get rewritten. Removing the current CSS from the all-theme until we can update this to the new version.
@jelbourn jelbourn added the target: patch This PR is targeted for the next patch release label May 21, 2020
@jelbourn jelbourn requested a review from devversion May 21, 2020 13:37
@jelbourn jelbourn requested a review from mmalerba as a code owner May 21, 2020 13:37
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label May 21, 2020
@@ -6,7 +6,6 @@
@import '../mdc-menu/menu-theme';
@import '../mdc-radio/radio-theme';
@import '../mdc-slide-toggle/slide-toggle-theme';
@import '../mdc-slider/slider-theme';
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't this prevent us from catching any bugs in the dev app until MDC are done updating their slider? It might be better to leave it as it is and then swap it out when MDC have released the rewrite.

Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

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

LGTM. Though would also agree with Kristiyan's point here. Is the theme used internally in g3 and conflicts? I haven't look at their repo, but they mentioned the rework when we already started with that one (08/2019), and we're still here with no new API we'd need to update to.

@jelbourn
Copy link
Member Author

You got it- this was causing a problem in Google because the import path changed. I also want to exclude the mdc-slider styles from all-theme because we 100% know people won't be using them in the current form, so they're inherently unused styles.

@jelbourn jelbourn added action: merge The PR is ready for merge by the caretaker merge safe labels May 21, 2020
@jelbourn
Copy link
Member Author

Merging as merge-safe because I already made this change in Google.

@jelbourn jelbourn added target: major This PR is targeted for the next major release and removed target: patch This PR is targeted for the next patch release labels May 21, 2020
@jelbourn jelbourn merged commit d952a22 into angular:master May 21, 2020
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 13, 2020
In angular#19411 the MDC slider theme was dropped from the all themes mixin since the current slider implementation will be replaced eventually which also broke the MDC slider demo. These changes add back the slider theme only to the dev app so that we can still test it since this is still code that we're releasing to npm.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 14, 2020
In angular#19411 the MDC slider theme was dropped from the all themes mixin since the current slider implementation will be replaced eventually which also broke the MDC slider demo. These changes add back the slider theme only to the dev app so that we can still test it since this is still code that we're releasing to npm.
andrewseguin pushed a commit that referenced this pull request Jun 15, 2020
In #19411 the MDC slider theme was dropped from the all themes mixin since the current slider implementation will be replaced eventually which also broke the MDC slider demo. These changes add back the slider theme only to the dev app so that we can still test it since this is still code that we're releasing to npm.
andrewseguin pushed a commit that referenced this pull request Jun 15, 2020
In #19411 the MDC slider theme was dropped from the all themes mixin since the current slider implementation will be replaced eventually which also broke the MDC slider demo. These changes add back the slider theme only to the dev app so that we can still test it since this is still code that we're releasing to npm.
@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 Jun 21, 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 target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants