Repository navigation
Angular 21: standalone components, Vitest and angular19 CI - #1394
Merged
Merged
Conversation
PR CI checks out the frontend (and sibling plugins) at the branch the PR targets instead of always stable. Corepack is enabled before every yarn install, since the frontend's angular19 branch pins yarn@4; the Docker build uses yarn for the frontend build as well. Dead WDIO config copies are dropped (the frontend no longer has WDIO). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r Angular 21 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ervices Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🔵 Needs a closer look
Runtime dependency resolution changes still need human verification of dialog and report interactions in a browser.
No open issues 🎉
What changed in this PR
Updates the outer/inner resource plugin for the frontend’s Angular 21 migration, with standalone components and compatible build tooling.
Changes:
- Moves template dependencies into standalone components and removes NgModule declarations.
- Retains feature-level dialog providers.
- Aligns PR frontend checkout with the target branch and enables Corepack for Yarn.
| File | Description |
|---|---|
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/outer-inner-resource-pn.module.ts | Imports standalone layout and settings. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/reports/reports.module.ts | Imports standalone report components. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/reports/components/report-preview-table/report-preview-table.component.ts | Adds standalone grid dependency. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/reports/components/report-generator-form/report-generator-form.component.ts | Adds form and control dependencies. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/reports/components/report-generator-container/report-generator-container.component.ts | Imports report child components. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/outer-resources/outer-resources.module.ts | Imports standalone components; retains dialog providers. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/outer-resources/components/outer-resources-page/outer-resources-page.component.ts | Adds page template dependencies. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/outer-resources/components/outer-resource-edit/outer-resource-edit.component.ts | Adds edit dialog dependencies. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/outer-resources/components/outer-resource-delete/outer-resource-delete.component.ts | Adds delete dialog dependencies. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/outer-resources/components/outer-resource-create/outer-resource-create.component.ts | Adds create dialog dependencies. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/inner-resources/inner-resources.module.ts | Imports standalone components; retains dialog providers. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/inner-resources/components/inner-resources-page/inner-resources-page.component.ts | Adds page template dependencies. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/inner-resources/components/inner-resource-edit/inner-resource-edit.component.ts | Adds edit dialog dependencies. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/inner-resources/components/inner-resource-delete/inner-resource-delete.component.ts | Adds delete dialog dependencies. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/modules/inner-resources/components/inner-resource-create/inner-resource-create.component.ts | Adds create dialog dependencies. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/layouts/outer-inner-resource-pn-layout.component.ts | Imports standalone router outlet. |
| eform-client/src/app/plugins/modules/outer-inner-resource-pn/components/outer-inner-resource-settings/outer-inner-resource-settings.component.ts | Adds settings template dependencies. |
| Dockerfile | Enables Corepack and builds with Yarn. |
| .github/workflows/dotnet-core-pr.yml | Uses target frontend branch and enables Corepack. |
| .github/workflows/dotnet-core-master.yml | Enables Corepack before dependency installation. |
Review effort: Balanced
…vide it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the Angular 21 upgrade. The frontend's
angular19branch is now on Angular 21 with standalone components and Vitest (microting/eform-angular-frontend#8155).yarn install, because the frontend'sangular19pins Yarn 4.declarationsare removed.MatDialogModulestays in the feature modules, so plugin dialogs still resolve module-provided services.Verified locally with
ng buildagainst frontendangular19, together with the other migrated plugins. Code reviewed. Not yet clicked through in a browser.🤖 Generated with Claude Code