Skip to content

Version: 6.2.4#748

Open
maede97 wants to merge 17 commits intomasterfrom
dev
Open

Version: 6.2.4#748
maede97 wants to merge 17 commits intomasterfrom
dev

Conversation

@maede97
Copy link
Member

@maede97 maede97 commented Mar 16, 2026

Angular Upgrade

This PR bumps angular from 19 to 21.

Fixes

TODO

  • Docs updated
  • Version bumped
  • CI Pipelines run successfully
  • If .env updated --> change in deployment
  • Manually tested

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 upgrades the Angular frontend build stack (including builders/config) and migrates templates to Angular’s new control-flow syntax, while also hardening backend QR-code generation and adjusting Docker/compose artifacts to match new build outputs.

Changes:

  • Upgrade frontend dependencies to Angular 21 and switch Angular CLI builders to @angular/build.
  • Migrate multiple Angular templates from *ngIf/*ngFor to @if/@for and add explicit standalone: false metadata.
  • Improve backend QR code fetching robustness and update container build/copy paths and healthchecks.

Reviewed changes

Copilot reviewed 29 out of 30 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
frontend/tsconfig.json Adjust TS compiler options (interop + bundler module resolution) for updated Angular build tooling.
frontend/src/main.ts Modify app bootstrap to include zone change detection provider.
frontend/src/app/pages/user-guide/user-guide.component.ts Add explicit standalone: false component metadata.
frontend/src/app/pages/retrieve-data/retrieve-data.component.ts Add explicit standalone: false component metadata.
frontend/src/app/pages/retrieve-data/retrieve-data.component.html Migrate conditional rendering to @if.
frontend/src/app/pages/export-settings/export-settings.component.ts Add explicit standalone: false component metadata.
frontend/src/app/pages/export-settings/export-settings.component.html Migrate complex form/stepper template to @if control flow.
frontend/src/app/pages/download-pending/download-pending.component.ts Add explicit standalone: false component metadata.
frontend/src/app/pages/download-pending/download-pending.component.html Migrate *ngIf/*ngFor to @if/@for.
frontend/src/app/pages/download-data/download-data.component.ts Add explicit standalone: false component metadata.
frontend/src/app/pages/download-data/download-data.component.html Migrate *ngFor to @for.
frontend/src/app/modules/download-module/components/download/download.component.ts Add explicit standalone: false component metadata.
frontend/src/app/modules/download-module/components/download/download.component.html Migrate *ngIf to @if.
frontend/src/app/components/upload-area/upload-area.component.ts Add explicit standalone: false component metadata.
frontend/src/app/components/map-background/map-background.component.ts Add explicit standalone: false and minor provider formatting.
frontend/src/app/components/map-background/map-background.component.html Migrate conditional layout to @if/@else.
frontend/src/app/components/footer/app-footer.component.ts Add explicit standalone: false component metadata.
frontend/src/app/components/elevation-profile/elevation-profile.component.ts Add explicit standalone: false component metadata.
frontend/src/app/components/elevation-profile/elevation-profile.component.html Migrate *ngIf to @if.
frontend/src/app/app.component.ts Add explicit standalone: false component metadata.
frontend/package.json Upgrade Angular packages to v21, adopt @angular/build, and update scripts.
frontend/local-dev.Dockerfile Update Node base image for local dev container.
frontend/karma.conf.js Adjust Karma plugin list as part of Angular build tooling migration.
frontend/Dockerfile Update Node base image and copy path for new Angular build output layout.
frontend/angular.json Switch builders to @angular/build and update output configuration.
docker-compose.yml Adjust frontend healthcheck host/timeout.
docker-compose.ci-testing.yml Align CI healthcheck with local-dev (wget/interval/timeout).
backend/automatic_walk_time_tables/utils/qr.py Add error handling/logging and response validation for QR backend calls.
backend/automatic_walk_time_tables/map_downloader/create_map.py Retry QR generation and omit qr_code attribute when unavailable.

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

You can also share your feedback on Copilot code review. Take the survey.

<div class="elevation-map" *ngIf="plot_options != {}">
<h3>Höhenprofil:</h3>
<p>Mit einem Klick ins Höhenprofil kannst du zusätzliche Wegpunkte einfügen. Diese werden falls
@if (plot_options != {}) {
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.

2 participants