Skip to content

Conversation

@PowerKiKi
Copy link
Member

No description provided.

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 pull request migrates the application from Angular Material Design 2 (M2) to Material Design 3 (M3), introducing significant theming, styling, and component API changes.

Key Changes

  • Updated dependencies: @ecodev/fab-speed-dial (20.0.0 → 21.0.0), @ecodev/natural (65.0.2 → 66.0.7), and @ecodev/natural-editor (65.0.2 → 66.0.7)
  • Replaced M2 theme system with M3 custom theme using CSS custom properties (--mat-sys-*)
  • Migrated typography classes (mat-h1 → mat-font-headline-sm, mat-body-2 → nat-bold, etc.)
  • Updated button APIs (mat-raised-button → matButton="filled", mat-icon-button → matIconButton)
  • Renamed color attributes (warn → error, accent → tertiary)

Reviewed changes

Copilot reviewed 92 out of 95 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
package.json Updated @Ecodev package versions to support M3
yarn.lock Lockfile updates for dependency changes
client/styles/ichtus.scss New M3 theme definition with custom color tokens
client/styles/_themes.scss Removed M2 theme configuration file
client/styles.scss Updated to use M3 mat.theme() mixin and CSS custom properties
client/main.ts Added provideThemes(['ichtus']) for M3 theme support
client/index.html Removed mat-typography class from body
Multiple HTML templates Migrated typography classes, button attributes, and color names across 50+ components
Multiple component SCSS files Moved theme-dependent styles from _*.theme.scss files to component SCSS using CSS custom properties
angular.json Updated styles array to include new ichtus.scss theme file

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

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

Copilot reviewed 92 out of 95 changed files in this pull request and generated 5 comments.


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

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

Copilot reviewed 92 out of 95 changed files in this pull request and generated 3 comments.


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

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

Copilot reviewed 93 out of 96 changed files in this pull request and generated 1 comment.


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

And stop publishing on GitHub Packages because it does not provide any
value
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

Copilot reviewed 93 out of 96 changed files in this pull request and generated no new comments.


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

Because why not
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

Copilot reviewed 93 out of 96 changed files in this pull request and generated 3 comments.


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

<div class="nat-vertical nat-gap-10 nat-expand">
<a
mat-button
matButton
Copy link

Copilot AI Dec 11, 2025

Choose a reason for hiding this comment

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

The button directive matButton should have a value assigned to it. In MD3, matButton without a value is deprecated. Consider using matButton="basic" or matButton="text" instead of just matButton.

Copilot uses AI. Check for mistakes.

@if (bookings && bookings.length > bookings.items.length) {
<button mat-button (click)="nextPage()">Voir plus</button>
<button matButton (click)="nextPage()">Voir plus</button>
Copy link

Copilot AI Dec 11, 2025

Choose a reason for hiding this comment

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

The button directive matButton should have a value assigned to it. In MD3, matButton without a value is deprecated. Consider using matButton="basic" or matButton="text" instead of just matButton.

Copilot uses AI. Check for mistakes.
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

It is a drop-in replacement for `MatCellDef` with the additional input
of `dataSource` that allows to strongly type the cell element.

Usage:

```html
<table mat-table [dataSource]="dataSource">
    <ng-container matColumnDef="name">
        <th *matHeaderCellDef mat-header-cell>Name</th>
        <td *matCellDef="let element; dataSource: dataSource" mat-cell>
            {{ element.name }}
        </td>
    </ng-container>
</table>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants