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

docs(material/sidenav): Deprecated methods used in the responsive sidenav example #29317

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

lsamboretrorabbit
Copy link
Contributor

Fixes the bug in the documentation - Angular Material 'sidenav' component.
Updated the file 'sidenav-responsive-example' to use the CDK instead of using media queries

Fixes #29266

…enav example

Fixes the bug in the documentation - Angular Material 'sidenav' component.
Updated the ts file to use the CDK instead of using media queries

Fixes angular#29266
@lsamboretrorabbit lsamboretrorabbit requested a review from a team as a code owner June 25, 2024 17:13
@lsamboretrorabbit lsamboretrorabbit requested review from crisbeto and andrewseguin and removed request for a team June 25, 2024 17:13
@angular-robot angular-robot bot added the area: docs Related to the documentation label Jun 25, 2024
…enav example

Fixes the bug in the documentation - Angular Material 'sidenav' component.
Updated the file 'sidenav-responsive-example' to use the CDK instead of using media queries

Fixes angular#29266
@lsamboretrorabbit
Copy link
Contributor Author

@crisbeto thank you, i have made updates

Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

Looks good, aside from one last comment and resolving the merge conflicts.

lsamboretrorabbit and others added 2 commits July 1, 2024 08:19
…enav example

Fixes the bug in the documentation - Angular Material 'sidenav' component.
Updated the file 'sidenav-responsive-example' to use the CDK instead of using media queries

Fixes angular#29266
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

I see that there's a merge commit in the PR now. The tooling that we use to merge PRs doesn't allow merge commits. Can you drop it from your branch?

@@ -29,16 +36,27 @@ export class SidenavResponsiveExample implements OnDestroy {
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.`,
);

private _mobileQueryListener: () => void;
mobileQuery: boolean;
Copy link
Member

Choose a reason for hiding this comment

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

I think that this and _breakpointSubscription aren't used anymore and can be removed.

This reverts commit 6234e9f, reversing
changes made to 4a11697.
@lsamboretrorabbit lsamboretrorabbit requested a review from a team as a code owner July 4, 2024 09:13
lsamboretrorabbit and others added 2 commits July 4, 2024 11:16
…enav example

Fixes the bug in the documentation - Angular Material 'sidenav' component.
Updated the file 'sidenav-responsive-example' to use the CDK instead of using media queries

Fixes angular#29266
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Related to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs-bug(Sidenav): deprecated methods used in the responsive sidenav example
2 participants