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

refactor(cdk/table): remove mixin function usages #28622

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

crisbeto
Copy link
Member

Removes the final usages of TypeScript mixins in the CDK table by adding the sticky functionality to the individual usages. Ideally we'd have a base class for this, but that won't be usable in CdkHeaderRowDef and CdkFooterRowDef because they already inherit from BaseRowDef and we can't put the sticky functionality there, because CdkRowDef shouldn't support sticky. The logic is pretty basic so I think it's fine to duplicate it.

@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Feb 21, 2024
Removes the final usages of TypeScript mixins in the CDK table by adding the sticky functionality to the individual usages. Ideally we'd have a base class for this, but that won't be usable in `CdkHeaderRowDef` and `CdkFooterRowDef` because they already inherit from `BaseRowDef` and we can't put the sticky functionality there, because `CdkRowDef` shouldn't support `sticky`. The logic is pretty basic so I think it's fine to duplicate it.
@crisbeto crisbeto added the merge: preserve commits When the PR is merged, a rebase and merge should be performed label Feb 21, 2024
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Feb 21, 2024
Fixes that the build was throwing an error when using the object literal syntax for the `inputs` array.
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Feb 22, 2024
@crisbeto crisbeto merged commit 616d44c into angular:main Feb 22, 2024
24 of 26 checks passed
@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 Mar 24, 2024
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 area: build & ci Related the build and CI infrastructure of the project merge: preserve commits When the PR is merged, a rebase and merge should be performed target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants