This is an automated email from the ASF dual-hosted git repository.
Yicong-Huang pushed a commit to branch release/v1.2
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/release/v1.2 by this push:
new c39e99b628 chore: upgrade ng-zorro-antd to 21.3.1 (#5895)
c39e99b628 is described below
commit c39e99b6289ce4c3723b7048d6b431e767a01476
Author: Prateek Ganigi <[email protected]>
AuthorDate: Tue Jun 23 05:36:59 2026 +0000
chore: upgrade ng-zorro-antd to 21.3.1 (#5895)
### What changes were proposed in this PR?
Upgrades the ng-zorro-antd dependency in the frontend from 21.2.2 to
21.3.1 (frontend/package.json + frontend/yarn.lock).
Motivation: 21.2.2 has a bug in nz-input-number where the mouse-wheel
handler (onWheel) guards on the raw nzDisabled() input instead of the
computed finalDisabled() state. When a form control is disabled via the
form group, as the operator property panel does while a workflow is
running, the field greys out and blocks typing, but scrolling the mouse
wheel over it still changes the value, bypassing the disabled state.
This was fixed upstream in
[NG-ZORRO/ng-zorro-antd#9785](https://github.com/NG-ZORRO/ng-zorro-antd/pull/9785),
which guards on finalDisabled() || nzReadOnly(). The fix first shipped
in 21.3.0; 21.3.1 is the latest stable. This is a minor-version bump
within the same major (21.x) with no breaking changes in the
[21.3.0/21.3.1
changelogs](https://github.com/NG-ZORRO/ng-zorro-antd/releases).
The greyed out number input fields are now not affected by the
mouse-wheel scroll during a workflow's execution as shown in the below
video:
https://github.com/user-attachments/assets/15bb5c1d-8ae2-4fc6-b5c9-934f58509fa9
### Any related issues, documentation, discussions?
Closes #5879.
Closes #5848.
Related bug: #5848.
Upstream fix: NG-ZORRO/ng-zorro-antd#9785.
### How was this PR tested?
Tested with existing test cases. Additionally verified manually:
- yarn install succeeds; confirmed the installed nz-input-number onWheel
handler now guards on finalDisabled() || nzReadOnly().
- Ran the app, started a workflow, and confirmed that greyed-out number
fields in the operator property panel (e.g. Python UDF "Worker count")
no longer change value on mouse-wheel scroll during execution.
No new automated tests were added, as this is a dependency version bump
with no source-code changes; the fix lives in the upstream library.
### Was this PR authored or co-authored using generative AI tooling?
This PR was co-authored by Claude Opus 4.7, in compliance with ASF.
(backported from commit 5a3ddcc111f115bfbf9936bdd08f48db5ff7cabd)
---
frontend/LICENSE-binary | 2 +-
frontend/package.json | 2 +-
frontend/yarn.lock | 10 +++++-----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/frontend/LICENSE-binary b/frontend/LICENSE-binary
index 247965d3d3..27ec9a61df 100644
--- a/frontend/LICENSE-binary
+++ b/frontend/LICENSE-binary
@@ -295,7 +295,7 @@ Angular / npm packages:
- [email protected]
- [email protected]
- [email protected]
- - [email protected]
+ - [email protected]
- [email protected]
- [email protected]
- [email protected]
diff --git a/frontend/package.json b/frontend/package.json
index c55623ba1c..0cec78627c 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -57,7 +57,7 @@
"monaco-editor": "npm:@codingame/[email protected]",
"monaco-editor-wrapper": "5.5.3",
"monaco-languageclient": "8.8.3",
- "ng-zorro-antd": "21.2.2",
+ "ng-zorro-antd": "21.3.1",
"ngx-color-picker": "12.0.1",
"ngx-file-drop": "16.0.0",
"ngx-json-viewer": "3.2.1",
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 76d8e6d40a..2b66032fef 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -10715,7 +10715,7 @@ __metadata:
monaco-editor: "npm:@codingame/[email protected]"
monaco-editor-wrapper: "npm:5.5.3"
monaco-languageclient: "npm:8.8.3"
- ng-zorro-antd: "npm:21.2.2"
+ ng-zorro-antd: "npm:21.3.1"
ngx-color-picker: "npm:12.0.1"
ngx-file-drop: "npm:16.0.0"
ngx-json-viewer: "npm:3.2.1"
@@ -13180,9 +13180,9 @@ __metadata:
languageName: node
linkType: hard
-"ng-zorro-antd@npm:21.2.2":
- version: 21.2.2
- resolution: "ng-zorro-antd@npm:21.2.2"
+"ng-zorro-antd@npm:21.3.1":
+ version: 21.3.1
+ resolution: "ng-zorro-antd@npm:21.3.1"
dependencies:
"@angular/cdk": "npm:^21.0.0"
"@ant-design/icons-angular": "npm:^21.0.0"
@@ -13195,7 +13195,7 @@ __metadata:
"@angular/forms": ^21.0.0
"@angular/platform-browser": ^21.0.0
"@angular/router": ^21.0.0
- checksum:
10c0/bbc68d56cde3b3ae65b4d32e70daff71e6318343d88f1f8cdb0aeaa557014e050cbd5c27a79b4998f3b38fb640293ce317f8b7ad7112f351613176534cb36437
+ checksum:
10c0/ecb07144ffacd7c42bf5a2bbc0e1cbabccf0d4dc371082e3629e738d8907a858163a72193fce428554e37e0ea41f7c440b64bba2101deed84968c4d7d857c428
languageName: node
linkType: hard