Skip to content

NIFI-13125 - Flow Version Diff View - #10473

Closed
pvillard31 wants to merge 3 commits into
apache:mainfrom
pvillard31:NIFI-13125
Closed

NIFI-13125 - Flow Version Diff View#10473
pvillard31 wants to merge 3 commits into
apache:mainfrom
pvillard31:NIFI-13125

Conversation

@pvillard31

Copy link
Copy Markdown
Contributor

Summary

NIFI-13125 - Flow Version Diff View

I used #9109 as a starting point and coded something similar for NiFi 2.x. Definitely not a UI expert so my approach may not be the best one. Happy to collaborate with someone more experienced on the UI side.

This feature is particularly useful when a user sees that a versioned process group can be updated to a new version and the user would like to see what are the differences with the current version before upgrading the process group.

Access to the view is made available when listing versions for a versioned process group:

Screenshot 2025-10-28 at 23 10 04

Clicking on the diff icon for the desired version will show the diff between the current version and the selected version

Screenshot 2025-10-28 at 23 11 14

Versions can be selected via the dropdown lists:

Screenshot 2025-10-28 at 23 18 38

Filtering is also possible to filter the content of the table, and the columns can also be sorted alphabetically.

The current feature does not allow comparison across branches but that could be considered as a follow-up improvement if the community sees value into it (I'm not sure I picture a use case where it would be very useful).

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

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • Build completed using ./mvnw clean install -P contrib-check
    • JDK 21
    • JDK 25

Licensing

  • New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • Documentation formatting appears as expected in rendered files

@pvillard31 pvillard31 added the ui Pull requests for work relating to the user interface label Oct 28, 2025

@scottyaslan scottyaslan 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.

Thanks for this contribution. I have left some comments. I am happy to review and help iterate here and continue to improve the UX for this feature.

@pvillard31

Copy link
Copy Markdown
Contributor Author

Thanks for all the feedback @scottyaslan - highly appreciated! I have (hopefully) made the changes you had in mind. The only thing that is not ok is the timestamp in the dropdown lists when selecting versions. Will figure it out tomorrow. It looks so much better now, thanks for all of the review comments!

Screenshot 2025-10-30 at 22 56 03 Screenshot 2025-10-30 at 22 56 33 Screenshot 2025-10-30 at 22 57 05

@pvillard31

Copy link
Copy Markdown
Contributor Author

Addressed the timestamp issue.

Screenshot 2025-10-31 at 12 20 18

@fingoltin

Copy link
Copy Markdown

Would love to see this feature!

@github-actions

Copy link
Copy Markdown

Automated review is marking this PR as stale due to lack of updates in the past four months. This PR will be closed in 15 days if the stale label is not removed. This stale label and automated closure does not indicate a judgement of the PR, just lack of reviewer bandwidth and helps us keep the PR queue more manageable. If you would like this PR re-opened you can do so and a committer can remove the stale label. Or you can open a new PR. Try to help review other PRs to increase PR review bandwidth which in turn helps yours.

@pvillard31

Copy link
Copy Markdown
Contributor Author

Closing. See #11474.

@pvillard31 pvillard31 closed this Jul 24, 2026
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.

3 participants