The GitHub Actions job "Required Checks" on 
texera.git/refactor/standalone-components has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
be8f1bc5b3d7f57bc67a7f39312bae72f4e1e707 / github-actions[bot] 
<github-actions[bot]@users.noreply.github.com>
fix(frontend): replace v21-removed nz-button-group / nzBorderless usages

ng-zorro-antd v21 removed `<nz-button-group>` (replaced by
`<nz-space-compact>`) and the `nzBorderless` input on `<nz-select>`
(replaced by `nzVariant="borderless"`). texera bumped to v21 but the
templates still reference the old names. The legacy
custom-webpack:browser builder silently ignored unknown elements /
inputs, so the breakage was visible only as a layout glitch — for
example, the admin user table's role pill rendered floating outside
its bordered `<nz-select>` cell because the borderless mode never
took effect.

The previous commit added `schemas: [CUSTOM_ELEMENTS_SCHEMA]` to the
five affected components to keep the standalone-migration commit
scoped tight; this commit replaces that workaround with the proper
v21 names:

- 5 `<nz-button-group>` → `<nz-space-compact>` (in: menu × 3,
  filters × 1, user-workflow × 1)
- 3 `nzBorderless` / `[nzBorderless]="true"` → `nzVariant="borderless"`
  (in: admin-user, user-dataset, user-workflow)

For each component whose template now uses `<nz-space-compact>`, add
`NzSpaceCompactComponent` from `ng-zorro-antd/space` to its `imports`
list. Drop `CUSTOM_ELEMENTS_SCHEMA` from all five components — the
templates are now valid v21 and don't need the schema escape hatch.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/25291929998

With regards,
GitHub Actions via GitBox

Reply via email to