scottyaslan commented on code in PR #8859:
URL: https://github.com/apache/nifi/pull/8859#discussion_r1612046025


##########
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/state/flow/flow.effects.ts:
##########
@@ -1392,14 +1478,7 @@ export class FlowEffects {
                         .subscribe((updateProcessorRequest: 
UpdateProcessorRequest) => {
                             this.store.dispatch(
                                 FlowActions.updateProcessor({
-                                    request: {
-                                        id: processorId,
-                                        uri: request.uri,
-                                        type: request.type,
-                                        payload: 
updateProcessorRequest.payload,
-                                        errorStrategy: 'banner',
-                                        postUpdateNavigation: 
updateProcessorRequest.postUpdateNavigation
-                                    }
+                                    request: updateProcessorRequest
                                 })
                             );
                         });

Review Comment:
   Something strange is happening to the browser history when the browser 
forward/back navigation is used to close a dialog:
   
   ![Kapture 2024-05-23 at 13 05 
09](https://github.com/apache/nifi/assets/6797571/1e9aa4a9-df68-4a6e-a417-f2e9259423ff)
   
   Here is another example:
   
   ![Kapture 2024-05-23 at 13 07 
07](https://github.com/apache/nifi/assets/6797571/0b4aa932-3c8c-403e-9b86-868274d61c7a)
   
   This behavior is present on master so it is not related to this PR. We 
should file another jira to address this. We need to add handling for the 
browser forward/backward close dialog navigation as well as handling the 'Esc' 
button to close the dialog.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to