Yicong-Huang opened a new pull request, #4873:
URL: https://github.com/apache/texera/pull/4873
### What changes were proposed in this PR?
Run Angular's official `ng generate @angular/core:standalone
--mode=convert-to-standalone --defaults` across the frontend. Flips every
`@Component({ standalone: false })` to `standalone: true`, auto-derives
per-component `imports: [...]` from each template's directive usage, and
updates `AppModule.declarations` accordingly.
Plus one manual fixup: 5 components (admin-user, filters, user-dataset,
user-workflow, menu) reference `<nz-button-group>` / `[nzBorderless]` which
ng-zorro-antd v21 has removed. The legacy builder didn't catch these latent
dead-code refs; the new strict builder does. Add `schemas:
[CUSTOM_ELEMENTS_SCHEMA]` to keep this PR focused — replacing with
`<nz-space-compact>` belongs in its own follow-up.
### Any related issues, documentation, discussions?
Closes #4864.
After this and #4862 land, the 43 component specs + 13 service specs
currently excluded for the NgModule-scope template-check failure can come off
the exclusion list in a follow-up.
### How was this PR tested?
`yarn run build` exits 0 with a clean prod bundle.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 4.7 (1M context)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]