Skip to content

refactor(material-experimental/mdc-list): no longer use deprecated styles #22530

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

Conversation

devversion
Copy link
Member

We recently switched the MDC list to deprecated styles as the MDC team
started reworking the MDC list and our usage is not compatible.

With this change, we start using the standard non-deprecated MDC list
styles. This allows us to simplify a few custom CSS overrides due the
new MDC list API being more aligned with the API we want to support for
backwards compatibility with the non-MDC list (e.g. per list-item
icons and avatars instead of it being a per-list setting).

@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Apr 21, 2021
@devversion devversion added the blocked This issue is blocked by some external factor, such as a prerequisite PR label Apr 21, 2021
@devversion
Copy link
Member Author

@devversion devversion force-pushed the feat/mdc-list-switch-away-from-deprecated-styles branch 2 times, most recently from 50343a7 to 60bee47 Compare April 28, 2021 17:07
@devversion devversion force-pushed the feat/mdc-list-switch-away-from-deprecated-styles branch 2 times, most recently from f6db643 to bc212a5 Compare June 2, 2021 17:18
…yles

We recently switched the MDC list to deprecated styles as the MDC team
started reworking the MDC list and our usage is not compatible.

With this change, we start using the standard non-deprecated MDC list
styles. This allows us to simplify a few custom CSS overrides due the
new MDC list API being more aligned with the API we want to support for
backwards comaptibility with the non-MDC list (e.g. per list-item
icons and avatars instead of it being a per-list setting).
@devversion devversion force-pushed the feat/mdc-list-switch-away-from-deprecated-styles branch from bc212a5 to 81f2f0a Compare June 2, 2021 17:27
},
{
from: 'Mary',
subject: 'Summer BBQ',
message: 'Wish I could come, but I have some prior obligations.',
image: 'https://angular.io/generated/images/bios/juleskremer.jpg'
image: 'https://angular.io/generated/images/bios/twerske.jpg'
Copy link
Member Author

Choose a reason for hiding this comment

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

@cindygk @twerske Are you both fine being in this team-internal demo site? The current images no longer exist.

@devversion devversion added merge safe target: patch This PR is targeted for the next patch release and removed blocked This issue is blocked by some external factor, such as a prerequisite PR labels Jun 2, 2021
@devversion devversion marked this pull request as ready for review June 2, 2021 17:35
@devversion devversion requested review from crisbeto, jelbourn, mmalerba and a team as code owners June 2, 2021 17:35
@devversion
Copy link
Member Author

This is now ready for review. The MDC fixes @crisbeto and I landed are available now.

I've been waiting for #22504 to land; but given it not being merge safe, I'm just updating MDC canary here too

Copy link
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

lgtm

@jelbourn jelbourn added the action: merge The PR is ready for merge by the caretaker label Jun 2, 2021
@mmalerba mmalerba added target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Jun 2, 2021
@mmalerba mmalerba merged commit 3aa65ba into angular:master Jun 2, 2021
@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 Jul 3, 2021
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: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants