Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 15 upgrade #1655

Merged
merged 49 commits into from
Nov 28, 2023
Merged

Angular 15 upgrade #1655

merged 49 commits into from
Nov 28, 2023

Conversation

mollykreis
Copy link
Contributor

@mollykreis mollykreis commented Nov 7, 2023

Pull Request

🀨 Rationale

Update to Angular 15.2 for nimble-angular.

Resolves #1079
Resolves #1017
Resolves #1570
Resolves #732
Resolves #1665

πŸ‘©β€πŸ’» Implementation

  • Update Angular version to 15.2 using Angular's upgrade utility
  • Create forks of some of Angular's CVAs and Angular's RouterLink directive under angular-workspace\projects\ni\nimble-angular\src\thirdparty\directives\ with modifications to get them to work as expected as base classes for nimble directives
  • Add explicit dependency on source-map-loader to nimble-components to ensure the tests continue to run as they previously did

πŸ§ͺ Testing

  • Ran the Angular app and verified it worked as expected
  • Existing unit tests pass
  • Copied & adapted Angular tests for CVAs and RouterLink directive into angular-workspace\projects\ni\nimble-angular\src\thirdparty\directives\tests\
  • Added new unit tests for each nimble CVA that verifies that ngModelChange is only called once when a control's value changes
  • Added new unit tests for each routerLink directive that verifies that the href was sanitized
  • Used the built package to verify it works correctly in SystemLinkShared

βœ… Checklist

  • I have updated the project documentation to reflect my changes or determined no changes are needed.

@mollykreis
Copy link
Contributor Author

@m-akinc, can you buddy these changes for me?

@mollykreis mollykreis enabled auto-merge (squash) November 28, 2023 17:55
@mollykreis mollykreis merged commit bf12590 into main Nov 28, 2023
12 checks passed
@mollykreis mollykreis deleted the angular-15-upgrade branch November 28, 2023 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants