Skip to content

UI auf konsistente Angular-21-Basis migrieren und Build-/Runtime-Brüche beheben#487

Merged
DerOetzi merged 6 commits into
mainfrom
copilot/analyze-dependabot-merge-issues
May 11, 2026
Merged

UI auf konsistente Angular-21-Basis migrieren und Build-/Runtime-Brüche beheben#487
DerOetzi merged 6 commits into
mainfrom
copilot/analyze-dependabot-merge-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 11, 2026

  • Build-Fehler im build-core-Job lokal reproduzieren (UI-Artefakt + python -m build)
  • Artifact-Pfad in /home/runner/work/learninghouse/learninghouse/.github/workflows/build_project.yml auf Angular-21-Outputstruktur korrigieren
  • Betroffenen Build lokal erneut ausführen und Erfolg verifizieren
  • Abschließenden Review-/Security-Check ausführen

Comment thread .github/workflows/build_project.yml Outdated
@DerOetzi DerOetzi marked this pull request as ready for review May 11, 2026 11:34
Copilot AI review requested due to automatic review settings May 11, 2026 11:34
@DerOetzi DerOetzi merged commit a79b67d into main May 11, 2026
12 checks passed
Copy link
Copy Markdown

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

Diese PR migriert die UI auf eine konsistente Angular‑21 Basis und behebt dadurch Build-/Runtime-Probleme entlang der UI→Core-Paketierung (GitHub Actions Artifact → Python Package Build).

Changes:

  • Upgrade der UI Dependencies auf Angular 21 (inkl. TypeScript/zone.js/ngx-translate) und Anpassung der Angular-Builder-Konfiguration auf @angular-devkit/build-angular:application.
  • Anpassung der CI (Node-Version + Artifact-Pfad) an die neue Angular-Outputstruktur (dist/.../browser/**) für den build-core Job.
  • Kompatibilitätsanpassungen im UI-Code/Tests (u.a. explizit standalone: false, TestBed-Imports/Schemas) für erfolgreiche Unit-Tests unter Angular 21.

Reviewed changes

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

Show a summary per file
File Description
ui/tsconfig.json Umstellung der TS Module-Auflösung auf bundler für Angular/TS 5.9 Setup.
ui/src/main.ts Entfernt enableProdMode/environment-Branch; belässt Bootstrap via platformBrowserDynamic.
ui/src/app/shared/components/yes-no/yes-no.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/table/table.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/table/delete-dialog/delete-dialog.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/session-timer/session-timer.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/session-timer/session-timer.component.spec.ts Ergänzt TestBed-Imports/Schemas (CommonModule/Translate/NO_ERRORS_SCHEMA).
ui/src/app/shared/components/select/select.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/password/password.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/input/input.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/form-response/form-response.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/edit-dialog/edit-dialog.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/button-group/button-group.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/button-group/button-group.component.spec.ts Ergänzt TestBed-Imports/Provider-Stubs/Schemas für Angular 21.
ui/src/app/shared/components/alert/alert.component.ts Setzt standalone: false explizit.
ui/src/app/shared/components/alert/alert.component.spec.ts Ergänzt NO_ERRORS_SCHEMA für robustes Template-Compiling.
ui/src/app/modules/layout/components/toolbar/toolbar.component.ts Setzt standalone: false explizit.
ui/src/app/modules/layout/components/toolbar/toolbar.component.spec.ts Ergänzt TestBed-Imports/Provider-Stubs/Schemas.
ui/src/app/modules/layout/components/sidenav/sidenav.component.ts Setzt standalone: false explizit.
ui/src/app/modules/layout/components/sidenav/sidenav.component.spec.ts Ergänzt TestBed-Imports/Provider-Stubs/Schemas.
ui/src/app/modules/layout/components/info-dialog/info-dialog.component.ts Setzt standalone: false explizit.
ui/src/app/modules/configuration/pages/sensors/sensors.component.ts Setzt standalone: false explizit.
ui/src/app/modules/configuration/pages/sensors/add-edit-sensor-dialog/add-edit-sensor-dialog.component.ts Setzt standalone: false explizit.
ui/src/app/modules/configuration/pages/sensors/add-edit-sensor-dialog/add-edit-sensor-dialog.component.spec.ts Ergänzt TestBed-Imports/Provider-Stubs/Schemas.
ui/src/app/modules/brains/pages/training/training.component.ts Setzt standalone: false explizit.
ui/src/app/modules/brains/pages/training/training.component.spec.ts Ergänzt TestBed-Imports/ActivatedRoute-Stub/Schemas.
ui/src/app/modules/brains/pages/prediction/prediction.component.ts Setzt standalone: false explizit.
ui/src/app/modules/brains/pages/brains/brains.component.ts Setzt standalone: false explizit.
ui/src/app/modules/brains/pages/brains/add-edit-brain-dialog/add-edit-brain-dialog.component.ts Setzt standalone: false explizit.
ui/src/app/modules/brains/pages/brains/add-edit-brain-dialog/add-edit-brain-dialog.component.spec.ts Ergänzt TestBed-Imports/Provider-Stubs/Schemas.
ui/src/app/modules/brains/components/braininfo/braininfo.component.ts Setzt standalone: false explizit.
ui/src/app/modules/brains/components/braininfo/braininfo.component.spec.ts Ergänzt TestBed-Imports/Schemas.
ui/src/app/modules/auth/pages/login/login.component.ts Setzt standalone: false explizit.
ui/src/app/modules/auth/pages/change-password/change-password.component.ts Setzt standalone: false explizit.
ui/src/app/modules/auth/pages/apikeys/apikeys.component.ts Setzt standalone: false explizit.
ui/src/app/modules/auth/pages/apikeys/add-apikey-dialog/add-apikey-dialog.component.ts Setzt standalone: false explizit.
ui/src/app/app.component.ts Setzt standalone: false explizit.
ui/src/app/app.component.spec.ts Ergänzt Provider-Stubs (AuthService/MatIconRegistry/DomSanitizer) + Translate + Schema.
ui/package.json Upgrade auf Angular 21 + Updates für ngx-translate/zone.js/typescript + karma reporter.
ui/package-lock.json Lockfile-Update passend zu Angular 21 Dependency-Graph.
ui/angular.json Wechsel auf :application Builder + Umstellung mainbrowser + Polyfills als Array.
.github/workflows/build_project.yml Node 24 für UI-Build + Artifact-Pfad auf ui/dist/learninghouse/browser/** angepasst.
Files not reviewed (1)
  • ui/package-lock.json: Language not supported

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

@DerOetzi DerOetzi deleted the copilot/analyze-dependabot-merge-issues branch May 11, 2026 20:15
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