Repository navigation
chore(deps): upgrade frontend to Angular 21 - #4534
Merged
Merged
Conversation
Signed-off-by: Xinyuan Lin <[email protected]>
Signed-off-by: Xinyuan Lin <[email protected]>
Signed-off-by: Xinyuan Lin <[email protected]>
Signed-off-by: Xinyuan Lin <[email protected]>
Signed-off-by: Xinyuan Lin <[email protected]>
bobbai00
added a commit
to bobbai00/texera
that referenced
this pull request
Apr 29, 2026
frontend/package.json now requires node >=20.19.0 after the Angular 21 upgrade in apache#4534, but bin/texera-web-application.dockerfile was still pinned to node:18.17, breaking docker builds with: The Angular CLI requires a minimum Node.js version of v20.19 or v22.12. Bump to node:22-bookworm (LTS) to match. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
### What changes were proposed in this PR? Upgrade the frontend from Angular 20 to Angular 21 and make the compatibility fixes needed for the current Texera workspace, dashboard, and test setup. - Upgraded Angular packages to Angular 21 - `@angular/*` - `@angular/cli` - `@angular-devkit/*` - `@angular/cdk` - Updated related tooling and ecosystem packages - `@angular-eslint/*` - `@angular-builders/custom-webpack` - `@nx/angular` - `nx` - `ng-zorro-antd` - `ngx-markdown` - `marked` - Updated frontend build/test scripts for the current Nx package layout - Applied Angular 21 compatibility fixes across module imports and templates - renamed tooltip module imports to `NzTooltipModule` - updated `NzNoAnimationModule` import path - migrated `nz-tabset` usages to `nz-tabs` - updated tab change handlers to match the current ng-zorro APIs - Fixed Angular 21 change-detection issues in the property editor - removed the `ngAfterViewChecked()` `detectChanges()` loop in `OperatorPropertyEditFrameComponent` - corrected AJV validation to run against `jsonSchema` instead of the outer operator schema wrapper - Updated affected specs to pass under Angular 21 - simplified brittle template-heavy tests with targeted overrides / schemas - fixed several outdated spies and missing imports in frontend unit tests - Fixed workspace loading behavior after the upgrade - parallelized operator-metadata and workflow fetches for workflow loads - explicitly refreshed change detection when workflow loading completes so the loading spinner does not linger after the workflow is already visible ### Any related issues, documentation, discussions? Closes apache#4433 ### How was this PR tested? - `yarn --cwd frontend format:ci` - `yarn --cwd frontend run test:ci` - `yarn --cwd frontend run build:ci` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex --------- Signed-off-by: Xinyuan Lin <[email protected]> Co-authored-by: Chen Li <[email protected]> Co-authored-by: Xiaozhen Liu <[email protected]>
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.
What changes were proposed in this PR?
Upgrade the frontend from Angular 20 to Angular 21 and make the compatibility fixes needed for the current Texera workspace, dashboard, and test setup.
@angular/*@angular/cli@angular-devkit/*@angular/cdk@angular-eslint/*@angular-builders/custom-webpack@nx/angularnxng-zorro-antdngx-markdownmarkedNzTooltipModuleNzNoAnimationModuleimport pathnz-tabsetusages tonz-tabsngAfterViewChecked()detectChanges()loop inOperatorPropertyEditFrameComponentjsonSchemainstead of the outer operator schema wrapperAny related issues, documentation, discussions?
Closes #4433
How was this PR tested?
yarn --cwd frontend format:ciyarn --cwd frontend run test:ciyarn --cwd frontend run build:ciWas this PR authored or co-authored using generative AI tooling?
Generated-by: Codex