[
https://issues.apache.org/jira/browse/NIFI-14191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17942187#comment-17942187
]
Homer Rich edited comment on NIFI-14191 at 4/9/25 12:42 PM:
------------------------------------------------------------
[~exceptionfactory]
I worked on this ticket to the best of my ability. I am not particularly UI
oriented and thought this would be an easy change after digging through the
code, but it ended up misbehaving when I was testing.
I thought simply changing the LeaveProcessGroup URL from
`nifi/parentPG` to `nifi/parentPG/ProcessGroup/previousPG`
while updating the routing method to use the
FlowActions.navigateWithoutTransform would be sufficient.
While testing this I had some log messages in the `canvas.component.ts` file
under the "handle single component selection" and this handler was always
called twice. Once with `skipTransform` set to true, and then again where it
was set to false resulting in it being centered.
This double call was not noticed when I put logging statements in the "handle
bulk component selection" handler.
I ended up overriding the dispatch in `canvas.component.ts`, but this
ultimately did not feel like the correct implementation.
Anyone with some UI insight would be appreciated on the linked PR
was (Author: JIRAUSER307736):
[~exceptionfactory]
I worked on this ticket to the best of my ability. I am not particularly UI
oriented and thought this would be an easy change after digging through the
code, but it ended up misbehaving when I was testing.
I thought simply changing the LeaveProcessGroup URL from
`nifi/parentPG` to `nifi/parentPG/ProcessGroup/previousPG`
while updating the routing method to use the
FlowActions.navigateWithoutTransform would be sufficient.
While testing this I had some log messages in the `canvas.component.ts` file
under the "handle single component selection" and this handler was always
called twice. Once with `skipTransform` set to false, and then again where it
was set to true resulting in it being centered.
This double call was not noticed when I put logging statements in the "handle
bulk component selection" handler.
I ended up overriding the dispatch in `canvas.component.ts`, but this
ultimately did not feel like the correct implementation.
Anyone with some UI insight would be appreciated on the linked PR
> Add the Reference Process Group to the URL when navigating to the Parent
> ------------------------------------------------------------------------
>
> Key: NIFI-14191
> URL: https://issues.apache.org/jira/browse/NIFI-14191
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core UI
> Affects Versions: 1.28.1, 2.2.0
> Reporter: Homer Rich
> Assignee: Homer Rich
> Priority: Minor
> Labels: process-group, ui
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When navigating to the parent process group, graph navigates to the most
> recent view you were using of the parent process group. Sometimes this most
> recent view doesn't display the reference process group that you navigated
> from.
> An easy change would be to edit the URL when clicking the Parent Process
> Group button from this:
> [https://nifihost/nifi/process-groups/[parent-group-UUID]]
> to this:
> [https://nifihost/nifi/process-groups/[parent-group-UUID]]/ProcessGroup/[reference-group-UUID]
> Then the user can just click the Zoom Actual icon in the Navigate panel to be
> taken directly to the reference group.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)