Skip to content

[NIFI-14185] - upgrade angular 19, nx 20#9669

Merged
scottyaslan merged 7 commits intoapache:mainfrom
rfellows:NIFI-14185-upgradeAngular19
Jan 31, 2025
Merged

[NIFI-14185] - upgrade angular 19, nx 20#9669
scottyaslan merged 7 commits intoapache:mainfrom
rfellows:NIFI-14185-upgradeAngular19

Conversation

@rfellows
Copy link
Copy Markdown
Contributor

Summary

NIFI-14185
Migrated to Nx latest (20). This also upgraded to Angular 19. This PR is everything required for those changes to be complete.

In angular 19, the default component type is standalone. So if you do not declare it standalone: false, it will be true. This change had ramifications including needing to upgrade some 3rd party components to make them compatible as well as relaxing an eslint rule from error to warn when declaring a component as standalone: false.

There were a couple of new compiler errors that showed up as a result of the upgrade too. These were solved in this PR as well.

One particular change to mention, the mat-expand-panel had some behavior changes that made scrolling the contents of the documentation panel on load not work properly. You will see in this PR that we now initialize state of the desired expanded panel based on the current route and control its expanded state through properties on the class rather than assume the openAll method on the accordion will complete in time before the attempt to scroll happens.

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

@rfellows rfellows added the ui Pull requests for work relating to the user interface label Jan 27, 2025
Copy link
Copy Markdown
Contributor

@scottyaslan scottyaslan left a comment

Choose a reason for hiding this comment

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

LGTM! Will merge once CI completes.

@scottyaslan scottyaslan merged commit 31ca24e into apache:main Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui Pull requests for work relating to the user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants