Skip to content

feat!: v22 major update - #849

Open
fateeand wants to merge 16 commits into
masterfrom
next-major
Open

feat!: v22 major update#849
fateeand wants to merge 16 commits into
masterfrom
next-major

Conversation

@fateeand

Copy link
Copy Markdown
Collaborator

Copilot AI lite review requested due to automatic review settings August 21, 2026 12:14
@fateeand fateeand linked an issue Aug 21, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Coverage report for library

St.
Category Percentage Covered / Total
🟢 Statements 98.84% 7582/7671
🟢 Branches 93.87% 3902/4157
🟢 Functions 97.49% 1396/1432
🟢 Lines 99.34% 7034/7081

Test suite run success

3233 tests passing in 76 suites.

Report generated by 🧪jest coverage report action from 26ee51b

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR performs a major modernization of cps-shared-ui for Angular 22, including multiple breaking changes and a key architectural shift to vendoring PrimeNG/primeuix source instead of consuming them as npm dependencies.

Changes:

  • Upgrades Angular-related codepaths for Angular 22, including widespread ChangeDetectionStrategy.Eager opt-in and template updates (e.g. ngModelOptions: { standalone: true }).
  • Vendors PrimeNG / primeuix source into projects/cps-ui-kit/src/lib/{primeng-temp,primeuix-temp} and rewrites internal imports away from primeng/*.
  • Updates repo hygiene/docs and tooling (NOTICE, README, lint/format ignore lists, CI PR-title workflow, TS/Angular compiler options).

Reviewed changes

Copilot reviewed 297 out of 692 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsconfig.json Removes baseUrl while retaining the cps-ui-kit path mapping; keeps TS settings aligned with the upgrade.
README.md Adds documentation pointing to third-party notices for vendored code.
NOTICE Adds top-level notice describing vendored PrimeNG/primeuix provenance and where to find full attribution.
.github/workflows/check_pr_title_cc.yml Allows conventional-commit PR title checks on next-major in addition to master.
.eslintrc.js Enables @typescript-eslint/no-unused-expressions with allowances for common expression patterns.
.eslintignore Excludes vendored primeng-temp / primeuix-temp trees from linting.
.prettierignore Excludes vendored primeng-temp / primeuix-temp trees from formatting.
projects/cps-ui-kit/package.json Removes PrimeNG/primeuix npm dependencies as part of the vendoring migration.
projects/cps-ui-kit/tsconfig.lib.json Suppresses specific Angular extended diagnostics checks.
projects/cps-ui-kit/tsconfig.lib.prod.json Suppresses specific Angular extended diagnostics checks for prod builds.
projects/composition/tsconfig.app.json Suppresses specific Angular extended diagnostics checks for the composition app.
projects/cps-ui-kit/styles/styles.scss Removes PrimeIcons CSS import and the global box-sizing override.
projects/cps-ui-kit/src/lib/services/cps-notification/internal/components/cps-toast/cps-toast.component.html Uses a precomputed icon binding instead of string concatenation in the template.
projects/cps-ui-kit/src/lib/services/cps-notification/internal/components/cps-toast/cps-toast.component.ts Adds ChangeDetectionStrategy.Eager and computes/stores icon by notification type.
projects/cps-ui-kit/src/lib/services/cps-notification/internal/components/cps-notification-container/cps-notification-container.component.spec.ts Repoints PrimeNG imports to the vendored primeng-temp API.
projects/cps-ui-kit/src/lib/services/cps-dialog/utils/cps-dialog-ref/cps-dialog-ref.ts Switches CpsDialogComponent import to type-only.
projects/cps-ui-kit/src/lib/services/cps-dialog/internal/components/cps-dialog/cps-dialog.component.scss Adds local box-sizing: border-box to compensate for removed global sizing rule.
projects/cps-ui-kit/src/lib/components/** Broad Angular 22 compatibility updates: ChangeDetectionStrategy.Eager, local box-sizing, and ngModelOptions standalone where needed.
projects/composition/src/app/** Broad Angular 22 compatibility updates across pages/viewers: ChangeDetectionStrategy.Eager and minor doc-site/layout tweaks.
playwright/cps-ui-kit/components/cps-loader.spec.ts Updates expected CSS variable for loader label color.
projects/cps-ui-kit/src/lib/{primeng-temp,primeuix-temp}/** Adds large vendored third-party source trees with provenance headers and local import rewrites.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread projects/cps-ui-kit/styles/styles.scss
@github-actions

Copy link
Copy Markdown
Contributor

Playwright test results

passed  974 passed

Details

stats  974 tests across 35 suites
duration  32 minutes, 21 seconds
commit  26ee51b
info  For details, download the Playwright report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Major version update to 22

3 participants