Skip to content

Update to Angular 22. Remove @angular-builders/custom-webpack - #368

Merged
GoodDayForSurf merged 6 commits into
DevExpress:masterfrom
GoodDayForSurf:master_ng22
Jul 27, 2026
Merged

Update to Angular 22. Remove @angular-builders/custom-webpack#368
GoodDayForSurf merged 6 commits into
DevExpress:masterfrom
GoodDayForSurf:master_ng22

Conversation

@GoodDayForSurf

Copy link
Copy Markdown
Contributor

No description provided.

@GoodDayForSurf GoodDayForSurf self-assigned this Jul 24, 2026
@GoodDayForSurf
GoodDayForSurf marked this pull request as ready for review July 24, 2026 13:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the Theme Builder Angular application to Angular 22 and removes the dependency on @angular-builders/custom-webpack, aligning the build/serve pipeline with the newer @angular/build builders and adopting Angular’s modern template control-flow syntax.

Changes:

  • Migrates Angular CLI builders from @angular-builders/custom-webpack to @angular/build and deletes the custom webpack.config.js.
  • Updates TypeScript/Angular compiler settings (notably moduleResolution: "bundler", esModuleInterop: true, and app-level strictTemplates: false).
  • Refactors templates from *ngIf/*ngFor/ngSwitch to @if/@for/@switch and applies an explicit change detection strategy across many components.

Reviewed changes

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

Show a summary per file
File Description
webpack.config.js Removed custom webpack fallback configuration as part of dropping custom-webpack builder.
tsconfig.json Updates TS compiler settings for Angular 22 toolchain (bundler resolution, interop, etc.).
src/tsconfig.app.json Adds Angular compiler options (disables strict templates).
src/main.ts Adds provideZoneChangeDetection() during bootstrap.
src/app/shared/badge/badge.component.ts Adds explicit change detection strategy.
src/app/preview/wizard/wizard.component.ts Adds explicit change detection strategy.
src/app/preview/treeview/treeview.component.ts Adds explicit change detection strategy.
src/app/preview/treelist/treelist.component.ts Adds explicit change detection strategy.
src/app/preview/toolbar/toolbar.component.ts Adds explicit change detection strategy.
src/app/preview/tabs/tabs.component.ts Adds explicit change detection strategy.
src/app/preview/stepper/stepper.component.ts Adds explicit change detection strategy.
src/app/preview/stepper/stepper.component.html Migrates *ngIf/*ngFor to @if/@for.
src/app/preview/splitter/splitter.component.ts Adds explicit change detection strategy.
src/app/preview/sliders/sliders.component.ts Adds explicit change detection strategy.
src/app/preview/scrollview/scrollview.component.ts Adds explicit change detection strategy.
src/app/preview/scheduler/scheduler.component.ts Adds explicit change detection strategy.
src/app/preview/progressbar/progressbar.component.ts Adds explicit change detection strategy.
src/app/preview/preview/preview.component.ts Adds explicit change detection strategy.
src/app/preview/preview-title/preview-title.component.ts Adds explicit change detection strategy.
src/app/preview/preview-title/preview-title.component.html Migrates *ngIf to @if.
src/app/preview/pivotgrid/pivotgrid.component.ts Adds explicit change detection strategy.
src/app/preview/overlays/overlays.component.ts Adds explicit change detection strategy.
src/app/preview/overlays/overlays.component.html Migrates *ngIf blocks to @if/@else.
src/app/preview/menu/menu.component.ts Adds explicit change detection strategy.
src/app/preview/list/list.component.ts Adds explicit change detection strategy.
src/app/preview/index.component.ts Adds explicit change detection strategy.
src/app/preview/index.component.html Migrates container gating from *ngIf to @if.
src/app/preview/gallery/gallery.component.ts Adds explicit change detection strategy.
src/app/preview/form/form.component.ts Adds explicit change detection strategy.
src/app/preview/filterbuilder/filterbuilder.component.ts Adds explicit change detection strategy.
src/app/preview/fieldset/fieldset.component.ts Adds explicit change detection strategy.
src/app/preview/editors/editors.component.ts Adds explicit change detection strategy.
src/app/preview/editors/editors.component.html Migrates *ngIf blocks to @if/@else.
src/app/preview/drawer/drawer.component.ts Adds explicit change detection strategy.
src/app/preview/datatgrid/datatgrid.component.ts Adds explicit change detection strategy.
src/app/preview/chat/chat.component.ts Adds explicit change detection strategy.
src/app/preview/chat/chat.component.html Migrates *ngIf blocks to @if/@else.
src/app/preview/cardview/cardview.component.ts Adds explicit change detection strategy.
src/app/preview/buttons/buttons.component.ts Adds explicit change detection strategy.
src/app/preview/buttons/buttons.component.html Migrates *ngIf/*ngFor to @if/@for.
src/app/preview/button-group/button-group.component.ts Adds explicit change detection strategy.
src/app/preview/button-group/button-group.component.html Migrates *ngIf/*ngFor to @if/@for.
src/app/preview/button-detailed/button-detailed.component.ts Adds explicit change detection strategy.
src/app/preview/button-detailed/button-detailed.component.html Migrates *ngIf/then/else templates to @if/@else.
src/app/preview/accordion/accordion.component.ts Adds explicit change detection strategy.
src/app/notify-error/notify-error.component.ts Adds explicit change detection strategy.
src/app/notify-error/notify-error.component.html Migrates *ngIf to @if.
src/app/master/master.component.ts Adds explicit change detection strategy.
src/app/master/master.component.html Migrates *ngFor/*ngIf to @for/@if.
src/app/left-menu/search-opener/search-opener.component.ts Adds explicit change detection strategy.
src/app/left-menu/search-opener/search-opener.component.html Migrates *ngIf to @if.
src/app/left-menu/main/left-menu.component.ts Adds explicit change detection strategy.
src/app/left-menu/main/left-menu.component.html Migrates multiple *ngIf/*ngFor blocks to @if/@for.
src/app/left-menu/editor/editor.component.ts Adds explicit change detection strategy.
src/app/left-menu/editor/editor.component.html Migrates *ngIf blocks to @if.
src/app/left-menu/base-parameters/base-parameters.component.ts Adds explicit change detection strategy.
src/app/left-menu/base-parameters/base-parameters.component.html Migrates *ngFor to @for.
src/app/left-menu/back-navigator/back-navigator.component.ts Adds explicit change detection strategy.
src/app/layouts/preview-layout/preview-layout.component.ts Adds explicit change detection strategy.
src/app/layouts/loading/loading.component.ts Adds explicit change detection strategy.
src/app/layouts/loading/loading.component.html Migrates *ngIf to @if.
src/app/layouts/header/popup/popup.component.ts Adds explicit change detection strategy.
src/app/layouts/header/import-popup/import-popup.component.ts Adds explicit change detection strategy.
src/app/layouts/header/help-button/help-button.component.ts Adds explicit change detection strategy.
src/app/layouts/header/header.component.ts Adds explicit change detection strategy.
src/app/layouts/header/header.component.html Migrates *ngIf/ng-template usage to @if blocks.
src/app/layouts/header/header-button/header-button.component.ts Adds explicit change detection strategy.
src/app/layouts/header/header-button/header-button.component.html Migrates *ngIf to @if for icon selection.
src/app/layouts/header/export-popup/help-tooltip/help-tooltip.component.ts Adds explicit change detection strategy.
src/app/layouts/header/export-popup/export-popup.component.ts Updates JSZip import style and adds explicit change detection strategy.
src/app/layouts/header/export-popup/export-popup.component.html Migrates *ngFor/*ngIf to @for/@if in export wizard UI.
src/app/layouts/footer/footer.component.ts Adds explicit change detection strategy.
src/app/layouts/button/button.component.ts Adds explicit change detection strategy.
src/app/layouts/bootstrap-uploader/bootstrap-uploader.component.ts Adds explicit change detection strategy.
src/app/layouts/app-layout/app-layout.component.ts Adds explicit change detection strategy.
src/app/index/index.component.ts Adds explicit change detection strategy.
src/app/index/index.component.html Migrates *ngIf/ngSwitch to @if/@switch/@case.
src/app/import/import-meta/import-meta.component.ts Adds explicit change detection strategy.
src/app/import/import-bootstrap/import-bootstrap.component.ts Adds explicit change detection strategy.
src/app/iframe/iframe.component.ts Adds explicit change detection strategy.
src/app/icons/icon-tm-info/icon-tm-info.component.ts Adds explicit change detection strategy.
src/app/icons/icon-themes/icon-themes.component.ts Adds explicit change detection strategy.
src/app/icons/icon-theme-circle/icon-theme-circle.component.ts Adds explicit change detection strategy.
src/app/icons/icon-metadata/icon-metadata.component.ts Adds explicit change detection strategy.
src/app/icons/icon-material/icon-material.component.ts Adds explicit change detection strategy.
src/app/icons/icon-logo/icon-logo.component.ts Adds explicit change detection strategy.
src/app/icons/icon-loading/icon-loading.component.ts Adds explicit change detection strategy.
src/app/icons/icon-generic/icon-generic.component.ts Adds explicit change detection strategy.
src/app/icons/icon-fluent/icon-fluent.component.ts Adds explicit change detection strategy.
src/app/icons/icon-export/icon-export.component.ts Adds explicit change detection strategy.
src/app/icons/icon-bootstrap/icon-bootstrap.component.ts Adds explicit change detection strategy.
src/app/icons/button-icon/button-icon.component.ts Adds explicit change detection strategy.
src/app/icons/button-icon/button-icon.component.html Migrates *ngIf to @if for icon selection.
src/app/app.component.ts Adds explicit change detection strategy.
src/app/advanced/advanced.component.ts Adds explicit change detection strategy.
pnpm-workspace.yaml Pins Angular 22 packages in minimumReleaseAgeExclude.
package.json Bumps Angular packages to 22.x, updates toolchain deps (TS 6.x, zone.js), removes custom-webpack deps.
angular.json Switches builders to @angular/build:* and updates build options schema.

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

Comment thread src/app/layouts/header/export-popup/export-popup.component.html Outdated
Comment thread src/main.ts Outdated
GoodDayForSurf and others added 3 commits July 24, 2026 17:20
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@GoodDayForSurf
GoodDayForSurf merged commit 2dafcfc into DevExpress:master Jul 27, 2026
3 checks passed
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