Skip to content

chore(deps): upgrade frontend to Angular 18#4434

Merged
aglinxinyuan merged 2 commits into
mainfrom
xinyuan-angular-18
Apr 22, 2026
Merged

chore(deps): upgrade frontend to Angular 18#4434
aglinxinyuan merged 2 commits into
mainfrom
xinyuan-angular-18

Conversation

@aglinxinyuan
Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

  • Upgraded Angular framework packages to 18.2.x.
  • Upgraded Angular CLI/build tooling to 18.2.21.
  • Upgraded compatible frontend packages:
    • @angular/cdk to 18.2.14
    • ng-zorro-antd to 18.2.1
    • ngx-markdown to 18.1.0
    • typescript to 5.5.4
  • Added required @typescript-eslint peer dependencies for Angular ESLint 18.
  • Updated nzExpandIconPosition="right" to nzExpandIconPosition="end" for ng-zorro 18 compatibility.
  • Replaced removed Angular testing helper async with waitForAsync.

Any related issues, documentation, discussions?

Closes #4405

How was this PR tested?

  • yarn.cmd install
  • yarn.cmd build
  • yarn.cmd test --watch=false

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Codex

@aglinxinyuan aglinxinyuan self-assigned this Apr 21, 2026
Copilot AI review requested due to automatic review settings April 21, 2026 07:24
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI labels Apr 21, 2026
Copy link
Copy Markdown
Contributor

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

Upgrades the frontend to Angular 18 to address #4405, updating framework/tooling dependencies and making small compatibility fixes in templates and unit tests.

Changes:

  • Bump Angular framework packages to 18.2.x and Angular CLI/build tooling to 18.2.21 (plus related ecosystem upgrades like TypeScript and ng-zorro).
  • Update ng-zorro collapse icon position API usage (rightend) for ng-zorro 18 compatibility.
  • Replace deprecated/removed Angular testing helper async with waitForAsync in a unit test.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
frontend/src/app/workspace/component/result-panel/result-panel.component.spec.ts Updates Angular testing helper to waitForAsync for Angular 18 compatibility.
frontend/src/app/workspace/component/left-panel/operator-menu/operator-menu.component.html Updates nzExpandIconPosition value to match ng-zorro 18 API.
frontend/package.json Upgrades Angular + related frontend dependencies/tooling (CLI/devkit/eslint/typescript/ng-zorro/ngx-markdown).

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

Copy link
Copy Markdown
Contributor

@mengw15 mengw15 left a comment

Choose a reason for hiding this comment

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

LGTM!

Tested with yarn install, yarn build, and yarn test.
I also checked the frontend and did not notice any obvious issues.

@aglinxinyuan aglinxinyuan merged commit 318812c into main Apr 22, 2026
11 checks passed
@aglinxinyuan aglinxinyuan deleted the xinyuan-angular-18 branch April 22, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Angular 18

3 participants