Pierre Villard created NIFI-15381:
-------------------------------------
Summary: Bundle Changes in Show/Revert Local Changes
Key: NIFI-15381
URL: https://issues.apache.org/jira/browse/NIFI-15381
Project: Apache NiFi
Issue Type: Improvement
Reporter: Pierre Villard
Assignee: Pierre Villard
As part of the change in NIFI-14442, when listing local changes we are also
listing the fact that bundle versions may have changed as part of an upgrade
and that it'll be part of the commit.
However we are also going to show those changes when clicking "revert local
changes" in the UI but those changes should not be listed since we are NOT
going to revert this as part of the action.
However it can get tricky... those changes can be environmental because we
upgraded the NiFi version and the component NAR went from X to Y automatically
as part of the upgrade. But we could also have a bundle version change as the
result of a manual action from the user when you have multiple versions of the
same NAR in NiFi. In this case changing the version is not an environmental
change and the user could indeed revert that version change.
So we need to improve the logic around all of this to have the proper UX and
show only the list of things that would effectively be reverted if reverting
local changes. And when listing local changes, we should add a checkbox to
hide/display changes that are environmental but not the result of a user action.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)