Skip to content

Conversation

@Mutugiii
Copy link
Member

@Mutugiii Mutugiii commented Jan 27, 2026

Connects #9166

Migrate the slide toggle component to mdc spec

image

Additionally, migrate the radio component

image

@Mutugiii Mutugiii changed the title all: mdc migrate slide toggle (connects #9166) all: mdc migrate slide toggle, and radio (connects #9166) Jan 27, 2026
@Mutugiii Mutugiii marked this pull request as ready for review January 27, 2026 13:28
@Mutugiii Mutugiii requested review from Copilot and paulbert January 27, 2026 15:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates Angular Material components from legacy modules to their MDC (Material Design Components) equivalents, specifically targeting the slide toggle and radio components to align with issue #9166.

Changes:

  • Replaced legacy radio and slide-toggle module imports with their MDC counterparts
  • Updated CSS selector from legacy to MDC format for radio group styling

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/app/shared/material.module.ts Updated imports to use non-legacy MDC modules for radio and slide-toggle components
src/app/shared/dialogs/dialogs-form.component.ts Updated CSS selector from .mat-radio-group to .mat-mdc-radio-group to match MDC naming convention

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants